Escolar Documentos
Profissional Documentos
Cultura Documentos
FOR
MECHATRONICS TEST EQUIPMENT (I)PVT.LTD. B-3,MAYUR COMPLEX, OPP. BHELKE NAGAR, NEAR YASHAVANTRAO CHAVAN NATYAGRUH, KOTHRUD, PUNE- 411038
: : : :
LIST OF FIGURES Figure 1: Block Diagram............................................................................................................... 3 Figure 2: FPGA SDRAM Interface ............................................................................................ 5 Figure 3: FPGA SRAM Interface ................................................................................................ 8 Figure 4: FPGA USB Interface ................................................................................................ 13 Figure 5: FPGA RS232 Interface ............................................................................................ 16 Figure 6: FPGA RS422 Interface ............................................................................................ 17 Figure 7: PS/2 Connector........................................................................................................... 18 Figure 8: PS/2 Timing Diagram .................................................................................................. 19 Figure 9: PS/2 Keyboard with scan codes ................................................................................. 19 Figure 10: Data format for PS/2 mouse interface....................................................................... 21 Figure 11: Seven Segment Display............................................................................................ 23 Figure 12: FPGA VGA Interface............................................................................................... 25 Figure 13: CRT Display Timing .................................................................................................. 27 Figure 14: VGA Timing............................................................................................................... 28 Figure 15: LCD Interface to VIRTEX-4 FPGA ............................................................................ 29 Figure 16: LAN 91C111 Interface to VIRTEX-4 FPGA............................................................... 31 Figure 17: JTAG Mode Selection ............................................................................................... 41 Figure 18: JTAG Mode Selection Jumper .................................................................................. 42
LIST OF TABLES Table 1: Address Bus Interface to VIRTEX-4 FPGA .................................................................... 6 Table 2: Bank Address Selection Interface to VIRTEX-4 FPGA .................................................. 6 Table 3: Data Bus Interface to VIRTEX-4 FPGA.......................................................................... 6 Table 4: Data Bus Interface to VIRTEX-4 FPGA.......................................................................... 7 Table 5: Control Lines Interface to VIRTEX-4 FPGA ................................................................... 7 Table 6: Pin Description for Flash Interface ................................................................................. 9 Table 7: Interface Details for SRAM1 And SRAM2 ...................................................................... 9 Table 8: Interface Details for SRAM 3 and SRAM-4 .................................................................. 11 Table 9: Data Bus Interface to VIRTEX-4 FPGA........................................................................ 14 Table 10: Control Lines Interface to VIRTEX-4 FPGA ............................................................... 14 Table 11: RS232 Interface to VIRTEX-4 FPGA ......................................................................... 16 Table 12: RS422 Interface to VIRTEX-4 FPGA ......................................................................... 17 Table 13: PS/2 Connector Details .............................................................................................. 18 Table 14: PS/2 Bus Timing......................................................................................................... 18 Table 15: Common PS/2 Keyboard Commands ........................................................................ 20 Table 16: LED Status ................................................................................................................. 20 Table 17: PS/2 Interface to VIRTEX-4 FPGA............................................................................. 21 Table 18: DIP switch Interface to VIRTEX-4 FPGA ................................................................... 22 Table 19: KEY switch Interface to VIRTEX-4 FPGA .................................................................. 22 Table 20: LED Interface to VIRTEX-4 FPGA ............................................................................. 22 Table 21: Seven Segment Display Interface to VIRTEX-4 FPGA .............................................. 24 Table 22: VGA Interface to VIRTEX-4 FPGA............................................................................. 26 Table 23: VGA signal timing....................................................................................................... 28 Table 24: Data Line Interface to VIRTEX-4 FPGA ..................................................................... 30 Table 25: Control Line Interface to VIRTEX-4 FPGA ................................................................. 30 Table 26: Address Bus Interface to VIRTEX-4 FPGA ................................................................ 32 Table 27: Data Bus Interface to VIRTEX-4 FPGA...................................................................... 32 Table 28: Synchronous Bus Interface to VIRTEX-4 FPGA ........................................................ 33 Table 29: Asynchronous Bus Interface to VIRTEX-4 FPGA ...................................................... 34 Table 30: Miscellaneous Signals Interface to VIRTEX-4 FPGA................................................. 34 Table 31: IO Connector Interface to FPGA ................................................................................ 35 Table 32: IO Connector Interface to FPGA ................................................................................ 36 Table 33: Stackable Connector Interface to FPGA .................................................................... 37 Table 34: IO Clock-Reset Interface to FPGA ............................................................................. 39 Table 35: Mode Selection Jumper Settings................................................................................ 40 Table 36: Mode Selection Table................................................................................................. 40 Table 37: Power Supply Details ................................................................................................. 43
CHAPTER 8 ............................................................................................................................... 23 Seven Segment LED Display...................................................................................................23 CHAPTER 9 ............................................................................................................................... 25 VGA Interface ..........................................................................................................................25
9.1 VGA Display Theory...................................................................................................................... 26 9.2 VGA signal TIMING....................................................................................................................... 28
11.1 System Address Bus Connection................................................................................................ 32 11.2 System Data Bus Connection ..................................................................................................... 32 11.3 Control Signals Connection......................................................................................................... 33
CHAPTER 13 ............................................................................................................................. 39 Clock and Reset Sources ........................................................................................................39 CHAPTER 14 ............................................................................................................................. 40 VIRTEX-4 Configuration Details...............................................................................................40
14.1 Boundary Scan mode:................................................................................................................. 40 14.2 Master Serial Mode ..................................................................................................................... 40 14.3 Jumper Setting ............................................................................................................................ 40
APPENDIX B ............................................................................................................................. 60 ADCDAC Add On Card ..........................................................................................................60 APPENDIX C ............................................................................................................................. 66 ASCII Table 5 X 7 LCD Display ...............................................................................................66
PREFACE
About This Manual
This manual gives operational details for all the interfaces.
Manual Contents
This manual contains following chapters: Chapter 1, Introduction Chapter 2, High Speed Synchronous SDRAM Chapter 3, SRAM Interface Chapter 4, USB Interface Chapter 5, Serial Interface Chapter 6, PS/2 Interface Chapter 7, Switches And LEDs Chapter 8, Seven Segment LED Display Chapter 9, VGA Interface Chapter 10, LCD Interface Chapter 11, 10/100 Non PCI Ethernet Interface Chapter 12, Connector Details Chapter 13, Clock And Reset Sources Chapter 14, VIRTEX-4 Configuration Details Chapter 15, Power Supplies Appendix A Operating Instruction to Start a New Design Appendix B ADC DAC Add On Card. Appendix C ASCII Table 5 X 7 LCD Display
CHAPTER 1
Introduction
VIRTEX-4 Development Board (MX4VFK-LX100) provides an easy to use development platform for realizing various designs around VIRTEX-4 FPGA.
Features
Figure 1 shows the VIRTEX-4 Development Board, which includes the following components and features: VIRTEX-4 FPGA: 100K. Logic cells VIRTEX-4 FPGA in FF1148 in Ball Grid Array package (XC4VLX100). o Three families LX/SX/FX o Xesium Clock Technology o XtremeDSP Slice 18x18, twos complement, signed Multiplier Optional pipeline stages Built-In Accumulator (48-bits) & Adder/Subtracter o Smart RAM Memory Hierarchy Distributed RAM Dual-Port 18-Kbit RAM blocks Optional pipeline stages High-speed memory interface support: DDR and DDR-2 SDRAM, QDR-II, RLDRAM-II, and FCRAM-II o SelectIO Technology 1.5 to 3.3 V I/O Operation Built-In ChipSync Source-Synchronous Technology Digitally-controlled impedance (DCI) active termination Fine grained I/O banking (Configuration in one bank) Flexible Logic Resources o Secure Chip AES Bitstream Encryption o RocketIO 622 Mb/s to 11.1 Gb/s Multi-Gigabit Transceivers (MGT) (FX only) o IBM PowerPC RISC Processor Core (FX only) o PowerPC 405 (PPC405) Core o Auxiliary Processor Unit Interface (User Coprocessor) o Multiple Tri-Mode Ethernet MACs (FX only) Platform Flash: 16 Mbit Xilinx XCF 32P in-system configurable platform flash for configuration through PROM in VO 48 package. 1.8V supply voltage Serial or parallel FPGA configuration interface (up to 33 MHz) Available in small-footprint VO48, VOG48, FS48, and FSG48 packages Design revision technology enables storing and accessing multiple design revisions for configuration. Built-in data decompressor compatible with Xilinx advanced compression technology SDRAM : 4 Meg x 32 Micron SDRAM MT48LC4M32B2 as a high speed synchronous memory interface in TSOP-86 package PC100 functionality Fully synchronous; all signals registered on positive edge of system clock Internal pipelined operation; column address can be changed every clock cycle Internal banks for hiding row access/precharge Programmable burst lengths: 1, 2, 4, 8, or full page Auto Precharge, includes concurrent Auto precharge, and Auto Refresh Modes Self Refresh Mode 64ms, 4,096-cycle refresh (15.6s/row) LVTTL-compatible inputs and outputs Single +3.3V 0.3V power supply 2
Figure 1: Block Diagram USB Controller: Cost effective, easy to use USB FIFO IC FT245BM from FTDI in LQFP-32 package to transfer data to / from FPGA and host PC at upto 1Mbyte per second. Single Chip USB Parallel FIFO bi-directional Data Transfer Transfer Data rate to 1M Byte / Sec - D2XX Drivers 3
Transfer Data rate to 300 Kilobyte / Sec - VCP Drivers Simple to interface to MCU / PLD/ FPGA logic with a 4 wire handshake interface Entire USB protocol handled on-chip, no USB-specific firmware programming required 384 Byte FIFO Tx buffer / 128 Byte FIFO Rx Buffer for high data throughput. Integrated 3.3V regulator for USB IO Integrated Power-On-Reset circuit Integrated 6MHz 48MHz clock multiplier PLL USB Bulk or Isochronous data transfer modes SRAM Interface: Four 256K x 16 bits SRAM using IS61LV25616AL from ISSI with access time of 12ns are provided in banked fashion with individual address and data bus.. Ethernet Controller: 10/100 Non PCI single chip Ethernet controller LAN 91c111 from SMSC in QFP package. Supports full duplex switched Ethernet. Supports burst transfer. 8 Kbytes of internal memory for receive and transmit FIFO buffers. Optional configuration through serial EEPROM Supports 8, 16, 32 bit CPU accesses. Single 25 MHz Clock for both PHY and MAC. Fully integrated IEEE 802.3 / 802.3 u -100 Base TX/ 10 Base-T physical layer. VGA display Port: 12 bit, 512 colours VGA display port. RS232 Serial Interface: 9 pin two channel serial interfaces. DB9 9-pin female connector (DCE connector) RS-232 transceiver/level translator using MAX3223 in SSOP package. Uses straight-through serial cable to connect to computer or workstation serial port. RS422 Serial Interface: 10 pin two channel serial interfaces. 10 pin berg connector. RS-422 dual differential drivers and receivers SN65C118 in TSSOP package PS/2 Interface: PS/2-style mouse and keyboard port. Seven Segment Display: Six -character, seven-segment LED display. DIP Switches: Eight DIP switches. LEDs: 13 onboard LEDS 8 user LEDs (RED) Single configuration status LED (GREEN) 4 Power on indicator LEDs(RED) Push Button Switches: Four momentary-contact push button switches. LCD interface: 16 character 2 row LCD. Mictor Connector: Facilitates provision for Logic Analyzer interface. Stackable Connector: Facilitates provision for interface of ADD ON Boards Free IOs: On Board 133 free IOs. Clock Oscillator: 40 MHz crystal clock oscillator. Socket for an auxiliary crystal oscillator clock source. JTAG port: 10 Pin FRC male connector for JTAG download cable (parallel III) interface that connects to the parallel port of host PC. Power Supplies: 5 volts regulated power supply provided along with the board. On board 3.3V, 2.5V, 1.8V, 1.2 V regulators. On board generation of -5V supply.
CHAPTER 2
High Speed Synchronous SDRAM
VIRTEX-4 Development Board has a single 4 M x 32 bit high speed synchronous SDRAM (MT48LC4M32B2), surface mounted on top side of the board. A detailed interface is as shown in Figure 2.
Figure 2: FPGA SDRAM Interface This SDRAM is internally configured as quad bank DRAM with synchronous interface (all signals registered on positive clock edge). The SDRAM provides for programmable READ or WRITE burst lengths of 1, 2, 4, or 8 locations, or the full page, with a burst terminate option. An auto precharge function may be enabled to provide a self-timed row precharge that is initiated at the end of the burst sequence.
select one location out of the memory array in the respective bank. A10 is sampled during a PRECHARGE command to determine if all banks are to be precharged (A10 [HIGH]) or bank selected by BA0, BA1 (LOW). The address inputs also provide the op-code during a LOAD MODE REGISTER command. Table 1: Address Bus Interface to VIRTEX-4 FPGA Address Bit
A0_S1 A1_S1 A2_S1 A3_S1 A4_S1 A5_S1 A6_S1 A7_S1 A8_S1 A9_S1 A10_S1 A11_S1 R6 P5 W5 M5 M6 L5 L6 K6 J5 J6 V5 T6
FPGA Pin
FPGA Pin
U6 U5
Data Bit "D7_S1" "D8_S1" "D9_S1" "D10_S1" "D11_S1" "D12_S1" "D13_S1" "D14_S1" "D15_S1"
FPGA Pin Y3 K4 K3 L4 L3 M3 N4 N3 P4
Data Bit "D23_S1" "D24_S1" "D25_S1" "D26_S1" "D27_S1" "D28_S1" "D29_S1" "D30_S1" "D31_S1"
FPGA Pin
AA6 G6
Data Bit
DQM2_S1 DQM3_S1
FPGA Pin
P6 N5
FPGA Pin
AA5 W6 Y6
Control Bit
"CLK_S1" "CKE_S1" "CS#_S1"
FPGA Pin
G5 H5 T5
CHAPTER 3
SRAM Interface
VIRTEX-4 board is rich in memory interface with four 256K X 16 SRAMs from ISSI. The ISSI IS61LV25616AL is a high-speed, 4,194,304-bit static RAM organized as 262,144 words by 16 bits. It is fabricated using ISSI's high-performance CMOS technology. This highly reliable process coupled with innovative circuit design techniques, yields high-performance and low power consumption devices. All Four SRAMs have individual address and data bus interface.. Chip select signal CE is used to select a particular SRAM. When CE is HIGH (deselected), the device assumes a standby mode at which the power dissipation can be reduced down with CMOS input levels.
Easy memory expansion is provided by using Chip Enable and Output Enable inputs, CE and OE. Active low write enable (WE) controls both writing and reading of the memory. A data byte allows Upper Byte (UB) and Lower Byte (LB) access. The interface details for the SRAM interface are as described below: Table 6: Pin Description for Flash Interface
Name A0-A20 I/O 0- I/O 15 CE# OE# WE# LB# UB# Pin Description Address input during read and write operation Data Input output pins. Chip Enable Input Output Enable Input Write Enable Input Lower Byte Control Upper Byte Control
Interface details of all four SRAMs that with VIRTEX-4 FPGA are as follows: Table 7: Interface Details for SRAM1 And SRAM2
SRAM1
Control Line Interface: Control Bit "SRAM1_\CE\" "SRAM1_\LB\" "SRAM1_\OE\" FPGA Pin N2 AB5 AB6 Control Bit "SRAM1_\UB\" "SRAM1_\WE\" FPGA Pin AA8 W2
10
11
12
CHAPTER 4
USB Interface
VIRTEX-4 Board has a USB interface using device FT245BM from FTDI. It offers data transfer rates up to 8 Million bits (1 Megabyte) per second. To send data from the FPGA to the host computer, simply write the byte-wide data into the module when TXE# is low. If the (384-byte) transmit buffer fills up or is busy storing the previously written byte, the device keeps TXE# high in order to stop further data from being written until some of the FIFO data has been transferred over USB to the host. TXE# goes high after every byte written. When the host sends data to the FPGA over USB, the device will take RXF# low to let the FPGA know that at least one byte of data is available. The FPGA can read a data byte every time RXF# goes low. RXF# goes high after every byte read. FTDI chip supports two drivers: VCP Drivers D2xx Drivers VIRTEX-4 board uses D2xx Drivers that allow application software to access the device directly through a published DLL based API. For more details on Drivers visit http://www.ftdichip.com
13
FPGA Pin
14
After installation when USB device plugged in Device Manager will add USB Serial Converter controller into its USB Serial Bus Controller list as shown below:
When USB device plugged in Device Manager will add USB Serial Converter controller into its USB Serial Bus Controller list as shown below
15
CHAPTER 5
Serial Interface
The VIRTEX-4 development board supports RS-232 and RS-422 (differential) serial interface. Details of both interface is described below.
Figure 5: FPGA RS232 Interface Figure 5 shows the connection between the FPGA and the DB9 connector, including the Maxim MAX3223 RS-232 voltage converter. The FPGA supplies serial output data as LVTTL or LVCMOS levels to the Maxim device, which in turn, converts the logic value to the appropriate RS-232 voltage level. Likewise, the Maxim device converts the RS-232 serial input data to LVTTL levels for the FPGA. Hardware flow control is not supported on the connector. The ports DCD, DTR, and DSR signals are left unconnected. Similarly, the ports CTS and Ring Indicator are used as an auxiliary RS232 channel signals The FPGA connections to the Maxim RS-232 translator appear in Table 11. Table 11: RS232 Interface to VIRTEX-4 FPGA Control Bit
TXD1-F TXD2-F RXD1-F RXD2-F AG1 AF1 AG2 AH2
FPGA Pin
For more details on RS232 UART application please refer the following application note AN2141 from Maxim. 16
Figure 6: FPGA RS422 Interface Figure 6 shows the connection between the FPGA and the 10 pin external connector. The FPGA supplies serial output data as LVTTL or LVCMOS levels to the SN65C118.device. SN65C118.is a dual differential driver and receiver that converts the logic value to the appropriate RS-422 voltage level and vice versa. The FPGA connections to RS-422 dual differential transmitter/receiver appear as in Table 12. Table 12: RS422 Interface to VIRTEX-4 FPGA Control Bit
TTL_IN1_QS TTL_IN2_QS TTL_OUT1_QS TTL_OUT2_QS D7 C7 D6 C5
FPGA Pin
17
CHAPTER 6
PS/2 Mouse/Keyboard Interface
VIRTEX-4 development board includes a separate PS/2 port for mouse or keyboard interface using a standard 6 pin PS/2 connector as shown in figure 7.
Figure 7: PS/2 Connector Both a PC mouse and keyboard use the two-wire PS/2 serial bus to communicate with a host device, the VIRTEX-4 FPGA in this case. The PS/2 bus includes both clock and data. Both a mouse and keyboard drive the bus with identical signal timings and both use 11-bit words that include a start, stop and odd parity bit. However, the data packets are organized differently for a mouse and keyboard. Furthermore, the keyboard interface allows bidirectional data transfers. Table 13: PS/2 Connector Details PS/2 Connector Pin 1 2 3 4 5 6 Signal DATA(PS2D) Reserved GND Voltage Supply CLK(PS2C) Reserved
The PS/2 bus timing appears Table 14 and Figure 8. The clock and data signals are only driven when data transfers occur, and otherwise they are held in the idle state at logic High. The timings define signal requirements for mouse-to-host communications and bidirectional keyboard communications. As shown in Figure 9, the attached keyboard or mouse writes a bit on the data line when the clock signal is high, and the host reads the data line when the clock signal is low. Table 14: PS/2 Bus Timing Symbol TCK TSU THLD Parameter Clock high or low time Data to clock setup time Clock to data hold time Min 30s 5s 5s Max 50s 25s 25s
18
19
Some keys, called extended keys, send an E0 ahead of the scan code and furthermore, they may send more than one scan code. When an extended key is released, a E0 F0 key up code is sent, followed by the scan code. If the key is pressed and held, the keyboard repeatedly sends the scan code every 100 ms or so. When a key is released, the keyboard sends a F0 key-up code, followed by the scan code of the released key. The keyboard sends the same scan code, regardless if a key has different shift and non-shift characters and regardless whether the Shift key is pressed or not. The host determines which character is intended. The most commonly used commands for PS/2 keyboard are as follows: Table 15: Common PS/2 Keyboard Commands Command Description Turn on/off Num Lock, Caps Lock, and Scroll Lock LEDs. The keyboard acknowledges receipt of an ED command by replying with an FA, after which the host sends another byte to set LED status. The bit positions for the keyboard LEDs appear in Table 16. Write a 1 to the specific bit to illuminate the associated keyboard LED.
Upon receiving an echo command, the keyboard replies with the same scan code EE. Resend. Upon receiving a resend command, the keyboard resends the last scan code sent.
ED
EE FE FF F3
Table 16: LED Status 7 6 5 4 3 2 caps lock 1 num lock 0 scroll lock
The keyboard sends data to the host only when both the data and clock lines are High, the idle state. Because the host is the bus master, the keyboard checks whether the host is sending data before driving the bus. The clock line can be used as a clear to send signal. If the host pulls the clock line Low, the keyboard must not send any data until the clock is released. The keyboard sends data to the host in 11-bit words that contain a 0 start bit, followed by eight bits of scan code (LSB first), followed by an odd parity bit and terminated with a 1 stop bit. When the keyboard sends data, it generates 11 clock transitions at around 20 to 30 kHz, and data is valid on the falling edge of the clock as shown in Figure 8.
20
PS/2 mouse employs a relative coordinate system wherein moving the mouse to the right generates a positive value in the X field, and moving to the left generates a negative value. Likewise, moving the mouse up generates a positive value in the Y field, and moving down represents a negative value. The XS and YS bits in the status byte define the sign of each value, where a 1 indicates a negative value. The magnitude of the X and Y values represent the rate of mouse movement. The larger the value, the faster the mouse is moving. The XV and YV bits in the status byte indicate when the X or Y values exceed their maximum value, an overflow condition. A 1 indicates when an overflow occurs. If the mouse moves continuously, the 33-bit transmissions repeat every 50 ms or so. The L and R fields in the status byte indicate Left and Right button presses. A 1 indicates that the associated mouse button is being pressed.
FPGA Pin
C30 D29
21
CHAPTER 7
Switches And LEDs
7.1 DIP Switches
The VIRTEX-4development board has eight DIP switches. The switches connect to an associated FPGA pin, as shown in Table 18 A 4.7K series resistor provides nominal input protection. Table 18: DIP switch Interface to VIRTEX-4 FPGA
Control Bit FPGA Pin IL0 AP15 IL1 AN15 IL2 AP14 IL3 AN14 IL4 AN13 IL5 AP12 IL6 AN12 IL7 AP11
When in the UP or ON position, a switch connects the FPGA pin to VCCO, a logic High. When DOWN or in the OFF position, the switch connects the FPGA pin to ground, a logic Low. The switches typically exhibit about 2 ms of mechanical bounce and there is no active debouncing circuitry, although such circuitry could easily be added to the FPGA design programmed on the board.
7.3 LEDS
The VIRTEX-4 development board has eight individual surface-mounts red LEDs located above the key switches. The LEDs are labelled LED7 through LED0. LED7 is the left-most LED, LED0 the right-most LED. Table 20 shows the FPGA connections to the LEDs. A series current limiting resistor of 270 is associated with every LED. To light an individual LED, drive the associated FPGA control signal High Table 20: LED Interface to VIRTEX-4 FPGA Control Bit FPGA Pin
TESTLED0 TESTLED1 TESTLED2 TESTLED3 TESTLED4 TESTLED5 TESTLED6 TESTLED7 AN8 AP7 AN7 AP6 AP5 AN5 AP4 AN4
22
CHAPTER 8
Seven Segment LED Display
The VIRTEX-4 development board has Four-character, seven segment LED display controlled by FPGA user-I/O pins. Each digit shares eight common control signals to light individual LED segments. Each individual character has a separate cathode control input. To light an individual signal, drive the individual segment control signal High along with the associated cathode control signal for the individual character. The control signal is high, enabling the control inputs for the left-most character. The segment control inputs, A through G and DP, drive the individual segments that comprise the character. A High value lights the individual segment, a Low turns off the segment.
Figure 11: Seven Segment Display The two types of the seven segment displays are as shown below Common Cathode Display: In this type of display the cathode of all the LEDs are tied together and the anode terminals decides the status of the LED, either ON or OFF. To turn ON the LED i.e segment value of driven segment should be 1 and 0 for turn OFF.
Common Anode Display: In this type of display all the anode terminals of LEDs are tied together and the cathode terminals decide the status of the LED either ON or OFF. To turn ON the LED i.e. segment value of driven segment should be 0 and 1 for turn OFF.
23
Interface details for the seven segment display with VIRTEX-4 display is as follows Table 21: Seven Segment Display Interface to VIRTEX-4 FPGA
Control Bit SEGA SEGB SEGC SEGD SEGE SEGF SEGG SEGDP CSDIS1 CSDIS2 CSDIS3 CSDIS4 AM1 AM2 AN2 AN3 AC5 AD5 AD6 AM1 AK2 AK1 AJ2 AJ1 FPGA Pin
24
CHAPTER 9
VGA Interface
The VIRTEX-4 development board includes a VGA display port and DB15 connector, indicated as in Figure 12. This port connects directly to most PC monitors or flat-panel LCD displays using a standard monitor cable. VGA stands for Video Graphics Array, sometimes referred to as Video Graphics Adapter. It is a video card, which is an interface between a computer and its corresponding monitor. The VGA card is the most common video card nearly every video card has VGA compatibility and it is fairly easy to program. It offers many different video modes, from 2 colours to 256 colour, and resolutions from 320x200 to 640x480.
25
As shown in Figure 12, the VIRTEX-4 FPGA controls 9 VGA signals: three for Red, three for Green, three for Blue, Horizontal Sync, and Vertical Sync, all available on the VGA connector. The FPGA pins that drive the VGA port appear in Table 22. Table 22: VGA Interface to VIRTEX-4 FPGA Control Bit
"BLUE_0" "BLUE_1" "BLUE_2" "GREEN_0" "GREEN_1" "GREEN_2" RED_0 RED_1 RED_2 "HOR_SYNC" "VER_SYNC"
FPGA Pin
AH4 AH3 AG3 AK4 AK3 AJ4 AM3 AL4 AL3 AF3 AF4
Each colour line comprises of 3 bits .Thus total of 23 x 23 x23 i.e. 256 colours are generated. The series resistor uses the 75 VGA cable termination to ensure that the colour signals remain in the VGA-specified 0V to 0.7V range. The HS and VS signals are TTL level. Red, Green Blue bits are driven High or Low to generate different colours.
26
Figure 13: CRT Display Timing The size of the beams, the frequency at which the beam traces across the display and the modulation frequency of electron beam determine the display resolution. Modern VGA displays support multiple display resolutions, and the VGA controller dictates the resolution by producing timing signals to control the raster patterns. The controller produces TTL-level synchronizing pulses that set the frequency at which current flows through the deflection coils, and it ensures that pixel or video data is applied to the electron guns at the correct time. Video data typically comes from a video refresh memory with one or more bytes assigned to each pixel location. The controller indexes into the video data buffer as the beams move across the display. The controller then retrieves and applies video data to the display at precisely the time the electron beam is moving across a given pixel. As shown in Figure 13, the VGA controller generates the HS (horizontal sync) and VS (vertical sync) timings signals and coordinates the delivery of video data on each pixel clock. The pixel clock defines the time available to display one pixel of information. The VS signal defines the refresh frequency of the display, or the frequency at which all information on the display is redrawn. The minimum refresh frequency is a function of the displays phosphor and electron beam intensity, with practical refresh frequencies in the 60 Hz to 120 Hz range. The number of horizontal lines displayed at a given refresh frequency defines the horizontal retrace frequency. 27
Figure 14: VGA Timing The timing for the sync pulse width (TPW) and front and back porch intervals (TFP and TBP) are based on observations from various VGA displays. The front and back porch intervals are the pre- and post-sync pulse times. Information cannot be displayed during these times. Table 23: VGA signal timing Symbol TS TDISP TPW TFP TBP Parameter Sync pulse time Display time Pulse width Front porch Back porch Vertical Sync Time 16.7 ms 15.36 ms 64 s 320 s 928 s Clocks 416,800 384,000 1,600 8,000 23,200 Lines 521 480 2 10 29 Horizontal Sync Time 32s 25.6 s 3.84 s 640 s 1.92 s Clocks 800 640 96 16 48
28
CHAPTER 10
LCD Interface
VIRTEX-4 development board includes the Orioles Display Module a dot matrix liquid crystal display that displays alphanumeric, Kana (Japanese) characters and symbols. Built in controller provides connectivity between LCD and FPGA. This LCD has a built in Dot Matrix controller, with font 5x7 or 5x10 dots, display data RAM for 80 characters ( 80 x 8 bit) and a character generator ROM which provides 160 characters with 5x7 font and 32 characters with font of 5x10. All the functions required for LCD are provided internally. Internal refresh is provided by the Controller. The Interface details of the LCD display are as shown in figure 15.
29
FPGA Pin
C23 C24 D24 C25 D25 D26 C27 D27
The control line interface of LCD with FPGA is as shown in table 25 Table 25: Control Line Interface to VIRTEX-4 FPGA Control Bit
E_QS R/W_QS RS_QS
FPGA Pin
C22 D21 C8
30
CHAPTER 11
10/100 Non PCI Ethernet Interface
VIRTEX-4 development board has a 10 / 100 Mbps Ethernet interface using LAN 91C111 from SMSC. The block diagram for the same is as shown in figure 16. This interface is designed to facilitate the implementation of fast Ethernet connectivity for embedded applications. LAN 91C111 is a mixed analog/digital device that implements MAC and PHY portion of CSMA /CD protocol at 10 and 100 Mbps. SMSC LAN 91C111 provides a flexible slave interface to industry standard bus interface. Supports 32, 16 and 8 bit bus host interface with synchronous and asynchronous data transfer modes. Two different interfaces are supported on network side. The first interface is standard magnetics transmit receive pair interfacing to 10/100 Base T utilizing internal physical layer block. Second is a MII (Media Independent Interface) specification standard that use nibble wide data transfer. This is applicable for both 10 and 100 Mbps speed. Interface details for the Ethernet interface are as mentioned below.
31
FPGA Pin
FPGA Pin
AN22 AN23 AP24 AN24
Data Bit
LAN_D16 LAN_D17 LAN_D18 LAN_D19 AM28 AL28 AL29 AM30
FPGA Pin
32
LAN_D4 LAN_D5 LAN_D6 LAN_D7 LAN_D8 LAN_D9 LAN_D10 LAN_D11 LAN_D12 LAN_D13 LAN_D14 LAN_D15
AP25 AN25 AP26 AP27 AH34 AG33 AF33 AF34 AE33 AE34 AD34 AC33
LAN_D20 LAN_D21 LAN_D22 LAN_D23 LAN_D24 LAN_D25 LAN_D26 LAN_D27 LAN_D28 LAN_D29 LAN_D30 LAN_D31
AL30 AM31 AM32 AL31 AC34 AB33 AA33 AA34 Y33 V33 V34 AG30
FPGA Pin
11.3.2 Asynchronous bus interface signals Following are the asynchronous bus interface signals ARDY: Used to extend the bus access in asynchronous bus interface.
33
nRD : Active low read strobe nWR: Active low write strobe. nADS: Address A1-A15 and AEN are latched on rising edge of nADS. Table 29: Asynchronous Bus Interface to VIRTEX-4 FPGA Control Bit
"LAN_ARDY"
FPGA Pin
AJ27
LAN_nRD LAN_nWR
nADS
AM27 AL34
11.3.3 Miscellaneous Signals: Reset: When this pin is asserted controller performs system reset.(MAC + PHY ) INTR: Active high input to interrupt the FPGA. nCS: Output chip select used to provide for mapping of PHY functions into LAN 91C111 decoded space. nLDEV: It is a combinatorial decode of unlatched address and AEN signal. IOS0, IOS1, and IOS2: Select the predefined EEPROM configuration. ENEEP: Enables access to external serial EEPROM. Table 30: Miscellaneous Signals Interface to VIRTEX-4 FPGA Control Bit
LAN_rst LAN_INTR" "LAN_nCS" LAN_nDEV" IOS0 IOS1 IOS2 ENEEP
FPGA Pin
AD21 AD20 AD23 Y25 AD18 AC18 AD19 AC19
For detailed of SMSC LAN91C111 refer its datasheet and application note an96.
34
CHAPTER 12
Connector Details
VIRTEX-4 Development Board has provision for six connectors that can be categorized as follows:
12.1 IO Connectors
These provide access to free IOs on board. IOCON1: A 50 pin box type connector provides 40 IOs IOCON2 : A 50 pin box type connector provides 40 IOs IOCON4: A 26 pin box type connector provides 21 IOs Table 31 gives the interface details of IO connectors to FPGA Table 31: IO Connector Interface to FPGA Control Bit
F_IO1_QS F_IO2_QS F_IO3_QS F_IO4_QS F_IO5_QS F_IO6_QS F_IO7_QS F_IO8_QS F_IO9_QS F_IO10_QS F_IO11_QS F_IO12_QS F_IO13_QS F_IO14_QS F_IO15_QS F_IO16_QS F_IO17_QS F_IO18_QS F_IO19_QS F_IO20_QS F_IO21_QS F_IO22_QS F_IO23_QS F_IO24_QS F_IO25_QS F_IO26_QS F_IO27_QS
FPGA Pin
AE6 AF5 AF6 AH5 AJ5 AJ6 AK6 AB8 AC7 AC8 AL6 AM6 AM7 AL8 AM8 AL9 AL10 AM10 AL11 AM11 AM12 AL13 AM13 AL14 AL15 AM15 AL16
Control Bit
F_IO51_QS F_IO52_QS F_IO53_QS F_IO54_QS F_IO55_QS F_IO56_QS F_IO57_QS F_IO58_QS F_IO59_QS F_IO60_QS F_IO61_QS F_IO62_QS F_IO63_QS F_IO64_QS F_IO65_QS F_IO66_QS F_IO67_QS F_IO68_QS F_IO69_QS F_IO70_QS F_IO71_QS F_IO72_QS F_IO73_QS F_IO74_QS F_IO75_QS F_IO76_QS F_IO77_QS
FPGA Pin
AJ9 AK8 AK9 AJ10 AJ12 AK12 AK13 AJ14 AK14 AJ15 AK16 AJ17 AK17 AG10 AH10 AG11 AH12 AG13 AH14 AG15 AG16 AG17 AH17 AJ20 AK21 AJ21 AK22
35
F_IO28_QS F_IO29_QS F_IO30_QS F_IO31_QS F_IO32_QS F_IO33_QS F_IO34_QS F_IO35_QS F_IO36_QS F_IO37_QS F_IO38_QS F_IO39_QS F_IO40_QS F_IO41_QS F_IO42_QS F_IO43_QS F_IO44_QS F_IO45_QS F_IO46_QS F_IO47_QS F_IO48_QS F_IO49_QS F_IO50_QS
AM16 AM17 AM18 AM20 AL19 AL18 AL20 AM21 AL21 AM22 AM23 AL23 AL24 AD7 AE7 AE8 AF8 AG7 AG8 AH7 AH8 AJ7 AK7
F_IO78_QS F_IO79_QS F_IO80_QS F_IO81_QS F_IO82_QS F_IO83_QS F_IO84_QS F_IO85_QS F_IO86_QS F_IO87_QS F_IO88_QS F_IO89_QS F_IO90_QS F_IO91_QS F_IO92_QS F_IO93_QS F_IO94_QS F_IO95_QS F_IO96_QS F_IO97_QS F_IO98_QS F_IO99_QS
AJ22 AK23 AK24 D9 C9 D10 C10 D11 D12 C12 C13 D14 C14 C15 D16 D17 C17 C18 C19 D19 C20 D20
MICTOR Connector: IOs on connector IOCON3 are also mapped to MICTOR connector (J10) for interface of Logic Analyzer. This connector provides 34 IOs for interface. Table 32 gives the interface details of Mictor connector to FPGA. Table 32: IO Connector Interface to FPGA Control Bit
MICTOR1_QS MICTOR2_QS MICTOR3_QS MICTOR4_QS MICTOR5_QS MICTOR6_QS MICTOR7_QS MICTOR8_QS MICTOR9_QS MICTOR10_QS
FPGA Pin
A13 B13 A14 B12 B15 A11 A15 B11 D5 A10
Control Bit
MICTOR18_QS MICTOR19_QS MICTOR20_QS MICTOR21_QS MICTOR22_QS MICTOR23_QS MICTOR24_QS MICTOR25_QS MICTOR26_QS MICTOR27_QS
FPGA Pin B8 G2 B7 F1 A6 E1 B6 E2 A5 D1
36
C4 B10 D4 A9 C3 A8 G1
B5 D2 A4 B2 A3 C2 B3
37
STEC_IO26 STEC_IO27 STEC_IO28 STEC_IO29 STEC_IO30 STEC_IO31 STEC_IO32 STEC_IO33 STEC_IO34 STEC_IO35 STEC_IO36 STEC_IO37 STEC_IO38 STEC_IO39 STEC_IO40 STEC_IO41 STEC_IO42 STEC_IO43 STEC_IO44
E27 B33 E28 B32 F28 B31 E29 A31 F29 B30 F30 A30 G30 A29 H29 B28 H30 A28 J29
STEC_IO71 STEC_IO72 STEC_IO73 STEC_IO74 STEC_IO75 STEC_IO76 STEC_IO77 STEC_IO78 STEC_IO79 STEC_IO80 STEC_IO81 STEC_IO82 STEC_IO83 STEC_IO84 STEC_IO85 STEC_IO86 STEC_IO87 STEC_IO88 STEC_IO89
AH27 AD31 AG27 AE32 AH28 AE31 AG28 AF31 AF28 AG32 AE27 AG31 AD27 AH32 AC27 AJ32 AC28 AJ31 AB28
38
CHAPTER 13
Clock and Reset Sources
The VIRTEX-4 Development board has a dedicated 40 MHz oscillator source and an optional socket for another clock oscillator source. This dedicated clock source can be used to derive other frequencies using DCM (digital clock mangers) available in VIRTEX-4 FPGA. Another clock oscillator can be mounted on 8 pin DIP Socket whose footprint is compatible with oscillators upto 200 MHz. VIRTEX-4 development board has a on board reset circuitry (a key switch) that is used to reset (active high) the hardware present on the board. Board also has a facility for external clock connection using a jumper JP1. Connecting jumper JP1 selects the external clock. The interface details of clock and reset with FPGA is given in Table 34. Table 34: IO Clock-Reset Interface to FPGA Control Bit
CLOCK CLOCK1 RESET
FPGA Pin
AL5 AM5 AK18
39
CHAPTER 14
VIRTEX-4 Configuration Details
VIRTEX-4 development board supports two configuration modes as stated below Boundary Scan mode Master Serial Mode
40
JTAG Chain Selection Jumper: JP2 jumper is used to select the JTAG chain for configuration. When jumper is connected between 2-3, then PROM and FPGA both get added in the JTAG Chain where as connecting jumper between 1-2 brings only FPGA in Chain.
41
14.4 JTAG Header: An on board JTAG connector is provided for configuring the FPGA through parallel port of PC via a parallel III cable. The details of this connector are as shown in figure 19.
42
CHAPTER 15
Power Supplies
VIRTEX-4Development board is provided with a regulated power supply of + 5V DC output. This supply is used to generate the required on board supply voltages. Output of the regulated power supply is given to power connector present on board. The power LED (Red LED) lights up when power is properly applied to the board.
Overall, the 5V DC switching power adapter powers the board. A 3.3V regulator, powered by the 5V DC supply, provides power to the inputs of the 2.5V and 1.0V regulators. Similarly, the 3.3V regulator feeds all the VCCO voltage supply inputs to the FPGAs I/O banks and powers most of the components on the board. The 2.5V regulator supplies power to the FPGAs VCCAUX supply inputs. The FPGA configuration interface on the board is powered by 3.3V. Consequently, the 2.5V supply has a current shunt resistor to prevent reverse current. Finally, a 1.2V regulator supplies power to the FPGAs VCCINT voltage inputs, which power the FPGAs core logic.
43
APPENDIX A
Operating Instruction To Start A New Design
A.1 Starting The ISE Software:
Start ISE from the Start menu by selecting Start -> Programs -> Xilinx ISE Project Navigator.
44
Half Adder
Carry
Output
Sum 0 1 1 0 Carry 0 0 0 1
end Behavioral;
45
A.6 Steps to implement the Half adder in the FPGA using Xilinx iSE(8.1i)
Step 1 : Start the Xilinx Project Navigator by using the desktop shortcut or by using the Start Programs Xilinx ISE (8.1i)
Source Window
Workspace
Process Window
Transcript
Step 2
Create a new project In the window go to FILE New project. Specify the project name and location and say NEXT
Select Device. Use the pull-down arrow to select the Value for each Property Name. Click in the field to access the pull-down list.
46
47
Step 3:
Creating a new VHD file Click on the symbol of FPGA device and then right click VHDL module and give the File name
VHDL Module
Then say Next Define ports.In this case a and b are the input ports defined as in sum and carry are output ports defined as out after this say Next twice and then Finish Skeleton of the design is shown in the VHDL editor.
48
Step 4:
Writing the Behavioral VHDL Code in VHDL Editor Sample code is given below for this experiment.
Design Entry
Step 5 Step 6
Check Syntax Process window synthesize check syntax >, and remove Run the Check syntax errors if present. Creating a test bench file Verify the operation of your design before you implement it as hardware. Simulation can be done using ISE simulator. For this click on the symbol of FPGA device and then right click Click on new source Test Bench Waveform and give the name Select entity Finish.
Select the desired parameters for simulating your design. In this case combinational circuit and Simulation time. 49
Step 7:
Simulate the code Simulation Tools ISE tool supports the following simulation tools: HDL Bencher is an automated test bench creation tool. It is fully integrated with Project Navigator. ModelSim from Model Technology, Inc., is integrated in Project Navigator to simulate the design at all steps (Functional and Timing). ModelSim XE, the Xilinx Edition of Model Technology, Inc.s ModelSim application, can be installed from the MTI CD included in your ISE Tool In source Window from the Drop-down menu select Behavioral Simulation to view the created test Bench file.
50
For simulation
Click on test bench file. Test bench file will open in main window. Assign all the signals and save File. From the source of process window. Click on Simulate Behavioral Model in Process window.
Verify your design in wave window by seeing behaviour of output signal with respect to input signal. Close the ISE simulator window
51
Simulated Output
Step 8:
Synthesize the design using XST. Translate your design into gates and optimize it for the target architecture. This is the synthesis phase. Again for synthesizing your design, from the source window select, synthesis/Implementation from the drop-down menu.
Synthesis
Synthesize, and the Run option, or double-click on Synthesize in the Processes for Current Source window. Synthesis will run, and a green check will appear next to Synthesize when it is successfully completed. a red cross indicates an error was generated and a yellow exclamation ! mark indicates that a warning was generated, (warnings are OK). Check the synthesis report. If there are any errors correct it and rerun synthesis..
Step 9:
Create Constraints File(UCF) Click on the symbol of FPGA device and then right click Click on new source Implementation Constraints File and give the name Select entity Finish. Click on User Constraint and in that Double Click on Assign Package Pins option in Process window. Xilinx PACE window opens. Enter all the pin assignments in PACE., depending upon target device and number of input and outputs used in your design. (sample code is given below for given design.)
53
Pin assignments
Step 10:
Implementing a Design Once synthesis is complete, you can place and route your design to fit into a Xilinx device, and you can also get some post place-and-route timing information about the design. The implementation stage consists of taking the synthesized netlist through translation, mapping, and place and route. To check your design as it is implemented, reports are available for each stage in the implementation process. Use the Xilinx Constraints Editor to add timing and location constraints for the implementation of your design. This procedure runs you through the basic flow for implementation. Right-click on Implement Design, and choose the Run option, or double left-click on Implement Design.
Implementation done
54
Generating Programming File Right-click on Generate Programming File, choose the Run option, or double left-click on Generate Programming File. This will generate the Bit stream Downloading in Boundary Scan Mode. Note : Xilinx provides 2-tools for downloading purpose, viz. iMPACT - is a command line and GUI based tool PROM File Formatter
Procedure for downloading using iMPACT Boundary Scan Mode 1. Right click on Configure Device (iMPACT) -> and Say RUN or Double click on Configure Device (iMPACT). 2. Right click in workspace and say Initialize chain .The device is seen. 3. Right click on the device and say Program.
If the device is programmed properly, it says Programming Succeeded or else. Programming Failed. The DONE Led glows green if programming succeeds. 55
Note: Before downloading make sure that Protoboard is connected to PC's parallel port with the cable provided and power to the Protoboard is ON. Apply input through DIP Switches, output is displayed on LEDs Configuration through PROM: Generating PROM file: FPGA can also be configured in Master Serial Mode through PROM. For this you need to program the PROM through a .mcs file. Right click on Generate PROM,ACE or JTAG file -> and Say RUN or Double click on Generate PROM,ACE or JTAG file
56
Specify the desired parameters of the PROM on board and say ADD then FINISH
57
Similar to Step 12.Initialize chain through iMPACT. PROM and FPGA devices on board are seen .Assign the generated mcs file and bit file as desired. Right click the PROM symbol and say PROGRAM.
Now, whenever the board is powered on in master serial mode, FPGA is configured through PROM automatically. 58
59
APPENDIX B
ADCDAC Add On Card
About this Card: ADC- DAC add on card provides an analog interface to the VIRTEX-4, VIRTEX-4 and SPARTAN-3 based development board developed by Bitmapper Integration Technologies PVT Ltd.. This interface enables the user to implement design that involve dual channel analog input and output function that can be used for communication, video and DSP based applications. Add On Card Details: ADC-DAC add on card comprises of a two single channel ADC AD9240 and DAC 7541 form TI. The specifications of the above mentioned are as follows: ADC AD9240: 14 bit analog to digital converter with sampling rate of 10 MSPS. Operates on single supply voltage of 5 V. A single-ended CLK input controls converter operation. Input range of 0 to 5.0 V. DAC AD7541: 12 bit 10 MSPS digital to analog converter. Dual input channel. Single supply voltage of 5V. Control of the A/Ds and D/As is handled by the FPGA through a SAMTEC connector interface provided on mother board and add on card. The supply voltage for the ADC/DAC interface is also provided via a SAMTEC connector. The interface details for the ADC and DAC unit with FPGA are as mentioned in section B-1 and B-2. B-1: ADC Interface Details: Block diagram for ADC interface as shown below:
60
Unipolar analog input of amplitude range 0 5.0 V can be applied at analog in of SMA connector J3 and J4. ADC can sample the input at up to 10Msps sampling rate with a resolution of 14 bit. Data lines of ADC are interfaced to FPGA to process the sampled data. OTR signal provides the over-range indication. Clock to ADC is provided through FPGA. The AD9240 uses four-stage pipeline architecture with a wideband input sample-and-hold amplifier (SHA) implemented on a cost-effective CMOS process. Each stage of the pipeline, excluding the last, consists of a low resolution flash A/D connected to a switched capacitor DAC and interstage residue amplifier (MDAC). The residue amplifier amplifies the difference between the reconstructed DAC output and the flash in put for the next stage in the pipeline. One bit of redundancy is used in each of the stages to facilitate digital correction of flash errors. The last stage simply consists of a flash A/D. The pipeline architecture allows a greater throughput rate at the expense of pipeline delay or latency. This means that while the converter is capable of capturing a new input sample every clock cycle, it actually takes three clock cycles for the conversion to be fully processed and appear at the output. This latency is not a concern in most applications. The digital output, together with the out-of-range indicator (OTR), is latched into an output buffer to drive the output pins. The output drivers can be configured to interface with +5 V or +3.3 V logic families.
61
Output of ADC is in straight binary format with lowest value representing all 0s and highest value representing all 1s. For more details on ADC AD9240 please refer the datasheet provided along with this board
62
B-2: DAC Interface Details: Block diagram for DAC interface is as shown below
Data lines of both the DACs are interfaced to FPGA. Analog output of DACs is available on SMA connector J5 and J6.The range available at DAC output extends from 0 to 5V for a reference voltage of 2.5V. This range can be varied by adjusting the value of Vref by varying the value of preset PR11 and PR12 for DAC1 and DAC2 respectively. AD7541A does not require an input clock for its operation and has a conversion time of 100ns with 12 bit resolution. Input to DAC is in straight binary format with lowest value represented by all 0s and highest value represented by all 1s. For more details on DAC please refer the datasheet provided along with the board.
63
The User constraint file for the ADC DAC add on card is as in table B-1.
NET NAME CONNECTOR PIN NO. VIRTEX-4 PROTOBOARD DAC-1 "DAC1-D0" "DAC1-D1" "DAC1-D2" "DAC1-D3" "DAC1-D4" "DAC1-D5" "DAC1-D6" "DAC1-D7" "DAC1-D8" "DAC1-D9" "DAC1-D10" "DAC1-D11" DAC-2 "DAC2-D0" "DAC2-D1" "DAC2-D2" "DAC2-D3" "DAC2-D4" "DAC2-D5" "DAC2-D6" "DAC2-D7" "DAC2-D8" "DAC2-D9" "DAC2-D10" "DAC2-D11" ADC-1 "ADC1_D1" "ADC1_D2" "ADC1_D3" "ADC1_D4" "ADC1_D5" "ADC1_D6" "ADC1_D7" "ADC1_D8" "ADC1_D9" "ADC1_D10" "ADC1_D11" "ADC1_D12" "ADC1_D13" "ADC1_D14" "ADCCLK1" "OTR1" ADC-2 "ADC2_D1" "ADC2_D2" "ADC2_D3" FPGA PIN NO. SPARTAN-3 5M PROTBOARD LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = H30 J29 J30 K29 L29 L30 H29 M26 M25 L26 L25 K25 K18 H19 H20 G21 H22 G23 H23 G24 J21 K20 K19 J19 T27 P24 R24 L21 M21 M22 N21 N22 P21 P22 U22 V22 U21 U24 R21 N29 SPARTAN-3 5M PCI PROTOBOARD LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = G6 F5 F6 E6 F8 F7 T4 G11 H12 G12 H13 G14 J12 K13 K14 J14 K15 M3 H8 G7 J9 J10 K11 K12 AD3 U3 AD20 AE6 AE5 AD6 AC6 AC5 AB6 AB5 AC13 AC12 AD12 AC18 AD16 AE3 VIRTEX-4 PROTOBOARD
IO-34 IO-36 IO-38 IO-40 IO-42 IO-44 IO-32 IO-28 IO-26 IO-24 IO-22 IO-20 IO-0 IO-1 IO-5 IO-7 IO-9 IO-11 IO-12 IO-10 IO-8 IO-6 IO-4 IO-2 IO-82 IO-72 IO-68 IO-59 IO-57 IO-55 IO-53 IO-51 IO-49 IO-47 IO-50 IO-46 IO-48 IO-62 IO-58 IO-86 IO-67 IO-69 IO-71
#J1-42 #J1-44 #J1-46 #J1-48 #J1-50 #J1-52 #J1-40 #J1-36 #J1-34 #J1-32 #J1-28 #J1-26 #J1-2 #J1-1 #J1-5 #J1-7 #J1-11 #J1-13 #J1-16 #J1-14 #J1-12 #J1-8 #J1-6 #J1-4 #J2-46 #J2-34 #J2-28 #J2-15 #J2-13 #J2-11 #J2-7 #J2-5 #J2-3 #J2-1 #J2-6 #J2-2 #J2-4 #J2-22 #J2-16 #J2-52 #J2-25 #J2-27 #J2-31
LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
H21 G24 H23 H24 J23 K23 H22 J22 K21 K22 L21 N22 C24 D16 D17 D18 C19 D19 G23 F24 F23 E24 E23 D24 V23 AA24 V22 U21 J20 K20 L19 L20 M19 M20 P20 R20 P19 W21 Y21 U24
LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
M24 N23 N24 P24 P23 R23 R21 P21 N22 N21 M22 M21 K20 J19 T25 P26 P25 G21 P20 N19 M20 M19 Y12 L19 AB24 AB20 AB19 U20 U19 V19 W20 W19 Y20 Y18 Y12 Y10 Y11 AB17 AA15 AA24
64
NET NAME
FPGA PIN NO. SPARTAN-3 5M PROTBOARD LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC = = = = = = = = = = = = = L24 L23 K24 J23 P25 N26 N25 M29 M30 N30 K21 K22 J22 SPARTAN-3 5M PCI PROTOBOARD LOC = AE10 LOC = AE11 LOC = AF11 LOC = W4 LOC = Y3 LOC = Y4 LOC = AA3 LOC = AB4 LOC = AG3 LOC = AF4 LOC = AE7 LOC = AF6 LOC = AE8 VIRTEX-4 PROTOBOARD LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC = = = = = = = = = = = = = U22 T22 W23 W24 V23 V24 U24 T23 T24 Y23 AA22 T19 Y21
"ADC2_D4" "ADC2_D5" "ADC2_D6" "ADC2_D7" "ADC2_D8" "ADC2_D9" "ADC2_D10" "ADC2_D11" "ADC2_D12" "ADC2_D13" "ADC2_D14" "ADCCLK2" "OTR2"
IO-73 IO-75 IO-77 IO-79 IO-81 IO-83 IO-85 IO-87 IO-89 IO-88 IO-63 IO-61 IO-65
#J2-33 #J2-35 #J2-37 #J2-41 #J2-43 #J2-45 #J2-47 #J2-51 #J2-53 #J2-54 #J2-21 #J2-17 #J2-23
LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC LOC
= = = = = = = = = = = = =
P23 P24 N24 N23 M24 M23 L24 L23 K24 T23 T21 U22 T24
65
APPENDIX C
ASCII Table 5 X 7 LCD Display
The ASCII code for 5 x 7 LCD Display is as shown below:
66