Skip to content

prernamittal/HardwareDesignAndModelling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hardware Design And Modelling

The verilog codes are writen with gedit on Ubuntu using the following commands in terminal:

Open gedit

gedit module.v

Compilation

1. For separate module and testbench files
iverilog -o testbench_tb.vvp testbench_tb.v
2. For a single file
iverilog -Wall module.v
unbuffer vvp a.out

Generate Waveform

.vvp can be generated in Ubuntu using the following command:
vvp testbench_tb.vvp

Open GTKWave

gtkwave dumpfile.vcd
Alternatively, GTKWave can be opened by simply clicking on the dumpfile.vcd file created in your workspace folder after the previous command.

About

Codes for Hardware Design and Modelling

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published