mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 04:47:25 -04:00
Fix last commit, small cleanup
This commit is contained in:
parent
84bec09a64
commit
9efada0ffa
2 changed files with 5 additions and 6 deletions
|
@ -279,10 +279,10 @@ module id_stage
|
|||
|
||||
// compressed instruction decoding
|
||||
compressed_decoder compressed_decoder_i (
|
||||
.instr_i ( instr_rdata_i ),
|
||||
.instr_o ( instr ),
|
||||
.instr_i ( instr_rdata_i ),
|
||||
.instr_o ( instr ),
|
||||
.is_compressed_o ( compressed_instr_o ),
|
||||
.illegal_instr_o ( illelgal_c_insn )
|
||||
.illegal_instr_o ( illegal_c_insn )
|
||||
);
|
||||
|
||||
|
||||
|
|
|
@ -776,8 +776,7 @@ module riscv_core
|
|||
$sformat(fn, "trace_core_%h.log", core_id_i);
|
||||
$display("[TRACER] Output filename is: %s", fn);
|
||||
f = $fopen(fn, "w");
|
||||
$fwrite(f, "%19s\t%6s\t%10s\t%10s\t \t%s\n", "Time", "Cycles", "PC", "Instr", "Mnemonic");
|
||||
//$fwrite(f, "Time\tCycles\tPC\tInstruction\n");
|
||||
$fwrite(f, "%20s\t%6s\t%10s\t%10s\t \t%s\n", "Time", "Cycles", "PC", "Instr", "Mnemonic");
|
||||
end
|
||||
|
||||
final
|
||||
|
@ -807,7 +806,7 @@ module riscv_core
|
|||
|
||||
$fwrite(f, "%t\t%6d\t0x%h\t", $time, cycles, pc);
|
||||
if (compressed)
|
||||
$fwrite(f, "0x %4h\tC\t", id_stage_i.instr_rdata_i[15:0]);
|
||||
$fwrite(f, " 0x%4h\tC\t", id_stage_i.instr_rdata_i[15:0]);
|
||||
else
|
||||
$fwrite(f, "0x%h\tI\t", instr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue