Tidy up tracing options, including using RVFI when building for bluesim

(which I'm sure we had meant to be doing?).
This commit is contained in:
Jonathan Woodruff
2023-06-23 13:09:38 +00:00
parent c1f631eed3
commit 3ebf537f71
5 changed files with 9 additions and 7 deletions

View File

@@ -40,6 +40,8 @@ BSC_C_FLAGS += \
-Xl -v \
-Xc -O1 -Xc++ -O1 \
BSC_COMPILATION_FLAGS += \
-D RVFI
# For Bluespec_2019.05.beta2-debian9stretch-amd64
# you may have to remove the line: -Xc++ -D_GLIBCXX_USE_CXX11_ABI=0

View File

@@ -85,7 +85,7 @@ module mkLLC_AXi4_Adapter #(MemFifoClient #(idT, childT) llc)
);
// Verbosity: 0: quiet; 1: LLC transactions; 2: loop detail
Integer verbosity = 2;
Integer verbosity = 0;
Reg #(Bit #(4)) cfg_verbosity <- mkConfigReg (fromInteger (verbosity));
// ================================================================

View File

@@ -145,7 +145,7 @@ module mkIBank#(
Add#(TAdd#(tagSz, indexSz), TAdd#(lgBankNum, LgLineSzBytes), AddrSz)
);
Bool verbose = True;
Bool verbose = False;
ICRqMshr#(cRqNum, wayT, tagT, procRqT, resultT) cRqMshr <- mkICRqMshrLocal;
@@ -770,7 +770,7 @@ module mkIBank#(
rsToPIndexQ.enq(PRq (n));
end
endrule
rule discardPrefetchRqResult(
cRqMshr.prefetcher.getResult(prefetchIndexQ.first) matches tagged Valid .inst);
prefetchIndexQ.deq;

View File

@@ -158,7 +158,7 @@ module mkL1Bank#(
Add#(TAdd#(tagSz, indexSz), TAdd#(lgBankNum, LgLineSzBytes), AddrSz)
);
Bool verbose = False;
Bool verbose = False;
L1CRqMshr#(cRqNum, wayT, tagT, procRqT) cRqMshr <- mkL1CRqMshrLocal;
@@ -372,7 +372,7 @@ endfunction
procRqT r = ProcRq {
id: ?, //Or maybe do 0 here
addr: addr,
toState: S,
toState: S,
op: Ld,
byteEn: ?,
data: ?,

View File

@@ -191,7 +191,7 @@ module mkLLBank#(
Add#(TLog#(TDiv#(childNum,2)), c__, TLog#(childNum))
);
Bool verbose = True;
Bool verbose = False;
LLCRqMshr#(cRqNum, wayT, tagT, Vector#(childNum, DirPend), cRqT) cRqMshr <- mkLLMshr;
@@ -431,7 +431,7 @@ endfunction
fromState: I,
toState: E,
canUpToE: True,
child: child,
child: child,
byteEn: ?,
id: Child (?)
};