Intro Module for getting a feel for verilog
- Verilog Tutorial
- SystemVerilog Tutorial
- SystemVerilog Assertions Tutorial
- SystemVerilog DPI Tutorial
- SystemVerilog for Design
- SystemVerilog for Verification
- Interfacing with C
- Writing Testbenches using SystemVerilog
- Get on the caddy systems -
ssh -Y <SUNetID>@caddy.stanford.edu, clone this repo:git clone https://github.com/mbstrange2/verilog_tutorial_edge_count.git, then activate tcsh :tcshand source the setup file in the reposource setup_ee271.cshrc- YOU NEED TO BE ON THE STANFORD NETWORK FOR THIS - EITHER ON CAMPUS OR THROUGH THE VPN - First off, the gold code is in
edge_cnt_gold.sv. I implore you to try figuring it out on your own and implementing your solution inedge_cnt.svbefore looking at mine. I've provided obvious places to insert code in this module with comments. - To run your module, you need to edit
edge_cnt_tb.svto instantiate your module instead of mine -> comment outedge_cnt_goldon line 12, and uncommentedge_cnton line 13 - You can uncomment the different
$display()lines inedge_cnt_tb.svto aid in debugging from the command line. - Different compile options:
make compile: simply compiles the executablesimvmake wave: compiles the executablesimvready to run with waveform dumpingmake run: compiles and runs the./simvmake run_wave: compiles and runs./simvand will dump a waveform totest.vcd
- You can look at the waveform by running
dvethen opening the vcd withFile->Open Database