To create the object file
corev-openhw-gcc-centos7-20230223/bin/riscv32-corev-elf-as
-march rv32im_zca_zcb_zcmp_zcmt_zba_zbb_zbc_zbs -o add.o
add.S
To create the elf file from the object file
/work/rakumar/corev-openhw-gcc-centos7-20230223/bin/riscv32-corev-elf-ld -o add.elf add .o
To run the ISS with gdb
/tool/imperas_dev/20220901/bin/Linux64/iss.exe -processorfile /tool/imperas_dev/20220901/lib/Linux64/ImperasLib/openhwgroup.ovpworld.org/processor/riscv/1.0/model.so -variant CV32E40X --verbose --trace -program add.elf -gdbconsole -gdbpath /tool/gcc/riscv32-embecosm-gcc-centos7-20211031/bin/riscv32-unknown-elf-gdb
Simulated time i got it but i want to know how much each instructions take.
Is there some way to find the no of cycles and how much each instruction takes
in Imperass simulator
Thanks
rajeev
Hi Rajeev,
If you are interested in CA models I would suggest joining the Performance Modelling SIG (https://lists.riscv.org/g/sig-perf-modeling).
You can find its charter here:
https://github.com/riscv-admin/perf-modeling/blob/main/CHARTER.md
Regards,
Mark
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/isa-dev/5cbfec45-e2b8-4108-9fc7-735129f9aa28n%40groups.riscv.org.