background image

 

 
 

B14 PWR 

+3.3VCable 

power 

B15 PWR 

+3.3VCable 

power 

B16 

PWR RTN

Cable power return 

B17 

PWR RTN

Cable power return 

B18 CWAKEn 

Power management signal for 

wakeup events (optional) 

B19 CPERSTn

Cable 

PERSTn 

 

13

3.3

3.3

 

 

Switches 

 

Switches

The PCA contains x2 and x8 switches that allow configuration of the PCA PCIe mode (SW1), 
equalization and de-emphasis (SW2). The two switches, SW1 and SW2, are located on top of the 
front side of the PCA card. 

Figure 3-5 

show the location of the board. 

 

Figure 3-5 Switches 

Summary of Contents for PCA

Page 1: ......

Page 2: ...CTURE 5 2 1 Layout and Components 5 2 2 Block Diagram of the PCA Board 6 CHAPTER 3 BOARD COMPONENT 8 3 1 PCIe Edge Connector 8 3 2 PCIe Cable Connector 10 3 3 Switches 13 3 4 LEDs 16 CHAPTER 4 SET UP ON PCA 18 4 1 Introduction 18 4 2 System Requirements 18 CHAPTER 5 APPENDIX 25 5 1 Revision History 25 5 2 Copyright Statement 25 1 ...

Page 3: ...PCIe X4 X1 mode PCA card can provide programmable equalization amplification and de emphasis for PCIe transceiver signal by using 8 select bits It is also available to optimize performance over a variety of physical mediums by reducing Inter symbol interference 2 1 1 1 1 Features Features Figure 1 1 shows a photograph of the PCA Card Figure 1 1 Layout of the PCA card ...

Page 4: ...ver equalization Adjustable transmitter amplitude and de emphasis 3 1 2 1 2 About the KIT About the KIT The PCA kit will come with the following contents PCA card Please visit PCIe_Cable terasic com download the PCA user manual Figure 1 2 shows the photograph of the PCA kit content Figure 1 2 PCA kit package contents ...

Page 5: ...4 1 3 1 3 Getting Help Getting Help Here is information of how to get help if you encounter any problem Terasic Technologies Tel 886 3 550 8800 Email support terasic com ...

Page 6: ...gram of the PCA board 5 2 1 2 1 Layout and Components Layout and Components The picture of the PCA card is shown in Figure 2 1 and Figure 2 2 It depicts the layout of the board and indicates the locations of the connectors and key components Figure 2 1 The PCA Card PCB and component diagram top view ...

Page 7: ...Figure 2 2 The PCA Card PCB and component diagram bottom view 6 2 2 2 2 Block Diagram of the PCA Board Block Diagram of the PCA Board Figure 2 3 shows the block diagram of the PCA card ...

Page 8: ...Figure 2 3 Block Diagram of PCA card 7 ...

Page 9: ... of the on board components 8 3 1 3 1 PCIe Edge Connector PCIe Edge Connector This Edge connector is used to connect the PCA with PC motherboard PCIe slot as show Figure 3 1 and Figure 3 2 Figure 3 1 PCA Edge Connector Figure 3 2 plug the PCA into motherboard PCIe slot ...

Page 10: ... on PCIe Edge connector Side B Side A Pin Numbers Name Description Name Description 1 NC NC PRSNT1n Hot Plug presence detect 2 NC NC NC NC 3 NC NC NC NC 4 GND Ground GND Ground 5 NC NC NC NC 6 NC NC NC NC 7 GND Ground NC NC 8 VCC3P3 3 3V Power NC NC 9 NC NC VCC3P3 3 3V Power 10 3 3VAUX 3 3 V Auxiliary Power VCC3P3 3 3V Power 11 WAKE NC PERSTn Fundamental Reset Mechanical Key 12 RSVD Reserved GND G...

Page 11: ...Reserved PERn3 Receiver differential pair Lane 3 31 PRSNT2n Hot Plug presence detect GND Ground 32 GND Ground RSVD Reserved 3 2 PCIe Cable Connector PCIe cable connector is used to connect the PCIe X4 Cable and PCA cable connector Connect the PCA by using a PCIe X4 Cable as show Figure 3 3 Figure 3 3 PCIe X4 Cable and PCA To purchase the PCIe X4 Cable please refer Terasic website PCIe_Cable terasi...

Page 12: ...ane 0 A3 PETn0 Differential PCI Express transmitter Lane 0 A4 GND Ground reference for PCI Express transmitter Lanes A5 PETp1 Differential PCI Express transmitter Lane 1 A6 PETn1 Differential PCI Express transmitter Lane 1 A7 GND Ground reference for PCI Express transmitter Lanes A8 PETp2 Differential PCI Express transmitter Lane 2 A9 PETn2 Differential PCI Express transmitter Lane 2 A10 GND Groun...

Page 13: ... to slavetype downstream subsystems B1 GND Ground reference for PCI Express transmitter Lanes B2 PERp0 Differential PCI Express receiver Lane 0 B3 PERn0 Differential PCI Express receiver Lane 0 B4 GND Ground reference for PCI Express transmitter Lanes B5 PERp1 Differential PCI Express receiver Lane 1 B6 PERn1 Differential PCI Express receiver Lane 1 B7 GND Ground reference for PCI Express transmit...

Page 14: ...l for wakeup events optional B19 CPERSTn Cable PERSTn 13 3 3 3 3 Switches Switches The PCA contains x2 and x8 switches that allow configuration of the PCA PCIe mode SW1 equalization and de emphasis SW2 The two switches SW1 and SW2 are located on top of the front side of the PCA card Figure 3 5 show the location of the board Figure 3 5 Switches ...

Page 15: ...Figure 3 6 show the SW1 settings Table 3 3 SW1 Settings Pin 2 Pin 1 PCIe Mode X1 X4 UP UP NULL UP Down X1 Down UP X4 Default mode Down Down NULL Figure 3 7 Show the SW2 Settings 14 ...

Page 16: ...8 CH_A and CH_B within PI2EQX5904 Table 3 4 SW2 Settings Input Equalizer Configuration for Channel A Pin 1 SEL0_A Pin 2 SEL1_A Pin 3 SEL2_A 1 25GHz 2 5GHz 0 0 0 0 5dB 1 2 dB 0 0 1 0 6dB 1 5 dB 0 1 0 1 0 dB 2 6 dB 0 1 1 1 9 dB 4 3 dB 1 0 0 2 8 dB 5 8 dB 1 0 1 3 6 dB 7 1 dB 1 1 0 5 0 dB 9 0 dB 1 1 1 7 7 dB Default Setting 12 3 dB Default Setting 15 ...

Page 17: ... that the Receiver Detect Function Enable Table 3 6 SW2 Settings Receiver Detect Function Enable for CH_A CH_B Pin 7 RXD_A Pin 8 RXD_B Receiver Detect Function Enable 1 1 CH_A CH_B Receiver Detect Enable Default Setting 1 0 CH_A Receiver Detect Enable CH_B Receiver Detect Disable 0 1 CH_A Receiver Detect Disable CH_B Receiver Detect Enable 0 0 CH_A CH_B Receiver Detect Disable Please refer the dat...

Page 18: ...17 D3 POWER Power LED DN1 SIG_A Signal detect output for CH_A DN2 SIG_B Signal detect output for CH_B DN3 RX50_A Receiver Detect Output for CH_A0 DN4 RX50_B Receiver Detect Output for CH_B0 ...

Page 19: ... DMA Both Memory Mapped and FIFO memory types are demonstrated in the reference design The demonstration also makes use of the associated PCIe cable adapter card PCA 4 2 4 2 System Requirements System Requirements The following items are required for the PCA demonstration TR4 board x1 PCA card x1 PCIe X4 Cable x1 PC x2 Demonstration Files Location The demo file is located in the folder on the TR4 ...

Page 20: ...Figure 4 1 Figure 4 1 PCA switches setting Demonstration Setup Make sure TR4 and PC are both powered off Plug the PCA card into PCIe slot on the PC motherboard Use the PCIe cable to connect to the TR4 PCIE0 connector and PCIe adapter card as shown in Figure 4 2 19 ...

Page 21: ...mental sof into the TR4 using the Quartus II Programmer And all seven LEDs on PCA card will be lighted on if work rightly while the PC automatic start Install PCIe driver if necessary The driver is located in the folder PCIe_SDK Driver Launch the demo program PCIe_Fundamental_Demo exe shown in Figure 4 3 20 ...

Page 22: ... TR4 should light and unlight accordingly Click Memory Mapped Write and Read to test the memory mapped DMA A report dialog will appear when the DMA process is completed Click FIFO Write and Read to test the FIFO DMA A report dialog box will appear when the DMA process is completed The Custom Registers Group is used to test custom design registers on the FPGA side Users can use this function to ver...

Page 23: ... DMA channel on the Terasic PCIe IP to control I O Button LED and access two internal memories RAM FIFO through the MUX block Figure 4 4 Hardware Block Diagram of the PCIe Reference Design PC Application Design The application shows how to call the TERASIC_PCIE DLL exported to API To enumerate all PCIe cards in system call the software design defines some constants based on FPGA design shown below...

Page 24: ...os The return value dwDeviceNum represents the number of PCIe cards found in the system The m_szPcieInfo array contains detailed information for each PCIe card To connect the selected PCIe card the functions are called where nSel is selected index in the Selected FPGA Board poll down menu Based on the return m_szPcieInfo we can find the associated PID and DID which can br used to specifiy the targ...

Page 25: ...To write and read FIFO memory call the functions 24 ...

Page 26: ... Appendix 25 5 1 5 1 Revision History Revision History Version Change Log V1 0 Initial Version Preliminary 5 2 5 2 Copyright Statement Copyright Statement Copyright 2012 Terasic Technologies All rights reserved ...

Reviews: