how to run verilog files in linux 1

how to run verilog files in linux

# to get waveform (dunmped as "wave.vcd")
gtkwave wave.vcd

Here is what the above code is Doing:
1. Create a new circuit called “my_first_circuit”
2. Add a clock called “clk” with a period of 10ns
3. Add a register called “reg”
4. Connect the clock to the register
5. Add a probe called “probe_reg” to the register
6. Run a simulation for 100ns
7. Dump the waveform to a file called “wave.vcd”
8. Open the waveform in gtkwave

Similar Posts