Xilinx PCI-X v5.1 manual Timing Simulation, Cadence IUS

Page 45

R

Chapter 7

Timing Simulation

This chapter describes the use of supported timing simulation tools using the Userapp example design. If you are using a design with reference clocks, substitute pcix_top with pcix_top_r and test_tb with test_tb_r.

Supported timing simulation tools include

Cadence IUS v6.1

Mentor Graphics ModelSim v6.3c

Note: The stimulus source file delivered with the example design

(source/stimulus.hdl) simulates in both PCI and PCI-X mode, automatically detecting the proper mode and bus speed based on power-on signaling.

Cadence IUS

Before attempting timing simulation, ensure that the IUS environment is properly configured for use.

1.Navigate to the timing simulation directory and copy the back annotated timing models from the implementation directory:

cd <Install Path>/verilog/example/post_sim cp ../xilinx/*.v ./

cp ../xilinx/*.sdf ./

2.Edit the test_tb.f file. This file lists command line arguments for IUS, and is shown below:

../source/stimulus.v

../source/test_tb.v

../source/busrec.v

./pcix_top_s_routed.v +libext+.vmd+.v

-y <Xilinx Install Path>/verilog/src/simprims

Modify the library search path by changing <Xilinx Install Path> to match the Xilinx installation directory. Save the file.

3.To run the IUS simulation, type the following: ncverilog -f test_tb.f

IUS processes the simulation files and exits. The test bench prints status messages to the console. After the simulation completes, view the ncverilog.log file to check for errors.

PCI-X v5.1 165 Getting Started Guide

www.xilinx.com

45

UG158 March 24, 2008

Image 45
Contents UG158 March 24 LogiCORE IP Initiator/Target v5.1 for PCI-XVersion Revision PCI-X v5.1 165 Getting Started Guide UG158 March 24Ug000preface.fm to Guide Version Revision Table of Contents Implementing a Design 8Options for Implementation Options/Constraints Schedule of FiguresPCI-X v5.1 165 Getting Started Guide About This Guide Guide ContentsTypographical ConventionsPreface About This Guide Convention Meaning or Use ExampleConventions Online DocumentPreface About This Guide Getting Started System RequirementsAbout the Example Design Technical Support Additional DocumentationFeedback Core Interface for PCI-XBefore you Begin Licensing the CoreLicensing Options Full System Hardware EvaluationFull License Installing Your License FileDirect Download Licensing the CoreDesign Support Family Specific ConsiderationsSimulation Virtex-4 Devices Wrapper Files Bus Mode Detection Configuration PinsDevice Initialization Bus Width DetectionFamily Specific Considerations Bus Clock UsageElectrical Compliance Electrical ComplianceInput Delay Buffers Generating Bitstreams Generating BitstreamsFamily Specific Considerations Cadence IUS Functional SimulationMentor Graphics ModelSim VerilogFunctional Simulation Mentor Graphics ModelSim Install Path/verilog/example/funcsimTo run the simulation, type the following do modelsim.do Synplicity Synplify Synthesizing a Design2Main Project Window Synthesizing a Design3Files to Add Virtex Library Synplicity Synplify5Files to Add User Application 7Options for Implementation Device 9Create a New Project 10Main Project Window 12Files to Add LogiCORE Files 14Main Project Window 15Options for Implementation Device Exemplar LeonardoSpectrumXilinx XST Xilinx XSTSynthesizing a Design ISE Foundation Implementing a DesignImplementing a Design Timing Simulation Timing Simulation Install Path/vhdl/example/postsim