Output the instruction trace to the logs directory.

This commit is contained in:
Rose Thompson 2023-11-21 13:47:58 -06:00
parent d57ec045de
commit c77a47b403

View File

@ -502,7 +502,7 @@ module wallyTracer import cvw::*; #(parameter cvw_t P) (rvviTrace rvvi);
if(`STD_LOG) begin if(`STD_LOG) begin
instrNameDecTB NameDecoder(rvvi.insn[0][0], instrWName); instrNameDecTB NameDecoder(rvvi.insn[0][0], instrWName);
initial begin initial begin
LogFile = "InstrTrace.log"; LogFile = "logs/InstrTrace.log";
file = $fopen(LogFile, "w"); file = $fopen(LogFile, "w");
end end
end end