print instruction to exec.log
kingstone1927 opened this issue · 2 comments
kingstone1927 commented
Is there a way for me to print RISC-V instructions along with clock cycle into exec.log?
Thanks in advance.
agrobman commented
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
kingstone1927 commented
@agrobman Thank you!
I assume that exec.log from EL2 will contain the mnemonics after running the simulation, does it?