To resolve the simulation error for Mentor Graphics®
ModelSim® SE or Synopsys®
VCS MX, perform the following tasks:
- Locate the <Quartus Prime software installation
directory>/quartus/eda/sim_lib/altera_lnsim_components.vhd
file.
- Open the file in a text editor.
- Delete the
PLL_CTR_RESYNC
parameter definition in the
altera_pll
module.
To resolve the simulation error for ModelSim AE, perform the following
tasks:
- Locate the <Quartus software installation
directory>/../modelsim_ae/altera/vhdl/src/altera_lnsim/altera_lnsim_components.vhd
file.
- Open the file in a text editor.
- Delete the
PLL_CTR_RESYNC
parameter definition in the
altera_pll module.
- Run the following command to recompile the file to the correct
library.
vcom -work altera_lnsim
/../modelsim_ae/altera/vhdl/src/altera_lnsim/altera_lnsim_components.vhd
You must have installation privileges to update this file. If you do not have
installation privileges, recompile the file locally by performing the following
tasks:
- Run the
cp
/../modelsim_ae/altera/vhdl/src/altera_lnsim/altera_lnsim_components.vhd
.
command to copy the altera_lnsim_components.vhd file
to your local simulation directory.
- Open the file in a text editor.
- Delete the
PLL_CTR_RESYNC
parameter definition in the
altera_pll
module.
- Run the
vlib altera_lnsim
command.
- Run the
vmap altera_lnsim altera_lnsim
command.
- Run the
vcom -work altera_lnsim altera_lnsim_components.vhd
command.