Chapter 3: Getting Started with the Avalon-MM Cyclone Hard IP for PCI Express 3–13
Simulating the Example Design
December 2013 Altera Corporation Cyclone V Hard IP for PCI Express
User Guide
■ Setup of the DMA controller to write the same data back to the Transaction Layer
Direct BFM’s shared memory
■ Data comparison and report of any mismatch
Example 3–1 shows the transcript from a successful simulation run.
Example 3–1. Transcript from ModelSim Simulation of Gen1 x4 Endpoint
# 464 ns Completed initial configuration of Root Port.
# INFO: 2657 ns EP LTSSM State: DETECT.ACTIVE
# INFO: 3661 ns RP LTSSM State: DETECT.ACTIVE
# INFO: 6049 ns EP LTSSM State: POLLING.ACTIVE
# I
NFO: 6909 ns RP LTSSM State: POLLING.ACTIVE
# I
NFO: 9037 ns RP LTSSM State: POLLING.CONFIG
# I
NFO: 9441 ns EP LTSSM State: POLLING.CONFIG
# INFO
: 10657 ns EP LTSSM State: CONFIG.LINKWIDTH.START
# INFO
: 10829 ns RP LTSSM State: CONFIG.LINKWIDTH.START
# INFO: 11713 ns EP LTSSM State: CONFIG.LINKWIDTH.ACCEPT
# INFO: 122
53 ns RP LTSSM State: CONFIG.LINKWIDTH.ACCEPT
# I
NFO: 12573 ns RP LTSSM State: CONFIG.LANENUM.WAIT
# I
NFO: 13505 ns EP LTSSM State: CONFIG.LANENUM.WAIT
# INFO: 13825 ns EP LTSSM State: CONFIG.LANENUM.ACCEPT
# INFO: 13853 ns RP LTSSM State: CONFIG.LANENUM.ACCEPT
# IN
FO: 14173 ns RP LTSSM State: CONFIG.COMPLETE
# IN
FO: 14721 ns EP LTSSM State: CONFIG.COMPLETE
# INFO: 160
01 ns EP LTSSM State: CONFIG.IDLE
# INFO: 160
93 ns RP LTSSM State: CONFIG.IDLE
# INFO:
16285 ns RP LTSSM State: L0
# INFO: 16545 ns EP LTSSM State: L0
# INFO: 19112 ns Configuring Bus 001, Device 001, Function 00
# INFO: 19112 ns EP Read Only Configuration Registers:
# INFO: 19112 ns Vendor ID: 0000
# INFO: 19112 ns Device ID: 0001
# INFO: 19112 ns Revision ID: 01
# INFO: 19112 ns Class Code: 000000
# INFO: 19112 ns Subsystem Vendor ID: 0000
# INF
O: 19112 ns Subsystem ID: 0000
# INFO: 19112 ns Interrupt Pin: INTA# used
# INFO: 20584 ns PCI MSI Capability Register:
# INFO: 20584 ns 64-Bit Address Capable: Supported
# INFO: 20584 ns Messages Requested: 4
#INFO: 28136 ns EP PCI Express Link Status Register (1041):
# INFO: 28136 ns N
egotiated Link Width: x4
# INF
O: 28136 ns Slot Clock Config: System Reference Clock Used
# IN
FO: 29685 ns RP LTSSM State: RECOVERY.RCVRLOCK
# INFO: 30561 ns EP LTSSM State: RECOVERY.RCVRLOCK
# INFO: 31297 ns EP LTSSM State: RECOVERY.RCVRCFG
# INFO: 3
1381 ns RP LTSSM State: RECOVERY.RCVRCFG
# I
NFO: 32661 ns RP LTSSM State: RECOVERY.IDLE
# I
NFO: 32961 ns EP LTSSM State: RECOVERY.IDLE
# INFO:
33153 ns EP LTSSM State: L0
# INFO: 33237 ns RP LTSSM State: L0
# INFO: 34696 ns Current Link Speed: 2.5GT/s
INFO: 34696 ns
# INFO: 36168 ns EP PCI Express Link Control Register (0040):
# INFO: 3
6168 ns Common Clock Config: System Reference Clock Used
# INFO: 36168 ns
# INFO: 37960 ns
Comments to this Manuals