Forum Discussion

Roberto07's avatar
Roberto07
Icon for New Contributor rankNew Contributor
4 years ago

Can't simulate ADC as shown in the tutorial

Hello,

I use Quartus Prime Lite Edition with Questa Intel FPGA Starter edition ver. 21.1 on a Win 11 PC, and I have a DE10-Lite board.

I followed an old, short tutorial to simulate the Altera Modular ADC IP:

https://www.youtube.com/watch?v=6UscboZ1Vho

I compiled the IP (.qip file), included the .sip file, attached the testbench and run the simulation.

Questa simulation starts, but stops during the optimization:


# vsim -t 1ps -L altera -L lpm -L sgate -L altera_mf -L altera_lnsim -L fiftyfivenm -L fiftyfivenm_ver -L rtl_work -L work -L altera_trace_adc_monitor_wa_inst -L timing_adapter_1 -L timing_adapter_0 -L data_format_adapter_0 -L rst_controller -L trace_endpoint -L core -L avalon_st_adapter_001 -L avalon_st_adapter -L st_splitter_internal -L adc_monitor_internal -L control_internal -L modular_adc_0 -voptargs=""+acc"" tb_adctest
# Start time: 17:49:18 on Aug 12,2022
# ** Note: (vsim-3812) Design is being optimized...
# ** Error: E:/.../adcsimwoutf/simulation/submodules/adcsimwoutf_modular_adc_0_adc_monitor_internal.v(101): Module 'adcsimwoutf_modular_adc_0_adc_monitor_internal_core' is not defined.
# For instance 'core' at path 'tb_adctest.u0.modular_adc_0.adc_monitor_internal'
# ** Error: E:/.../adcsimwoutf/simulation/submodules/adcsimwoutf_modular_adc_0_adc_monitor_internal.v(121): Module 'adcsimwoutf_modular_adc_0_adc_monitor_internal_trace_endpoint' is not defined.
# For instance 'trace_endpoint' at path 'tb_adctest.u0.modular_adc_0.adc_monitor_internal'
# Optimization failed

Can you post a new tutorial to perform ADC simulation with output file similar to the 2018 one, but more detailed and working for newer Quartus and IP versions (in particular showing the compilation of all required blocks and a more detailed testbench, the one shown in the tutorial is completely missing pll clock)?

Thanks in advance,

Roberto.

20 Replies