- Open a QDR-IV SRAM example Vivado project (Open IP Example Design...), then under Add sources option, select the Add or create simulation sources option, and click Next.
- Add the memory model in the Add or create
simulation sources page and click Finish as shown.
- In the Open IP Example Design Vivado project, under Flow Navigator, select Simulation Settings.
- Select Target simulator as
Vivado Simulator.
Under the Simulation tab, set the
xsim.simulate.runtime
to 1 ms (there are simulation RTL directives which stop the simulation after certain period of time, which is less than 1 ms) as shown in the following figure. The Generate Scripts Only option generates simulation scripts only. To run behavioral simulation, Generate Scripts Only option must be de-selected. - Set the Simulation Language to Mixed.
- Apply the settings and select OK.
- In the Flow Navigator
window, select Run Simulation and select
Run Behavioral Simulation option as
shown:
- Vivado invokes Vivado simulator and simulations are run in the Vivado simulator tool. For more information, see the Vivado Design Suite User Guide: Logic Simulation (UG900).