Sin descripción

Min a64c5d0f1e Working adder hace 4 años
fpa e8a7ddfb11 new modules and vectors hace 4 años
scripts e35aadc65c Improved fpu adder hace 4 años
simulation 2d55a99e3c new fp mult module WIP hace 4 años
src a64c5d0f1e Working adder hace 4 años
.gitignore 7db0bdfad9 New testbench execution method hace 4 años
Makefile 7db0bdfad9 New testbench execution method hace 4 años
altera_devel.qpf 06cb4a2a5d Initial hace 5 años
altera_devel.qsf 64bf0ade21 Script for starting tb hace 4 años
readme.md 7db0bdfad9 New testbench execution method hace 4 años
wave_hard_sigmoid_tb.do 250682bf91 Implemented hard sigmoid hace 4 años

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