URL
https://opencores.org/ocsvn/s1_core/s1_core/trunk
Subversion Repositories s1_core
[/] [s1_core/] [trunk/] [docs/] [SIMULATION.txt] - Rev 111
Go to most recent revision | Compare with Previous | Blame | View Log
Simply RISC S1 Core - Simulation Environment============================================To run a simulation using the free software Icarus Verilogsimulator use the following commands:s1_sim_build icaruscompile_test hellos1_sim_run icarusIf you want to use a commercial tool such as Synopsys VCS thenset up your PATH enviroment variable so that you are able tofind the "vcs" executable, and then type in the followingcommands:s1_sim_build vcscompile_test hellos1_simrun vcsWithin this design the only visible difference between Icarusand VCS is the speed: the commercial tool could be hundreds oftimes faster than its FLOSS counterpart; but with Icarus ifyou have time to wait for some minutes you will obtain exactlythe same results just using free software.At the end of the simulation you can look at the logfile andat the waveforms placed at the following paths:run/sim/icarus/sim.logrun/sim/icarus/trace.vcdrun/sim/vcs/sim.logrun/sim/vcs/trace.vcdObviously if you do not have access to a commercial tool youcan use GTKWave to look at the waveforms: for instance fromthe top-level directory just type in the following command:gtkwave run/sim/icarus/trace.vcd &and then from "File|Read Save File" choose the file named"tools/src/gtkwave.sav".
Go to most recent revision | Compare with Previous | Blame | View Log
