Forum Discussion
Altera_Forum
Honored Contributor
10 years agoDesign Unit Not Found
Hello all, I'm still trying to get my *first* simulation running with ModelSim, and my progress is quite limited. I think I have my license issues worked out finally, after talking directly to ...
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- Hello, No. .vht stands for VHDL test bench file while vlog command compiles Verilog source code and SystemVerilog source codes. Hence it will not work. You should try following :
- In Quartus, Go to Assignments -> Settings... -> EDA Tool Settings -> Simulation. In that select 'Verilog' under 'Format for Output Netlist'.
- In Quartus, Go to Processing -> Start... -> Start Test Bench Template Writer This should now create dac_top.vt file in same folder in which dac_top.vht file was being created before.
- Now try following command: vlog -reportprogress 300 D:/Users/
vlog -reportprogress 300 D:/Users//Desktop/Research/QuartusII/March2016/DACSimulation/simulation/modelsim/dac_top.vt# Model Technology ModelSim ALTERA vlog 10.4b Compiler 2015.05 May 27 2015# Start time: 21:03:15 on Mar 28,2016# vlog -reportprogress 300 D:/Users//Desktop/Research/QuartusII/March2016/DACSimulation/simulation/modelsim/dac_top.vt # -- Compiling module dac_top_vlg_tst# # Top level modules:# dac_top_vlg_tst# End time: 21:03:16 on Mar 28,2016, Elapsed time: 0:00:01# Errors: 0, Warnings: 0