- 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:
- 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.
- 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 - 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:- PCIe RootPort = rp_cpm_data_sim.cdo
- PCIe EndPoint = cpm_data_sim.cdo
- Directory: <project>/<project>.sim/<sim fileset>/behav/<simulator>/
- Search for
- 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. - Relaunch your simulation and wait for your simulation to complete.