Nav apraksta

Oliver Jaison a67e2bb430 fix? 4 gadi atpakaļ
fpa e8a7ddfb11 new modules and vectors 4 gadi atpakaļ
scripts 4b437b8178 working add and multiply 4 gadi atpakaļ
simulation 7db0bdfad9 New testbench execution method 4 gadi atpakaļ
src a67e2bb430 fix? 4 gadi atpakaļ
.gitignore 7db0bdfad9 New testbench execution method 4 gadi atpakaļ
Makefile 7db0bdfad9 New testbench execution method 4 gadi atpakaļ
altera_devel.qpf 06cb4a2a5d Initial 5 gadi atpakaļ
altera_devel.qsf 64bf0ade21 Script for starting tb 4 gadi atpakaļ
readme.md 7db0bdfad9 New testbench execution method 4 gadi atpakaļ

readme.md

Altera Development Repo

Setup

Just run analysis

make analysis

if not working, specify Quartus installation directory with QUARTUS_ROOT parameter

Start modelsim GUI

make modelsim

Running testbench

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

Other testbench methods

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