dpaul
Advanced Member level 5
Hi all,
I have various test-cases to be run on RTL simulation. These test-cases are in the form of HEX files, e.g. nc_program.hex My top level test-bench loads data from this .hex file to the internal memory and then the simulation/execution proceeds.
Up to now I have been doing this manually, changing the nc_program.hex file every time, and then launching ./simv -gui (in this case I supply a "run XYms" command at the dve> prompt ) or just ./simv (in this I wait till the simu completes and then exit it by hitting Ctrl+Z).
Now I want to automate the process of testing and want to write shell script for it (a Makefile will also be ok). But the bigger questions for me is...
1> how can I determine when VCS has completed simulation successfully (when I don't have visual indication)?
2> how can I record the sim o/p (record o/p of the transcript window)?
3> if i want to run it for some XYms, how do I pass that option to simv, possible ? If it is not possible the I can just run ./simv, but then how to catch the event that simulation is over?
Please give me hints, indications for doing this automation.
I have not read the VCS manual, so if this info is there please inform me.
Thanks,
dpaul
I have various test-cases to be run on RTL simulation. These test-cases are in the form of HEX files, e.g. nc_program.hex My top level test-bench loads data from this .hex file to the internal memory and then the simulation/execution proceeds.
Up to now I have been doing this manually, changing the nc_program.hex file every time, and then launching ./simv -gui (in this case I supply a "run XYms" command at the dve> prompt ) or just ./simv (in this I wait till the simu completes and then exit it by hitting Ctrl+Z).
Now I want to automate the process of testing and want to write shell script for it (a Makefile will also be ok). But the bigger questions for me is...
1> how can I determine when VCS has completed simulation successfully (when I don't have visual indication)?
2> how can I record the sim o/p (record o/p of the transcript window)?
3> if i want to run it for some XYms, how do I pass that option to simv, possible ? If it is not possible the I can just run ./simv, but then how to catch the event that simulation is over?
Please give me hints, indications for doing this automation.
I have not read the VCS manual, so if this info is there please inform me.
Thanks,
dpaul