# Altera Development Repo ### Setup Just run analysis ```bash make analysis ``` if not working, specify Quartus installation directory with **QUARTUS_ROOT** parameter Start modelsim GUI ```bash make modelsim ``` ### Running testbench This will run test testbench in console without opening modelsim GUI ```bash make tb_file=${file} tb_mod=${module} testbench # Example make tb_file=./src/root.sv tb_mod=root_tb testbench ``` Running testbench with defined simulation tcl script. Scripts has be located in **simulation/modelsim/sim_\*.do** ```bash # GUI example for simulation/modelsim/sim_root_tb.do make sim_root_tb.gui # Without GUI make sim_root_tb.cli ```