Sign In
Upload
Manuals
Brands
Altera Manuals
PCI Card
Arria V GZ
Altera Arria V GZ Manuals
Manuals and User Guides for Altera Arria V GZ. We have
1
Altera Arria V GZ manual available for free PDF download: User Manual
Altera Arria V GZ User Manual (300 pages)
Hard IP for PCI Express
Brand:
Altera
| Category:
PCI Card
| Size: 7 MB
Table of Contents
Table of Contents
3
Chapter 1. Arria V GZ Datasheet
9
Features
9
Release Information
12
Device Family Support
13
Configurations
13
Debug Features
15
IP Core Verification
15
Compatibility Testing Environment
16
Performance and Resource Utilization
16
Recommended Speed Grades
17
Chapter 2 .Getting Started with the Arria V GZ Hard IP for PCI Express
21
Megawizard Plug-In Manager Design Flow
21
Creating a Quartus II Project
21
Customizing the Endpoint in the Megawizard Plug-In Manager Design Flow
22
Understanding the Files Generated
25
Qsys Design Flow
27
Reviewing the Qsys Example Design for Pcie
27
Generating the Testbench
29
Understanding the Files Generated
29
Simulating the Example Design
30
Understanding Channel Placement Guidelines
33
Quartus II Compilation
33
Compiling the Design in the Megawizard Plug-In Manager Design Flow
33
Compiling the Design in the Qsys Design Flow
34
Modifying the Example Design
37
Chapter 3 .Getting Started with the Avalon-MM Arria V GZ Hard IP for PCI Express
40
Running Qsys
40
Customizing the Arria V GZ Hard IP for PCI Express IP Core
41
Adding the Remaining Components to the Qsys System
43
Completing the Connections in Qsys
46
Specifying Clocks and Interrupts
47
Specifying Exported Interfaces
47
Specifying Address Assignments
48
Simulating the Example Design
49
Understanding Channel Placement Guidelines
54
Adding Synopsis Design Constraints
54
Creating a Quartus II Project
54
Compiling the Design
55
Programming a Device
55
Chapter 4. Parameter Settings
57
System Settings
57
Base Address Register (BAR) and Expansion ROM Settings
60
Base and Limit Registers for Root Ports
60
Device Identification Registers
61
PCI Express and PCI Capabilities Parameters
62
Error Reporting
64
Link Capabilities
64
MSI and MSI-X Capabilities
65
Slot Capabilities
66
Power Management
67
PHY Characteristics
67
Avalon Memory-Mapped System Settings
68
Avalon to Pcie Address Translation Settings
69
Chapter 5. IP Core Architecture
71
Key Interfaces
73
Avalon-ST Interface
73
RX Datapath
73
TX Datapath
73
Clocks and Reset
74
Local Management Interface (LMI Interface)
74
Hard IP Reconfiguration
74
Transceiver Reconfiguration
74
Interrupts
75
Pipe
75
Transaction Layer
75
Configuration Space
77
Data Link Layer
77
Physical Layer
79
PCI Express Avalon-MM Bridge
81
Avalon-MM Bridge Tlps
83
Avalon-MM-To-PCI Express Write Requests
83
Avalon-MM-To-PCI Express Upstream Read Requests
84
PCI Express-To-Avalon-MM Read Completions
84
PCI Express-To-Avalon-MM Downstream Write Requests
84
PCI Express-To-Avalon-MM Downstream Read Requests
85
Avalon-MM-To-PCI Express Read Completions
85
PCI Express-To-Avalon-MM Address Translation for Endpoints
86
Minimizing BAR Sizes and the Pcie Address Space
87
Avalon-MM-To-PCI Express Address Translation Algorithm
89
Completer Only Single Dword Endpoint
91
RX Block
92
Avalon-MM RX Master Block
92
TX Block
93
Interrupt Handler Block
93
Chapter 6. IP Core Interfaces
95
Avalon-ST RX Interface
98
Data Alignment and Timing for the 64-Bit Avalon-ST RX Interface
101
Data Alignment and Timing for the 128-Bit Avalon-ST RX Interface
105
Single Packet Per Cycle
108
Data Alignment and Timing for 256-Bit Avalon-ST RX Interface
109
Multiple Packets Per Cycle (256-Bit Interface Only)
110
Avalon-ST TX Interface
111
Avalon-ST Packets to PCI Express Tlps
114
Data Alignment and Timing for the 64-Bit Avalon-ST TX Interface
115
Data Alignment and Timing for the 128-Bit Avalon-ST TX Interface
117
Data Alignment and Timing for the 256-Bit Avalon-ST TX Interface
119
Single Packet Per Cycle
120
Multiple Packets Per Cycle
121
Root Port Mode Configuration Requests
121
ECRC Forwarding
121
Clock Signals
122
Reset Signals and Status Signals
122
Error Signals
125
Interrupts for Endpoints
126
Interrupts for Endpoints When Multiple MSI/MSI-X Support Is Enabled
127
Interrupts for Root Ports
127
Completion Side Band Signals
127
Transaction Layer Configuration Space Signals
129
Configuration Space Register Access Timing
131
Configuration Space Register Access
132
Parity Signals
136
LMI Signals
137
LMI Read Operation
139
LMI Write Operation
139
Hard IP Reconfiguration Interface
139
Power Management Signals
141
Avalon-MM Interface
143
32-Bit Non-Bursting Avalon-MM Control Register Access (CRA) Slave Signals
144
RX Avalon-MM Master Signals
145
64-Bit Bursting TX Avalon-MM Slave Signals
146
Physical Layer Interface Signals
147
Transceiver Reconfiguration
148
Serial Interface Signals
148
Channel Placement for Gen1 and Gen2 Using CMU PLL
149
Channel Placement for Gen1 and Gen2 Using ATX PLL
152
Channel Placement for Gen3 Using both CMU and ATX Plls
154
PIPE Interface Signals
154
Test Signals
157
Making Pin Assignments
158
Chapter 7. Register Descriptions
159
Configuration Space Register Content
159
Altera-Defined Vendor Specific Extended Capability (VSEC)
163
PCI Express Avalon-MM Bridge Control Register Access Content
169
Avalon-MM to PCI Express Interrupt Registers
170
PCI Express Mailbox Registers
172
Avalon-MM-To-PCI Express Address Translation Table
173
Root Port TLP Data Registers
174
Programming Model for Avalon-MM Root Port
175
Sending a Write TLP
177
Receiving a Completion TLP
177
PCI Express to Avalon-MM Interrupt Status and Enable Registers for Root Ports
177
PCI Express to Avalon-MM Interrupt Status and Enable Registers for Endpoints
178
Avalon-MM Mailbox Registers
179
Correspondence between Configuration Space Registers and the Pcie Specification
180
Chapter 8. Reset and Clocks
185
Reset
185
Clocks
188
Arria V GZ V Hard IP for PCI Express Clock Domains
189
Pclk
189
Coreclkout
189
Pld_Clk
189
Additional Clocks
191
Clock Summary
191
Chapter 9. Transaction Layer Protocol (TLP) Details
194
Transaction Layer Routing Rules
195
Receive Buffer Reordering
196
Chapter 10. Optional Features
199
Configuration Via Protocol (Cvp)
199
Ecrc
200
ECRC on the RX Path
201
ECRC on the TX Path
201
Lane Initialization and Reversal
202
Chapter 11 .Interrupts
205
Interrupts for Endpoints Using the Avalon-ST Application Interface
205
MSI Interrupts
205
Msi-X
208
Legacy Interrupts
208
Interrupts for Root Ports Using the Avalon-ST Interface to the Application Layer
209
Interrupts for Endpoints Using the Avalon-MM Interface to the Application Layer
209
Enabling MSI or Legacy Interrupts
211
Generation of Avalon-MM Interrupts
211
Interrupts for End Points Using the Avalon-MM Interface with Multiple MSI/MSI-X Support
211
Chapter 12. Flow Control
213
Throughput of Posted Writes
213
Throughput of Non-Posted Reads
215
Chapter 13. Error Handling
217
Physical Layer Errors
218
Data Link Layer Errors
218
Transaction Layer Errors
219
Error Reporting and Data Poisoning
221
Uncorrectable and Correctable Error Status Bits
222
Chapter 14. SDC Timing Constraints
223
SDC Constraints for the Hard IP for Pcie
223
SDC Constraints for the Example Design
224
Chapter 15. Hard IP Reconfiguration and Transceiver Reconfiguration
225
Hard IP Reconfiguration Interface
225
Transceiver PHY IP Reconfiguration
233
Connecting the Transceiver Reconfiguration Controller IP Core
233
Learning more about Transceiver PHY Reconfiguration
235
Chapter 16. Testbench and Design Example Endpoint Testbench
239
Root Port Testbench
240
Chaining DMA Design Examples
240
Design Example Bar/Address Map
245
Chaining DMA Control and Status Registers
246
Chaining DMA Descriptor Tables
248
Test Driver Module
250
DMA Write Cycles
251
DMA Read Cycles
253
Root Port Design Example
254
Root Port BFM
256
BFM Memory Map
258
Configuration Space Bus and Device Numbering
258
Configuration of Root Port and Endpoint
258
Issuing Read and Write Transactions to the Application Layer
263
BFM Procedures and Functions
264
BFM Read and Write Procedures
264
Ebfm_Barwr Procedure
264
Ebfm_Barwr_Imm Procedure
265
Ebfm_Barrd_Wait Procedure
266
Ebfm_Barrd_Nowt Procedure
266
Ebfm_Cfgwr_Imm_Wait Procedure
267
Ebfm_Cfgwr_Imm_Nowt Procedure
268
Ebfm_Cfgrd_Wait Procedure
269
Ebfm_Cfgrd_Nowt Procedure
269
BFM Configuration Procedures
270
Ebfm_Cfg_Decode_Bar Procedure
271
BFM Shared Memory Access Procedures
271
Shared Memory Constants
271
Shmem_Write
272
Shmem_Read Function
272
Shmem_Display Verilog HDL Function
272
Shmem_Fill Procedure
273
Shmem_Chk_Ok Function
273
BFM Log and Message Procedures
273
Ebfm_Display Verilog HDL Function
275
Ebfm_Log_Stop_Sim Verilog HDL Function
275
Ebfm_Log_Set_Suppressed_Msg_Mask Verilog HDL Function
275
Ebfm_Log_Set_Stop_On_Msg_Mask Verilog HDL Function
276
Ebfm_Log_Open Verilog HDL Function
276
Ebfm_Log_Close Verilog HDL Function
276
Verilog HDL Formatting Functions
276
Himage1
277
Himage2
277
Himage4
277
Himage8
277
Himage16
278
Dimage1
278
Dimage2
278
Dimage3
279
Dimage4
279
Dimage5
279
Dimage6
279
Dimage7
280
Procedures and Functions Specific to the Chaining DMA Design Example
280
Chained_Dma_Test Procedure
280
Dma_Rd_Test Procedure
281
Dma_Wr_Test Procedure
281
Dma_Set_Rd_Desc_Data Procedure
281
Dma_Set_Wr_Desc_Data Procedure
281
Dma_Set_Header Procedure
282
Rc_Mempoll Procedure
282
Msi_Poll Procedure
283
Dma_Set_Msi Procedure
283
Find_Mem_Bar Procedure
284
Dma_Set_Rclast Procedure
284
Ebfm_Display_Verb Procedure
284
Chapter 17. Debugging
285
Hardware Bring-Up Issues
285
Link Training
285
Link Hangs in L0 Due to Deassertion of Tx_St_Ready
289
Recommended Reset Sequence to Avoid Link Training Issues
290
Setting up Simulation
290
Use the PIPE Interface for Gen1 and Gen2 Variants
290
Reduce Counter Values for Serial Simulations
291
Disable the Scrambler for Gen3 Simulations
291
Change between the Hard and Soft Reset Controller
291
Using the PIPE Interface
292
Use Third-Party Pcie Analyzer
294
BIOS Enumeration Issues
294
Appendix A.transaction Layer Packet (TLP) Header Formats
295
TLP Packet Format Without Data Payload
295
TLP Packet Format with Data Payload
297
Additional Information
299
Revision History
299
How to Contact Altera
299
Typographic Conventions
299
Advertisement
Advertisement
Related Products
Altera Arria 10 Avalon-ST Interface
Altera Arria II GX FPGA
Altera Arria 10 GX
Altera Arria GX
Altera Arria V GX FPGA
Altera Arria V GX
Altera Arria II GX
Altera Arria 10 FPGA
Altera Arria 10 SoC
Altera APEX
Altera Categories
Motherboard
Microcontrollers
Computer Hardware
Transceiver
Recording Equipment
More Altera Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL