Forum Discussion
Altera_Forum
Honored Contributor
10 years agoI have downloaded the ZIP file for the Stratix V GX custom PHY IP example. It compiled in 15.0 after updating the IP.
It looks like I need to do some fixups on environment variables to run the TCL script for ModelSim. Fixed up the QUARTUS_ROOTDIR environment variable and invoked the TCL script again. It worked for a while and then errored out when some parameters weren't found while building one of the many libraries used in this example. I'm afraid I don't have the mental horsepower to dig through and figure out why the import altera_xcvr_functions::*;appears to be ignored for this one compile where it was not ignored on the hundred files compiled before it. # Top level modules:# sv_xcvr_native# Model Technology ModelSim PE vlog 10.2 Compiler 2013.02 Feb 2 2013# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(102): Failed to find name 'SV_XR_ID_PLL_TYPE_LC' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(103): Failed to find name 'SV_XR_ID_PLL_TYPE_FPLL' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(104): Failed to find name 'SV_XR_ID_PLL_TYPE_CMU' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(106): Failed to find name 'SV_XR_ID_PLL_TYPE_CMU' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(107): Failed to find name 'SV_XR_ID_PLL_TYPE_LC' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(108): Failed to find name 'SV_XR_ID_PLL_TYPE_FPLL' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(953): Failed to find name 'SV_XR_ID_PLL_TYPE_LC' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(954): Failed to find name 'SV_XR_ID_PLL_TYPE_FPLL' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(955): Failed to find name 'SV_XR_ID_PLL_TYPE_CMU' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(956): Failed to find name 'SV_XR_ID_PLL_TYPE_CMU' in specified scope# ** Error: top_custom_sim/altera_xcvr_custom_phy/sv_xcvr_plls.sv(957): Failed to find name 'SV_XR_ID_PLL_TYPE_NONE' in specified scope# ** Error: C:/modeltech_pe_10.2/win32pe/vlog failed.# Error in macro C:\Projects\SV_custom_PMA_reconfig\source\phy_sim_top.tcl line 68 I find that there are so many more files needed to run the Stratix V simulations over what was needed for the Stratix IV simulations that you spend hours just setting up the the simulation environment. Each IP component has several dozen files that need to be compiled into a library. The msim_setup.tcl scripts that are included in the mentor folder for each IP redundantly generate every single library required for the simulation. Is there an Altera document that clearly describes the methodology to running a simulation using IP? I'm just winging it at the moment.