The Hard IP for PCI Express® auto-generated ncsim_setup.sh file is missing the timescale option.
This problem can result in the Cadence® NC-Sim® simulator generating the following error during elaboration.
ncelab: *F,CUMSTS: Timescale directive missing on one or more modules
To work around this problem, open the ncsim_setup.sh file using a text editor and edit the following parameters:
1) Find "USER_DEFINED_ELAB_OPTIONS" variable and add "-timescale 1ns/1ps" as below.
USER_DEFINED_ELAB_OPTIONS="-timescale 1ns/1ps"
2) Find the "USER_DEFINED_SIM_OPTIONS" variable and delete "100" from the original line as below.
USER_DEFINED_SIM_OPTIONS="-input \"@run ; exit\""
3) Find the following line in the "ncsim_setup.sh" script and add " define QUARTUS" to the ncvlog command.
ncvlog "<path>/<device>_pcie_hip_atoms_ncrypt.v" -work stratixv_pcie_hip_ver
Example: ncvlog define QUARTUS "/eda/sim_lib/cadence/stratixv_pcie_hip_atoms_ncrypt.v" -work stratixv_pcie_hip_ver