Preparing Simulation - 3.4 English

Versal Adaptive SoC CPM Mode for PCI Express Product Guide (PG346)

Document ID
PG346
Release Date
2024-05-30
Version
3.4 English
  1. Generate simulation script for your simulator by setting up the simulation libraries and run simulation within the Vivado tool:

    Note: You should add +notimingchecks property as a simulate option in your simulation settings:

  2. Once the simulation launches, terminate it momentarily for additional modification required to simulate dual CPM IPs. Skip this step if you are using PL PCIe as PCIe link partner in the simulation.
    1. Search for cpm_data_sim.cdo for both your DUT and your complement IP simulation model. They are typically in the following directory structure: <project>/<project>.ip_user_files/bd/<BD design>/ip/<ip name>/bd_0/ip/ip_1/cpm_data_sim.cdo
    2. Copy both cpm_data_sim.cdo from previous steps into the simulation directory structure and rename the file to use the following file names (these names are referenced from the parameter SIM_CPM_CDO_FILE_NAME:
      1. PCIe RootPort = rp_cpm_data_sim.cdo
      2. PCIe EndPoint = cpm_data_sim.cdo
      3. Directory: <project>/<project>.sim/<sim fileset>/behav/<simulator>/
  3. CPM5 QDMA/Bridge only: Master Personality Table and BDF Table programming

    Master Personality Table and BDF Table programming are now added in the cpm_data_sim.cdo automatically; No extra user intervention required.

    Note: These values are lost if DMA reset occurs as a result of link down event. Currently, there is no mechanism to allow secondary CDO load after reset.
  4. Relaunch your simulation and wait for your simulation to complete.