forked from verilator/verilator
-
Notifications
You must be signed in to change notification settings - Fork 0
Verilator Fedora Installation Procedure..
muneebullashariff edited this page Feb 12, 2024
·
1 revision
(open terminal in fedora by right click )
- sudo dnf install verilator *sudo dnf install git help2man perl python3 make autoconf g++ flex bison ccache
- sudo dnf install libgoogle-perftools-dev numactl perl-doc
- git clone https://github.com/verilator/verilator
- unset VERILATOR_ROOT # For bash
- unsetenv VERILATOR_ROOT # For csh
- cd verilator
- autoconf
- /configure
- make
- sudo make install
- sudo dnf install gtkwave
- verilator --binary < filename >.sv
( For more arguments: https://verilator.org/guide/latest/exe_verilator.html# )
- For including waveforms: verilator --binary --trace < filename >.sv
(Note: Make sure you include $dumpfile(“dump.vcd”); $dumpvars; in your testbench file.)
- Once the target has been verilated, an object will be generated in /obj_dir/.
- Run the object: ./obj_dir/V < filename >
- Access waveforms: gtkwave dump.vcd