1.3.1.7. Updating the Simulation Script
Because of the additional JESD204C Intel® FPGA IPs and connection changes in the Platform Designer system, some of the generated Platform Designer filenames are changed. This includes filenames of components within the Platform Designer interconnect. You may encounter the following elaboration error, for example, in Modelsim:
# ** Note: (vsim-3812) Design is being optimized... # ** Error: ../../ed/rtl/rx/j204c_rx_ss/sim/j204c_rx_ss.v(569): Module 'j204c_rx_ss_altera_mm_interconnect_191_gpcal4y' is not defined. # ** Error: ../../ed/rtl/rx/j204c_rx_ss/sim/j204c_rx_ss.v(599): Module 'j204c_rx_ss_altera_mm_interconnect_191_5wgszea' is not defined. # ** Error: ../models/j204c_tx/j204c_tx_ss/sim/j204c_tx_ss.v(544): Module 'j204c_tx_ss_altera_mm_interconnect_191_lwybday' is not defined. # ** Error: ../models/j204c_tx/j204c_tx_ss/sim/j204c_tx_ss.v(574): Module 'j204c_tx_ss_altera_mm_interconnect_191_syluiea' is not defined. # Optimization failed # Error loading design # Error: Error loading design # Pausing macro execution # MACRO ./modelsim_sim.tcl PAUSED at line 28
Follow these steps to update the simulation script due to changes in the Platform Designer interconnect components:
- The TCL simulation script for each simulator is located in simulation/setup_scripts/common folder. Open the simulation script of the simulator of your choice.
- Based on the error messages, locate the impacted Platform Designer interconnect component files in ed/rtl/rx/j204c_rx_ss/altera_mm_interconnect_1920/sim and simulation/models/j204c_tx/j204c_tx_ss/altera_mm_interconnect_1920/sim folders.
- Edit the simulation script to update the random string suffix of the Platform Designer interconnect components. Example of altera_mm_interconnect:
- Update j204c_rx_ss_altera_mm_interconnect_1920_ lf2qeua .v to j204c_rx_ss_altera_mm_interconnect_1920_ kkuhzua .v
- Update j204c_rx_ss_altera_mm_interconnect_1920_ nowcoqy .v to j204c_rx_ss_altera_mm_interconnect_1920_ y7egswi .v
- Update j204c_tx_ss_altera_mm_interconnect_1920_ qfllbpq .v to j204c_tx_ss_altera_mm_interconnect_1920_ fsezvgq .v
- Update j204c_tx_ss_altera_mm_interconnect_1920_ mgx3bmy .v to j204c_tx_ss_altera_mm_interconnect_1920_ csopxfa .v
- Add entries in the simulation script to resolve all the elaboration errors related to the interconnect components of both RX and TX Platform Designer systems. Examples of the components include:
- altera_merlin_router
- altera_merlin_burst_adapter
- altera_merlin_demultiplexer
- altera_merlin_multiplexer
- altera_merlin_width_adapter
- altera_merlin_traffic_limiter_altera_avalon_sc_fifo
- altera_merlin_burst_adapter_altera_avalon_st_pipeline_stage
- Save the simulation script changes.