chipsalliance/Cores-VeeR-EH1

print instruction to exec.log

kingstone1927 opened this issue · 2 comments

Is there a way for me to print RISC-V instructions along with clock cycle into exec.log?

Thanks in advance.

it does - first number in the exec.log is the clock cycle, then executed instruction number and hart ID (0), then instruction address and then opcode. Using .dis you can find mnemonics

You can also try incorporate dasm.svi from EL2 DB to print mnemonics in exec.log

@agrobman Thank you!
I assume that exec.log from EL2 will contain the mnemonics after running the simulation, does it?