From 0f8fe8fb3b8cba3842180b61fb1fcae4c257fdfd Mon Sep 17 00:00:00 2001 From: Jarred Allen Date: Tue, 23 Mar 2021 00:10:35 -0400 Subject: [PATCH] Document some internal signals --- wally-pipelined/src/ifu/icache.sv | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wally-pipelined/src/ifu/icache.sv b/wally-pipelined/src/ifu/icache.sv index 98a58f7d..2eab6ed8 100644 --- a/wally-pipelined/src/ifu/icache.sv +++ b/wally-pipelined/src/ifu/icache.sv @@ -52,10 +52,13 @@ module icache( logic [1:0] InstrDMuxChoice; logic [15:0] MisalignedHalfInstrF, MisalignedHalfInstrD; logic [31:0] InstrF, AlignedInstrD; - logic [31:0] nop = 32'h00000013; // instruction for NOP + // Buffer the last read, for ease of accessing it again logic LastReadDataValidF; logic [`XLEN-1:0] LastReadDataF, LastReadAdrF, InDataF; + // instruction for NOP + logic [31:0] nop = 32'h00000013; + // Temporary change to bridge the new interface to old behaviors logic [`XLEN-1:0] PCPF; assign PCPF = {UpperPCPF, LowerPCF};