|
|
%!s(int64=4) %!d(string=hai) anos | |
|---|---|---|
| fpa | %!s(int64=4) %!d(string=hai) anos | |
| scripts | %!s(int64=4) %!d(string=hai) anos | |
| simulation | %!s(int64=4) %!d(string=hai) anos | |
| src | %!s(int64=4) %!d(string=hai) anos | |
| .gitignore | %!s(int64=4) %!d(string=hai) anos | |
| Makefile | %!s(int64=4) %!d(string=hai) anos | |
| altera_devel.qpf | %!s(int64=5) %!d(string=hai) anos | |
| altera_devel.qsf | %!s(int64=4) %!d(string=hai) anos | |
| readme.md | %!s(int64=4) %!d(string=hai) anos |
Just run analysis
make analysis
if not working, specify Quartus installation directory with QUARTUS_ROOT parameter
Start modelsim GUI
make modelsim
Running testbench directly on GUI
make my_module_tb
This includes all modules from src/*.sv and subdirectories that contains main system verilog file with the same name as subdirectory or include.sv
Any other system verilog files in subdirectory can be included using `_include {FILE.sv} in subdirectory main file.
This command will also include saved wave instructions that are located in simulation/modelsim/wave_${my_module_tb}.do
Running testbench with defined simulation tcl script. Scripts has be located in simulation/modelsim/sim_*.do
# GUI example for simulation/modelsim/sim_root_tb.do
make sim_root_tb.gui
# Without GUI
make sim_root_tb.cli