FIGURE 14 – VITEX-4 MB DEVELOPMENT BOARD JTAG CHAIN..................................................... 24
FIGURE 15 – SYSTEM ACE MODULE..........................................................................................25
FIGURE 16 – VIRTEX-4 MB DEVELOPMENT BOARD CONFIGURATION INTERFACE.............................. 26
FIGURE 17 – VIRTEX-4 MB DEVELOPMENT BOARD JTAG CHAIN................................................... 28
FIGURE 18 – S ERIAL FLASH CONFIGURATION INTERFACE..............................................................29
FIGURE 19 – PC4 JTAG PORT CONNECTOR.............................................................................. 31
FIGURE 20 - VOLTAGE REGULATORS ......................................................................................... 32
December 20, 2005 ii
Page 4
1
1 Overview
The Memec Virtex -4™ MB Development Kit provides a complete development platform for
designing and verifying applications based on the Xilinx Virtex -4 FPGA family. This kit enables
designers to implement DSP and embedded processor based applications with extreme flexibility
using IP cores and customized modules. The Virtex -4 FPGA along with Xilinx MicroBlaze soft
processor core makes it possible to prototype processor based applications, enabling software
design teams early access to a hardware platform prior to working with the final product/target
board.
The Virtex -4 MB system board utilizes the Xilinx XC4VLX25/LX60/SX35 -10FF668C FPGA. The
board includes 64MB of DDR SDRAM, 4MB of Flash, 16-bit LVDS Trans mit and Receive ports,
programmable LVDS clock source, USB-RS232 Bridge, a 10/100 Ethernet PHY, 100 MHz clock
source, RS -232 port, and additional user support circuitry to develop a complete system. The
board also supports the Memec P240 expansion module standard, allowing application specific
expansion modules to be easily added.
2 The Virtex-4 MB System Board
December 20, 2005
Page 5
3 Functional Description
A high-level block diagram of the Virtex-4™ MB development platform is shown below followed
by a brief description of each sub-section. A list of features for this board is shown below:
• Xilinx XC4VLX25/LX60/SX35-10FF668 FPGA
• 64MB of DDR SDRAM
• 4MB of Flash
• 16-Bit LVDS Transmit and Receive Interfaces
• 10/100 Ethernet PHY
• Programmable LVDS Clock Source (25 -700 MHz)
• User LVDS Clock Outputs via Differential SMA Connectors
Figure 1 - Virtex-4 MB Development Platform Block Diagram
3.1 LVDS Interface
The Virtex-4 MB development board provides high -speed LVDS connectors supporting a SPI-4.2
interface. This interface consists of 36 LVDS signal pairs (72 FPGA signals) and 6 single-ended
signals. In addition to the SPI-4.2 interface, the LVDS interface is designed to support XSBI 16-bit
LVDS @644Mbps to support a 10GbE interface on the Virtex -4 MB development platform. The
following sections provide a brief description of the LVDS interface on this development board.
December 20, 2005 3
Page 7
3.1.1 SPI-4.2 Interface
The Virtex-4 MB development board provides a SPI-4.2 via a 16-bit parallel LVDS electrical
interface. The following figure shows the SPI-4.2 interface on the board. The transmit and receive
interface of the SPI-4.2 are implemented using LVDS signals while the status flow cont rol signals
are implemented using single-ended LVTTL signals.
LVDS Signals
SysClk_P
SysClk_N
Transmit
Link Layer
Virtex-4 FPGA
4VLX25-FF668
TDat[15:0]
TDClk
TCtl
TStat[1:0]
TSClk
LVTTL Signals
TDat[15:0]
TDClk
TCtl
TStat[1:0]
TSClk
LVDS
Connectors
LVDS Signals
RDat[15:0]
RDClk
RCtl
RStat[1:0]
RSClk
Receive
Link Layer
RDat[15:0]
RDClk
RCtl
RStat[1:0]
RSClk
LVTTL Signals
Figure 2- SPI-4.2 Interface
3.1.2 SPI-4.2 Pin Assignments
The following table shows the SPI-4.2 pin assignments for the 4VLX25/LX60/SX35 FPGA in the
FF668-pin package. These pin assignments must be used in the board design in order to meet
the SPI-4.2 interface core requirements.
The design of the SPI-4.2 interface requires use of a high -speed and high quality connector. The
V4MB development board uses the SAMTEC QSE type connector for this interface. The QSE-040-01-L-Dx-A connector from SAMTEC provides up to 28 LVDS signal connections in addition
to an adequate number of ground connections for improving the signal quality. Two of these
connectors are used on the V4MB development board to implement the SPI-4.2 interface. In
addition, a mating LVDS extension cable is available from Samtec (part number #EQCD-040-
06.00-TTR-TBL -1). The following figure shows the QSE type connector from SAMTEC (the
picture is obtained from the SAMTEC web site (http://www.samtec.com/).
December 20, 2005 6
Page 10
Figure 3 – SAMTEC QSE Type Connector for the SPI-4.2 Interface
3.2 DDR SDRAM
The Virtex-4™ MB development board provides 64MB of DDR SDRAM memory (x16). A highlevel block diagram of the DDR SDRAM interface is shown below followed by a table describing
the SDRAM memory interface signals.
ddr_dq[3] Data 3
ddr_dq[4] Data 4
ddr_dq[5] Data 5
ddr_dq[6] Data 6
ddr_dq[7] Data 7
ddr_dq[8] Data 8
ddr_dq[9] Data 9
ddr_dq[10] Data 10
ddr_dq[11] Data 11
ddr_dq[12] Data 12
ddr_dq[13] Data 13
ddr_dq[14] Data 14
ddr_dq[15] Data 15
ddr_ba[0] Bank Select 0
ddr_ba[1] Bank Select 1
ddr_dm[0] Write Mask0
ddr_dm[1] Write Mask1
ddr_dqs[0] Data Strobe0
ddr_dqs[1] Data Strobe1
ddr_csn Chip Select L24
The Virtex-4™ MB development board provides 4MB of flash memory (x16). A high-level block
diagram of the flash interface is shown below followed by a table describing the flash memory
interface signals.
flash_addr[3] Address 3
flash_addr[4] Address 4
flash_addr[5] Address 5
flash_addr[6] Address 6
flash_addr[7] Address 7
flash_addr[8] Address 8
flash_addr[9] Address 9
flash_addr[10] Address 10
flash_addr[11] Address 11
flash_addr[12] Address 12
flash_addr[13] Address 13
flash_addr[14] Address 14
flash_addr[15] Address 15
flash_addr[16] Address 16
flash_addr[17] Address 17
flash_addr[18] Address 18
flash_addr[19] Address 19
flash_addr[20] Address 20
flash_d[0] Data 0
flash_d[1] Data 1
flash_d[2] Data 2
flash_d[3] Data 3
flash_d[4] Data 4
flash_d[5] Data 5
flash_d[6] Data 6
flash_d[7] Data 7
flash_d[8] Data 8
flash_d[9] Data 9
flash_d[10] Data 10
flash_d[11] Data 11
flash_d[12] Data 12
flash_d[13] Data 13
flash_d[14] Data 14
flash_d[15] Data 15
flash_cen Chip Select
flash_oen Output Enable
flash_wen Write Enable
flash_rdy Ready
flash_reset Reset
P5
P6
P7
P8
N8
K6
J7
M7
M8
L8
K7
J4
J6
R3
N7
N5
L7
M6
P2
R2
U1
K3
L3
M4
N4
P3
R1
T1
K4
L4
M3
N3
P4
R4
M1
N2
J5
M5
K5
3.4 Clock Sources
The Clock Generation section of the Virtex-4 MB board provides all the necessary clocks for a
MicroBlaze processor, the I/O devices located on the board, as well as the DDR SDRAM
memory. In general, the clock sources on the board are grouped into two categories; differential
and single-ended clock sources. The differential clock sources are primarily used by the LVDS
interface, while the single-ended clock sources are used by the processor section.
An on-board 100MHz oscillator provides the system clock input to the processor section. This
100Mhz clock will be used by the Virtex-4 Digital Clock Managers (DCMs) to generate various
processor clocks. In addition to the above clock inputs, a socket is provided on the board that can
December 20, 2005 9
Page 13
be used to provide single ended LVTTL clock input to the FPGA via an 8 or 4-pin oscillator. The
following figure shows the clock resources on the Virtex-4 MB development board.
SMA
Connectors
LVTTL
P240
Single-ended
CLock
DDR
Feedback
Clock
OSC
@100
MHz
P240
Differential
CLock
Programmable
LVDS Clock
Source
DDR_CLK
LIO_CLKIN_0
D12E13
LIO_CLKIN_1
C15B13A16B15
Bank 1Bank 3
Bank 10
R8
CLK_100
XC4VL25/LX60-FF668
AF11AF10
ETH_RXC
Virtex-4™
Bank 4
AE14AE10
ETH_TXC
LIO_CLKIN_P
B17A17A10B10
LIO_CLKIN_N
CLK_PROG_P
CLK_PROG_N
SPI_TSCLK
SPI
Status
Clock
Figure 6 - Clock Sources on the Virtex-4 MB Board
December 20, 2005 10
SPI_RDCLK_N
SPI_RDCLK_P
CLK_SOCKET
OSC
Socket
SAM_CLK
SAM
CLock
Page 14
The following table provides a brief description of each clock input to the Virtex -4 FPGA.
Table 5 - Clock Inputs
Signal Name FPGA Pin # Description
CLK_PROG_P,
CLK_PROG_N
LIO_CLKIN_P,
LIO_CLKIN_N
LIO_CLKIN_0,
LIO_CLKIN_1
SPI_RDCLK_P,
SPI_RDCLK _N
DDR_CLK C15 DDR Feedback Clock Input – This clock input is connected to
CLK_100 B13 System Clock – This clock input is connected to a 100MHz
CLK_SOCKET AE14 LVTTL Clock Input – LVTTL socket on the Virtex -4 board.
SPI_TSCLK R8 SPI-4.2 Transmit Status Clock Input – This clock input is
ETH_RXC A16 Ethernet Receive Clock Input – This clock input is connected
ETH_TXC B15 Ethernet Transmit Clock Input – This clock input is connected
SAM_CLK AE10 SystemACE Module Clock Input – This clock input is
A10,
B10
B17,
A17
D12,
E13
AF11,
AF10
Positive and Negative Differential System Clock Inputs –
These clock inputs are connected to the output of an LVDS clock
synthesizer. This programmable clock source can generate a
clock frequency of 25 to 700MHz. Refer to the Programmable
LVDS Clock Source section for more information.
P240 Module Differential Clock Input – This clock input is
connected to the P240 connector located on the Virtex -4 board.
P240 Module Single-ended Clock Input s– These clock inputs
are connected to the P240 connector located on the Virtex -4
board.
Positive and Negative Differential SPI-4.2 Receive Clock
Inputs – These clock inputs are connected to the LVDS receive
connector on the Virtex-4 MB board. For the SPI-4.2
applications, these clock inputs are the SPI-4.2 receive clock
outputs.
the DDR clock.
LVTTL oscillator.
connected to the SPI-4.2 transmit status clock output.
to the Ethernet receive clock.
to the Ethernet transmit clock.
connected to the SystemACE Module connector.
3.4.1 Programmable LVDS Clock Source
A programmable LVDS clock synthesizer is used on the Virtex-4 MB development board to
generate a reference clock input to the LVDS interface. The use of this variable clock source,
allows designers to prototype various interconnect technologies with different clock source
requirements. The differential output port is also well suited for DSP applications when driving
external DACs or ADCs.
3.4.2 ICS8442 Programmable LVDS Clock Synthesizer
The Virtex-4 MB development board design uses the ICS8442 LVDS clock synthesizer for
generating various clock frequencies. A list of features included in the ICS8442 device is shown
below.
• Output frequency range: 25MHz to 700MHz
• RMS period jitter: 2.7ps (typical)
• Cycle-to-cycle jitter: 27ps (typical)
• Output rise and fall time: 650ps (maximum)
• Output duty cycle: 48/52
December 20, 2005 11
Page 15
The following figure shows a high -level block diagram of the ICS8442 programmable LVDS clock
synthesizer.
The Input Clock Select signals of the ICS8442 can be used to provide a reference clock input to
the device other than the 25MHz crystal oscillator (for test purposes). The following table shows
how these Input Clock Select signals are used to generate the output clock or to test the ICS8442
device. Please refer to the ICS8442 datasheet for more information on using the TEST_CLK
clock input.
Table 7 – Input Clock Select Signal Description
VCO_SEL XTAL_SEL Reference Clock Input FOUT[0:1]
0 0 TEST_CLK TEST_CLK/N (the TEST_CLK must be between
10 and 25MHz). This mode can be used to test
the ICS8442 device by routing the input clock to
the outputs.
0 1 25MHz crystal 25MHz crystal/N (This mode can be used to test
The ICS8442 output clocks are generated based on the following formula (assuming the crystal
clock input is set to 25MHz):
FOUT[0:1] = 25 x M/N
Where 8 < M < 28 and N can take a value of 1, 2, 4, or 8. The variable M is determined by setting
the binary number M[0:8] while N is set according to the following table:
For example, to generate a 62.5MHz clock, N[1:0] will be set to “10” (it can also be set to “11”
since either one will be the correct frequency range for the 62.5MHz clock) and M will be set to
“000001010” (decimal 10). So, from the above formula:
FOUT[0:1] = 25 x 10/4 = 62.5Mhz
December 20, 2005 13
Page 17
The following table shows how the M and N values can be set to generate a clock source for a
few commo n applications. All the values for M and N are based on the 25MHz crystal clock input
to the ICS8442 device. A complete list of frequencies generated by the ICS8442 (based on a
25MHz input clock) is provided in the following sections.
Table 9 – Examples of the ICS8442 M and N Settings
The ICS8442 provides two different methods of programming the M and N values into the device;
a Parallel Mode and a Serial Mode. In parallel mode, M and N values are programmed into the
device when the nP_LOAD signal pulses low. In the serial mode, the I2C pins (S_DATA and
S_CLOCK) along with the S_LOAD signal are used to shift the M and N values into the device.
Please refer to the ICS8442 datasheet for more information on programming modes of loading
the M and N values into the device.
3.4.5 ICS8442 M and N Settings
The following figure shows how the ICS8442 programmable LVDS clock synthesizer is used on
the Virtex-4 MB board. DIP Switches are provided on the board for manual setting of the M and N
values.
December 20, 2005 14
Page 18
Virtex-4
FPGA
DIP Switch
VCO_SEL
XTAL_SEL
TEST_CLK
FOUT0
nFOUT0
M[0:8]
N[0:1]
nP_LOAD
S_DATA
S_CLOCK
S_LOAD
MR
TEST
CLKOUT0
Parallel LoadSerial Load
ICS8442
Control Inputs
FOUT1
nFOUT1
CLKOUT1
SMA
Connectors
25Mhz
Figure 8 – ICS8442 Clock Synthesizer Interface to the FPGA
As shown in the above figure, the ICS8442 device outputs two identical LVDS clock sources. One
of these clock sources can be used to provide the reference clock input to the LVDS interface on
the Virtex-4 MB development board, while the other clock output can be used to trigger a scope
during testing. The second output could also be used to provide a low jitter, LVDS clock source
to a user board, such as the P240 module.
December 20, 2005 15
Page 19
CLK_PROG_P
Virtex-4
FPGA
CLK_PROG_N
CONTROL
SW3SW9
CLKOUT0
ICS8442
M[8:0]N1:0]
CLKOUT1
25Mhz
SMA
Figure 9 – ICS8442 Clock Synthesizer M and N DIP Switches
The following tables show the DIP Switch settings for M and N selections. Please refer to Table 6
for the information on pull-up and pull -down resistors provided internal to the ICS8442 device for
the M and N input signals.
3.3V
SW3
ON
OFF
10
9
8
7
6
5
4
3
2
1
M0
M1
M2
M3
M4
M5
Synthesizer
M6
M7
M8
Connectors
Figure 10 – M and N DIP Switches for the Synthesizers
Table 13 – FPGA Pin Assignments for the Synthesizer Interface
Signal Name Virtex-4 Pin # Comments
SYNTH_PLOAD V2 This input is used to load the M and N values into the
synthesizer using the parallel mode configuration along
with the DIP switch settings for M and N.
SYNTH_RESET K1 This input signal resets the synthesizer.
SYNTH_SCLK L1 This clock input is used to load the M and N values into
the synthesizer using serial mode configuration.
SYNTH_SDATA T4 Serial data input to the synthesizer for loading the M and
N values.
SYNTH_SLOAD T3 This input signal is used to load the M and N values into
the synthesiz er using the serial mode configuration.
SYNTH_TEST U2 A test clock input can be provided to the synthesizer using
this clock input.
SYNTH_VCOSEL V1 This input signal can be used to bypass the PLL for test
purposes.
SYNTH_XTALSEL U3 This input signal is used to select between the test clock
input and the on-board crystal as clock source to the
synthesizer.
SYNTH_DOUT K2 This output signal is used as the test clock output.
3.5 10/100 Ethernet PHY
The Virtex -4 MB development board provides a 10/100 Ethernet port for network connection. A
high-level block diagram of the 10/100 Ethernet interface is shown in the following figure followed
by FPGA pin assignments for this interface.
December 20, 2005 18
Page 22
TD+
TD-
RD+
RD-
Virtex-4
FPGA
ETH_RXD[0:3]
ETH_RXDV
ETH_RXER
ETH_RXC
ETH_TXD[0:3]
ETH_TXEN
ETH_TXER
ETH_TXC
ETH_COL
ETH_CRS
ETH_MDC
ETH_RESETn
ETH_MDIO
Broadcom
BCM5221
10/100 PHY
Figure 11 – 10/100 Etherne t Interface
The following table shows the FPGA pin assignments for the Ethernet interface.
The Virtex-4 MB development board provides an 8-bit interface to a 2x16 LCD panel (MYTECH
MOC-16216B-B). The following table shows the LCD interface signals.
Table 15 – LCD Interface Signals
Signal Name Description Virtex-4 Pin #
D0
D1 LCD Data Bit 1
D2 LCD Dat a Bit 2
D3 LCD Data Bit 4
D4 LCD Data Bit 4
D5 LCD Data Bit 5
D6 LCD Data Bit 6
D7 LCD Data Bit 7
EN LCD Enable Signal L19
RW LCD Write Signal (this signal is connected to logic “0” on
RS LCD Register Select Signal N21
LCD Data Bit 0
the Virtex-4 MB board, enabling wr ite only cycles).
K25
P19
AC10
AB10
AF12
AE12
AC17
AB17
3.7 USB 2.0 to RS232 Port
The Virtex-4 MB development board implements a USB 2.0 port. This is accomplished using the
Cygnal CP2101 USB-to-UART Bridge Controller. The FPGA interfaces to the CP2102 as a
simple UART. The UART interface to the CP2102 can run at speeds ranging from 300 to 921,600
baud.
The CP2102 is a highly integrated USB -to-UART Bridge Controller, providing a simple solution for
USB serial communications using a minimum of components and PCB space. The CP2102
includes a USB 2.0 full -speed function controller, USB transceiver, oscillator, EEPROM, and
asynchronous serial data bus (UART) with full modem control signals in a compact 5mm X 5mm
MLP-28 package. No other external USB components are required.
The on-chip EEPROM may be used to customize the USB Vendor ID, Product ID, Product
Description String, Power Descriptor, Device Release Number, and Device Serial Number as
desired. The EEPROM is programmed on-board via the USB allowing the programming step to
be easily integrated into the product manufacturing and testing proces s.
Royalty-free Virtual COM Port (VCP) device drivers provided by Cygnal allow the Virtex -4 MB
development board to appear as a COM port to PC applications. The CP2102 UART interface
implements all RS232 signals, including control and handshaking signals. These signals are
interfaced to the Virtex -4 FPGA as follows:
December 20, 2005 20
Page 24
USB
Connector
3
2
Virtex-4
FPGA
USB_SIN
USB_SOUT
USB_RESETn
USB2.0 to RS232
CP2102
RXD
TXD
DTR
D+
D-
D+
D-
Figure 12 – USB 2.0 to RS232 Serial Interface
The following table shows the RS232 interface signal names and their Virtex-4 FPGA pin
assignments.
Table 16- USB 2.0 to RS232 Port Signal Description
FPGA Signal Name Virtex-4 Pin # Description
RS232 Signals
USB_SIN R7 RS232 recei ve signal
USB_SOUT L6 RS232 transmit signal
USB 2.0 Signals
D+ NA USB D+ signal
D- NA USB D- signal
Common Signal
USB_RESETn R6 CP2102 reset signal
To use the USB port, the CP2102 device drivers must be installed. These drivers are included on
the Virtex-4 MB Development Kit CD and contained in the self-extracting file CP2101.exe. To
install the CP2101/2 virtual COM port device drivers, refer to Appendix A.
3.8 RS232
The Virtex -4 MB development board provides an RS232 interface with RX and TX signals and
jumpers for connecting the RTS and CTS signals. The following figure shows the RS232 interface
to the Virtex-4 LX25/LX60/SX35 FPGA.
December 20, 2005 21
Page 25
JP19
2
2 (RD)
RS232
Connector
3 (TD)
7 (RTS)
8 (CTS)
Virtex-4
FPGA
TXD
RXD
Din
Rout
RS232
Drivers
MAX3221
Dout
Rin
RD
TD
JP21
JP22
o
1
2
3
1
3
o
Figure 13 - RS232 Interface
Table 17 – RS232 Signals
Signal Name Description Virtex-4 Pin #
RS232_RXD Received Data, RD U4
RS232_TXD Transmit Data, TD V4
Table 18 - RS232 Jumper Settings
Mode of Operation JP19 JP21
DCE Install a jumper on pins 2-3 Install a jumper on pins 1-2
DTE Install a jumper on pins 1-2 Install a jumper on pins 2-3
A Jumper must be installed on JP22, if RTS and CTS signal connections are needed.
3.9 User DIP and PB Switches
The Virtex-4 MB development board provides four user push button switches as described in the
following table. An active low signal is generated when a given switch is pressed.
Table 19 – Push Button Switch Pin Assignments
Signal Name Description Virtex-4 Pin #
PUSH1 SW5
PUSH2 SW6
PUSH3 SW7
PUSH4 SW8
The Virtex-4 MB development board provides an 8-position DIP switch as described in the
following table. An active low signal is generated when a given switch is ON.
December 20, 2005 22
E2
E1
G10
G9
Page 26
Table 20 – DIP Switch Pin Assignments
Signal Name Description Virtex-4 Pin #
DIP1 User Switch Input 1
DIP2 User Switch Input 2
DIP3 User Switch Input 3
DIP4 User Switch Input 4
DIP5 User Switch Input 5
DIP6 User Switch Input 6
DIP7 User Switch Input 7
DIP8 User Switch Input 8
C10
D10
B6
C6
B4
A4
D2
D1
3.10 User LEDs
The Virtex-4 MB development board provides four user LEDs that can be turned “ON” by driving
the LEDx signal to logic “0”. The following table shows the user LEDs and their associated Virtex4 FPGA pin assignments.
Table 21 – LED Pin Assignments
LED Designation LED # Virtex-4 Pin #
DS9 LED1
DS10 LED2
DS11 LED3
DS12 LED4
N25
V25
L26
K26
3.11 VBAT Jumper
A 3-pin jumper is used to provide user access to the VBAT input of the FPGA. If user is not
sourcing the VBAT voltage, a jumper must be installed on pins 1-2 of the JP27 jumper. User can
source voltage to the VBAT input via pins 2 and 3 of this jumper. The following table shows the
pin assignments for the VBAT jumper.
Table 22 – VBAT Jumper (JP27)
Pin Number Description
1 2.5V
2 VBAT
3 Ground
3.12 Configuration and Debug Ports
Various methods of configuration and debug support are provided on the Virtex -4 MB
development board to assist designers during the testing and debugging of their applications. The
following sections provide brief descriptions of each of these interfaces.
3.12.1 JTAG Chain
The following figure shows the JTAG chain on the Virtex -4 MB development board. The
XC9536XV along with a serial flash is used to configure the FPGA. The serial flash programming
procedure is explained in section 3.11.3.
December 20, 2005 23
Page 27
SAM
Connector
JTAG Port
(PC4)
TDO
TDI
TMS
TCK
JP18
1
3
4
6
2
5
TDI
TMS
TCK
XC9536XV CPLD
TDOTDI
TMS
TCK
Virtex-4 FPGA
TDO
Figure 14 – Vitex-4 MB Development Board JTAG Chain
3.12.2 System ACE Module Connector
The Virtex -4 MB development board provides the SAM 50-pin connector on the board for using
the Memec System ACE Module (SAM). The SAM can be used to configure the FPGA or to
provide bulk flash memory to the MicroBlaze processor.
The Virtex-4 MB development board provides a System ACE interface that can be used to
configure the Virtex-4 FPGA. The interface also gives software designers the ability to run realtime operating systems (RTOS) from removable CompactFlash cards . The Memec System ACE
module (DS -KIT-SYSTEMACE) can be used to perform both of these functions. The figure below
shows the System ACE module connected to the header on the Virtex -4 board.
December 20, 2005 24
Page 28
JTAG Test Port
.......
(inludes VCC and GND)
CF Connector
SystemACE™
Controller
.......
stand-alone operation)
JTAG Configuration Port
(includes VCC and GND for
(connects to a 40-pin 0.1" square post header on the main board)
284
JTAG
Configuration Port
MPU
Interface
Figure 15 – SystemACE Module
50-pin Connector
2
Reset &
Clock
10
Power &
Ground
6
Misc
Signals
3.12.2.1 System ACE Controller Signal Description
The following table shows the System ACE Module signal assignments to the FPGA I/O pins.
This section describes the procedure for programming the Atmel serial data flash on the Memec
Virtex-4 MB development board. This serial flash along with a CPLD is used to configure the
Virtex-4 FPGA located on the development board on power up. The following figure shows a
high-level block diagram of the serial flash interface to the Virtex-4 FPGA.
Master Serial
Interface
SPI Interface
CCLK
DIN
INITn
DONE
Virtex-4
FPGA
FPGA_SI
FPGA_SO
FPGA_SCK
FPGA_CSn
FPGA_WPn
FPGA_RESETn
FPGA_RDY/BUSYn
XC9536XV
CPLD
SI
SO
SCK
CSn
Atmel
AT45DB321B
Serial Flash
WPn
RESETn
RDY/BUSYn
Figure 16 – Virtex-4 MB Development Board Configuration Interface
December 20, 2005 26
Page 30
An interface is provided between the FPGA and the CPLD to allow access to the serial flash after
the FPGA has been configured. This interface uses FPGA I/O pins to interface to the serial flash
via the SPI port. The Virtex -4 FPGA uses 8Mb/18.3Mb/14.5Mb (LX25/LX60/SX35) of the serial
flash memory for configuration and this interface allows the rest of the flash to be used for
general-purpose application after the FPGA has been configured. The following table shows the
signals used to implement the interface between the FPGA and the CPLD after the FPGA has
been configured.
Table 24 – FPGA SPI Interface Pin Assignments
Signal Name Description Virtex-4 Pin #
FPGA_SI Serial Flash SPI port data input signal
FPGA_SO Serial Flash SPI port data output signal
FPGA_SCK Serial Flash SPI port clock input signal
FPGA_CSn Serial Flash SPI port chip select input signal
FPGA_WPn Serial Flash SPI port write protect input signal
FPGA_RESETn Serial Flash SPI port reset input signal
FPGA_RDY/BUSYn Serial Flash SPI port ready output signal
R26
T26
P25
U26
U25
M25
V26
The primary function of the CPLD is to translate the Master Serial interface to the SPI interface of
the serial flash. The XC9536XV CPLD uses the FPGA CCLK clock along with the INITn and
DONE signals to drive the SPI SI, SCK and CSn signals. The SO output of the serial flash is used
by the CPLD to drive the DIN signal of the FPGA. For more information on detail of the CPLD
design, please refer to the Xilinx XAPP800.
3.12.3.1 JTAG Chain on the Virtex -4 MB Development Board
The following figure shows the JTAG chain on the Virtex-4 MB development board. As mentioned
in the above section, the CPLD is used for interfacing to the configuration flash and does not
provide any user logic. Hence, this CPLD is programmed by Memec prior to shipping the board.
The programming file for the CPLD is provided in case re-programming of the CPLD becomes
necessary. The CPLD must be programmed prior to performing any operations on the serial flash such as erasing, programming, reading or verifying.
December 20, 2005 27
Page 31
SAM
Connector
JTAG Port
(PC4)
TDO
TDI
TMS
TCK
JP18
1
3
4
6
2
5
TDI
TMS
TCK
XC9536XV CPLD
TDOTDI
TMS
TCK
Virtex-4 FPGA
TDO
Figure 17 – Virtex-4 MB Development Board JTAG Chain
The following table shows jumper settings for the JTAG chain on the Virtex-4 MB development
board. Since CPLD is already programmed by Memec prior to shipment, the board is shipped
with jumpers installed on pins 1-2 and 4-5 (FPGA only, in the JTAG chain).
Table 25 – JTAG Chain Jumper Settings
Devices in the JTAG Chain JP18 Jumpers Installed
CPLD and FPGA Pins 1-2, 3-4 and 5-6
CPLD Pins 2-3 and 5-6
FPGA Pins 1-2 and 4-5
3.12.3.2 Configuration Flash on the Virtex-4 MB Development Board
The following figure shows the detail interface between the FPGA and the serial flash. A PC4
cable is used to pr ogram the serial flash with the FPGA bitstream. Once the flash is programmed,
the CPLD will read the data from the flash and configure the FPGA over the Master Serial
interface.
December 20, 2005 28
Page 32
JP9
Virtex-4 FPGA
M0
M1
M2
CCLK
DIN
INITn
DONE
XC9536XV
CPLD
JP17
Flash
Programming
Header (PC4)
TDI
TCK
TMS
Atmel
AT45DB321B
Serial Flash
TDO
SI
SO
SCK
CSn
WPn
RESETn
RDY/BUSYn
Flash Programming/
Normal Mode
Jumper
VCC
JP12
Figure 18 – Serial Flash Configuration Interface
3.12.3.3 Procedure for Programming the Serial Flash
1. The Memec Virtex-4 MB development board is shipped with a self-extracting zip file
called Serial_Flash_Programming. Double-click on this self-extracting zip file to unzip it.
After unzipping this file, a folder called C:\Flash_Utilities is created.
2. In order to program the flash, flash programming utilities included in the xapp800 must
be downloaded from the following web site:
http://www.xilinx.com/products/xaw/coolvhdlq.htm
3. Click on the above link to download the xapp800 zip file and unzip it to a temporary
folder on your hard drive. You need to register prior to downloading the xapp800 zip file.
4. Copy xmcsutil.exe and xspi_at.exe files from this temporary folder to the
C:\Flash_Utilities folder. The following table shows the contents of the C: \Flash_Utilities
folder after copying these two executable files.
Table 26 – Files in the Flash_Utilities Folder
File Name Description
December 20, 2005 29
Page 33
xmcsutil.exe A utility that is used to reverse the
bytes in an MCS file. This is needed
by the xspi_at utility.
xspi_at.exe This utility is used to erase, program
and verify the Atmel serial flash on
the Virtex-4 MB development board.
prog_flash.bat This batch file calls the xmcsutil and
xspi_at utilities to erase, program and
verify the Atmel serial flash on the
Virtex-4 MB development board.
spi_cpld.jed Programming file for the XC9536XV
CPLD
5. Generate a bit file for the FPGA
6. Use iMPACT to generate an MCS file for the bit file generated in the previous step. When
generating the MCS file, select a single platform flash device that will hold the entire
design configuration bits. The following table shows the platform fl ash devices that must
be used when generating the MCS file in iMPACT for the Virtex-4 MB board:
Table 27 – Platform Flash Selection
FPGA Platform Flash Used
LX25 XCF08P, XCF16P or XCF32P
LX60 XCF32P
Sx35 XCF16P or XCF32P
7. Un-install JP9 jumpers.
8. Make sure JP12 jumper is un-installed. When JP12 jumper is un-installed, the CPLD
outputs are placed in the tri-state mode allowing the Flash Programming Header to drive
the serial flash SPI bus.
9. Connect a PC4 cable to the Flash Programming Header (JP17) and power up the Virtex 4 MB development board.
10. Copy the MCS file to the C:\Flash_Utilities folder
11. Open a DOS window in the C:\Flash_Utilities folder and enter the following command to
program the serial flash:
Where: design_name.mcs -> The mcs file generated using
the bit file
flash_part_number -> Either AT45DB321B or
AT45DB321C (V4MB board is populated with one or
the other device).
The prog_flash batch file will erase the flash, program and verify it.
December 20, 2005 30
Page 34
12. Once the flash programming is completed, open the verify_result.txt file in the
C:\Flash_Utilities folder. If the flash programming was successful, you should see the
following line in the verify_result.txt file:
--> Total byte mismatches [0]
If there is anything other than this line in the verify_result.txt file, the flash programming
was NOT successful. Check the following jumper settings:
a. Make sure JP9 jumpers are un-installed.
b. Make sure JP12 jumper is un-installed.
After checking these jumper settings go back to the step 11 and re-program the flash.
13. Upon completion of the serial flash programming, power down the board and remove the PC4 cable from the Flash Programming header.
14. Set the mode jumpers to Master Serial (install all mode jumpers on JP9)
15. Install a jumper on JP12.
16. Power up the board and FPGA will configure.
3.12.4 JTAG Port (PC4)
The Virtex-4 MB development board provides a JTAG port (PC4 type) connector for configuration
of the FPGA. The following fig ure shows the pin assignments for the PC4 header on this
development board.
2.5V
PC4
Connector
12
3
5
7
910
11
13
4
6
8
12
14
Figure 19 – PC4 JTAG Port Connector
3.12.5 Configuration Modes
The following table shows the Virtex-4 configuration modes.
Master Serial Yes Closed Closed Closed Closed
Master Serial No Closed Closed Closed Open
Slave Serial Yes Open Open Open Closed
Slave Serial No Open Open Open Open
Master SelectMap Yes Closed Open Open Closed
Master SelectMap No Closed Open Open Open
Slave SelectMap Yes Open Open Closed Closed
Slave SelectMap No Open Open Closed Open
JTAG Yes Open Closed Open Closed
JTAG No Open Closed Open Open
3.13 Voltage Regulators
The following figure shows the voltage regulators that are used on Virtex-4 MB development
board to provide various on-board voltage sources. As shown in the following figure, a connector
is used to provide the main 5.0V voltage to the board. This voltage source is provided to all onboard regulators to generate the 1.2V, 2.5V, and 3.3V voltages.
3.3V2.5V1.2V
3.3V
Connector
3.3V
Regulator
2.5V
Connector
2.5V
Regulator
1.2V
Connector
1.2V
Regulator
5.0V
Connector
Figure 20 - Voltage Regulators
The following table shows the power provided on the development board for the on-board voltage
sources. A 32.5W power adapter (5V @ 6.5A) is used to provide power to the on -board
regulators. The following table shows typical power usage on the Virtex-4 MB development
board.
December 20, 2005 32
Page 36
Table 29 - Power
Voltage Current (A) Power (W) Comments
1.2V 1.5 1.8 FPGA Core voltage
2.5V 2.0 5.0 FPGA I/O voltage, P240 supply voltage
3.3V 3 9.9 FPGA I/O voltage, P240 supply voltage.
Total Power 16.7
For the on-board digital voltages (1.2V, 2.5V, and 3.3V), if the current provided by the on-board
regulator is not sufficient for some applications, the user can directly drive the voltage source and
bypass the on -board regulators.
3.14 Bank I/O Volt age
The following table shows the Virtex-4 bank I/O voltages on the Virtex-4 MB development board.
The following tables show the Virtex -4 pin assignments to the P240 Expansion Module
connectors (JX1 & JX2) located on the Virtex -4 MB development board.
4. Browse to an acceptable installation directory, and then click Next.
CP2101 Destination Location
5. The drivers are extracted to the selected directory. Click Finish once the extraction
completes.
6. To finish the installation, plug the USB cable into the board and a USB port on the PC.
December 20, 2005 38
CP2101 Installation Successful
Page 42
7. Turn the board power switch to the ON position.
8. The Found New Hardware Wizard launches. Click the radio button to Install the
software automatically (Recommended) and then click Next.
Found New Hardware Wizard
9. The driver installation begins . If installing on WindowsXP, a warning is received stating
that Windows Logo testing has not passed, as shown below. Click Continue Anyway.
Windows Logo Testing Not Passed
December 20, 2005 39
Page 43
10. The driver installation completes at this point. Click Finish in the Found New Hardware
Wizard.
CP2101 Driver Installation Complete
11. Open the Device Manager (Control Panel à System à Hardware tab à Device
Manager).
12. Under the Ports heading, a new device shows up, called CP2101 USB to UART Bridge
Controller.
CP2101 Recognized as COM Port
13. If the CP2101 does not show up under ports, it may show up under “Other Devices” with
a yellow exclamation mark. In this case, unplug the USB cable, run the setup manually
(C:\Cygnal\CP2101\WIN\Setup.exe), and then plug the USB cable back in.
14. The O/S automatically assigns a COM Port number, typically between COM3 and COM7.
For consistency, the COM number will be manually changed. Right click on CP2101 USB to UART Bridge Controller and select Properties.
December 20, 2005 40
Page 44
COM Port Properties
15. Change to the Port Settings tab and select Advanced.
16. Select COM10 in the COM Port Number field, and then click OK twice.
December 20, 2005 41
Port Settings – Advanced
Page 45
Changing the COM Port Number
17. Close the Device Manager, and then re-open it. Under Ports, the CP2101 USB to UART
Bridge Controller is now assigned to COM10, as shown below.
CP2101 Assigned to COM10
December 20, 2005 42
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.