Visible to Intel only — GUID: wlm1680169542702
Ixiasoft
3.3.1.2. Steps to Run Simulation : VCS* MX
Working Directory
<example_design>/pcie_ed_tb/pcie_ed_tb/sim/synopsys/vcsmx/
Instructions
- Run the following commands:
For FASTSIM + PIPE mode:Note: The Enable PIPE Mode Simulation option in the IP Parameter Editor must be enabled before generating the design example.
sh vcsmx_setup.sh USER_DEFINED_COMPILE_OPTIONS="-kdb\ +define+gdrb_GDR_PCIE_SS_DV\ +define+GDR_FASTSIM_AIB_BYPASS\ +define+RTLSIM\ +define+SSM_SEQUENCE\ -ignore\ initializer_driver_checks\ -sverilog\ +define+IP7581SERDES_UX_SIMSPEED\ " USER_DEFINED_ELAB_OPTIONS="+vcs+lic+wait\ -full64\ -ignore\ initializer_driver_checks\ -hsopt=gates\ -debug_pp\ -debug_access+all\ "USER_DEFINED_SIM_OPTIONS="" | tee simulation_log
Note: The command above is a single-line command. - A successful simulation ends with the following message,
"Simulation stopped due to successful completion!"
in the simulation.log file that was generated.
Note: To run a simulation in interactive mode, use the following steps: (if you already generated a simv executable in noninteractive mode, delete the simv and simv.daidir)
- Open the vcsmx_setup.sh file and add a debug option to the VCS command:
vcs -debug_access+all
-
Compile the design example:
For FASTSIM + PIPE mode:Note: The Enable PIPE Mode Simulation option in the IP Parameter Editor must be enabled before generating the design example.sh vcsmx_setup.sh USER_DEFINED_COMPILE_OPTIONS="-kdb\ +define+gdrb_GDR_PCIE_SS_DV\ +define+GDR_FASTSIM_AIB_BYPASS\ +define+RTLSIM\ +define+SSM_SEQUENCE\ -ignore\ initializer_driver_checks\ -sverilog\ +define+IP7581SERDES_UX_SIMSPEED\ " USER_DEFINED_ELAB_OPTIONS="+vcs+lic+wait\ -full64\ -ignore\ initializer_driver_checks\ -hsopt=gates\ -debug_pp\ -debug_access+all\ " USER_DEFINED_SIM_OPTIONS="" SKIP_SIM=1
Note: The command above is a single-line command. - Start the simulation in interactive mode:
simv -gui &