riscv-dv icon indicating copy to clipboard operation
riscv-dv copied to clipboard

use ovpsim .Why is there no verbose log instruction

Open moyouth opened this issue 1 year ago • 5 comments

微信图片_20231007162940 微信图片_20231007162947 微信图片_20231007162951

moyouth avatar Oct 07 '23 08:10 moyouth

try running with the flags --help or --helpall there are a number of trace options, for example, I would recommend first selecting

--trace --tracechange

but there are many other trace options

eroom1966 avatar Oct 09 '23 10:10 eroom1966

微信图片_20231010104511 ovpsim dont support --trace --tracechange,i add 2 commands in the picture,still no verbose log instruction

moyouth avatar Oct 10 '23 02:10 moyouth

try running with the flags --help or --helpall there are a number of trace options, for example, I would recommend first selecting

--trace --tracechange

but there are many other trace options 微信图片_20231010110822

moyouth avatar Oct 10 '23 03:10 moyouth

When you ask about verbose log instruction, what is it you are wanting to see?

There are two free products that include the OVP RISC-V reference models riscvOVPsim and riscvOVPsimPlus; both contain the same models but provide different features. You can obtain riscvOVPsimPlus from the OVP World website and you should be able to switch to using this in the riscv-dv infrastructure; this will provide instruction trace output; if that s what you are looking for?

duncangraham-Imperas avatar Oct 10 '23 08:10 duncangraham-Imperas

When you ask about verbose log instruction, what is it you are wanting to see?

There are two free products that include the OVP RISC-V reference models riscvOVPsim and riscvOVPsimPlus; both contain the same models but provide different features. You can obtain riscvOVPsimPlus from the OVP World website and you should be able to switch to using this in the riscv-dv infrastructure; this will provide instruction trace output; if that s what you are looking for? 微信图片_20231010170215

THANKS!!!! using --iss=spike,the log in the picture like this: In the log, the first column is the PC value, the second column is the instruction, the third column is the identifier for general registers or control registers, and the fourth column is the value of the register.

i wanna see verbose log instruction when i use --iss=ovpsim. i dont use riscvOVPsimplus

moyouth avatar Oct 10 '23 09:10 moyouth