Cyclone II EP2C35 PCI Development Board Reference Manual PreliminaryMay 2005
Contents
About This Manual
How to Contact Altera .............................................................................................................................. v
Typographic Conventions ........................................................................................................................ v
Chapter 1. Introduction
General Description ............................................................................................................................... 1–1
Clocks & Clock Distribution ........................................................................................................... 2–6
Power ................................................................................................................................................. 2–7
RS-232 Serial Interface ................................................................................................................... 2–15
AS Interface ..................................................................................................................................... 2–15
AS Interface Header ....................................................................................................................... 4–12
EPCS64 Serial Flash Interface ....................................................................................................... 4–12
Control & User Settings ...................................................................................................................... 4–13
User LEDs ........................................................................................................................................ 4–13
DIP Switch Bank Board & User Settings ..................................................................................... 4–13
Altera Daughter Card & Mictor Probe ............................................................................................. 4–15
ii Altera Corporation
PreliminaryMay 2005
About This Manual
This manual provides comprehensive information about the Altera®
Cyclone™II EP2C35 PCI Development Board.
How to Contact
Altera
For the most up-to-date information about Altera products, go to the
Altera world-wide web site at www.altera.com. For technical support on
this product, go to www.altera.com/mysupport. For additional
information about Altera products, consult the sources shown below.
Typographic ConventionsCyclone II EP2C35 PCI Development Board Reference Manual
Visual CueMeaning
Italic typeInternal timing parameters and variables are shown in italic type.
Examples: t
PIA
, n + 1.
Variable names are enclosed in angle brackets (< >) and shown in italic type.
Example: <file name>, <project name>.pof file.
Initial Capital LettersKeyboard keys and menu names are shown with initial capital letters. Examples:
Delete key, the Options menu.
“Subheading Title”References to sections within a document and titles of on-line help topics are
shown in quotation marks. Example: “Typographic Conventions.”
Courier type Signal and port names are shown in lowercase Courier type. Examples: data1,
tdi, input. Active-low signals are denoted by suffix n, e.g., resetn.
Anything that must be typed exactly as it appears is shown in Courier type. For
example:
c:\qdesigns\tutorial\chiptrip.gdf. Also, sections of an
actual file, such as a Report File, references to parts of files (e.g., the AHDL
keyword
SUBDESIGN), as well as logic function names (e.g., TRI) are shown in
Courier.
1., 2., 3., and
a., b., c., etc.
● •Bullets are used in a list of items when the sequence of the items is not important.
■
Numbered steps are used in a list of items when the sequence of the items is
important, such as the steps listed in a procedure.
v The checkmark indicates a procedure that consists of one step only.
1 The hand points to information that requires special attention.
The caution indicates required information that needs special consideration and
c
understanding and should be read prior to starting or continuing with the
procedure or process.
The warning indicates information that should be read prior to starting or
continuing the procedure or processes
r The angled arrow indicates you should press the Enter key.
f The feet direct you to more information on a particular topic.
iv Altera Corporation
PreliminaryMay 2005
1. Introduction
General
Description
The Cyclone™II EP2C35 PCI Development Board provides a hardware
platform for developing and prototyping high-speed PCI and PCI-X bus
interfaces, double data rate 2 (DDR2) SDRAM, and the 10/100 Ethernet
interface.
®
Based on Cyclone II FPGAs and using Altera
MegaCore® functions or
Altera Megafunction Partners Program (AMPPSM) megafunctions, the
Cyclone II EP2C35 PCI Development Board allows users to quickly solve
design problems that typically require time-consuming, custom
solutions.
The board supports the EP2C35F672 Cyclone II device, which is
optimized for high-bandwidth DSP functions. The board also supports
the PCI Local Bus Specification, Revision 3.0 and PCI-X, Revision 2.0 mode 1.
Altera provides a DDR2 SDRAM reference design for use as either a
design starting point or an experimental platform. The reference design is
designed and tested by Altera engineers and distributed with the PCI Development Kit, Cyclone II Edition (ordering code: PCI-DEVKIT-2C35).
fFor more information on the DDR2 SDRAM reference design, refer to
AN 390: PCI-to-DDR2 SDRAM Reference Design.
Components
The board provides the following components:
■Short-form universal PCI (3.3 or 5.0 V) card
●32 or 64-bit PCI bus operating at 33 or 66 MHz
●32 or 64-bit PCI-X bus operating at 66 or 100 MHz
■Memory
●Two 32-MByte DDR2 SDRAM devices
●EPCS64 devices
■FPGA device configuration
●Switch-selectable on power-up, choose one of two serial
configuration devices (EPCS64 devices). One device contains
the pre-loaded factory default design, and the other device is for
user-programming. Configuration data is downloaded via the
™
USB-Blaster
■Flexible clocking options
●Socketed 100-MHz high-speed clock oscillator
●SMA connector clock input
Altera Corporation Core Version a.b.c variable1–1
May 2005Preliminary
●External power supply via laptop power supply cable
■Expansion & Debugging Interfaces
●Joint Test Action Group (JTAG) interface connector
●32-bit Mictor probe connector
●Altera Daughter Card (PROTO1)
●10/100 Ethernet (RJ-45 connector)
●Serial RS-232 (DB-9 connector)
1–2Core Version a.b.c variableAltera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Block Diagram
Figure 1–1shows the board’s block diagram.
Figure 1–1. PCI Development Board, Cyclone II Edition Block Diagram
PCI, PCI-X
Connector
Introduction
PCI Bus Switches
64-MByte DDR2
SDRAM Memory
Altera Daughter
Card (PROTO1)
Mictor Probe
Debug Connector
10/100 Ethernet
JTAG Connector
External Power
Connector
+16 V DC INPUT
PCI Edge
Connector
+3.3V
RS-232
Powe r
Regulators
EP2C35F672
Cyclone II
Device
+3.3 V
+1.8 V
+1.2 V
Power LEDs
High-Speed Clock Oscillator
SMA Clock Connector
Pushbutton Switches
DIP Switch Settings
User DIP switches
Jumpers
Status LEDs
User LEDs
EPCS64 Safe Flash
Serial Programmer
To gg l e
Switch
Active Serial
Configuration
EPCS64 User Flash
Serial Programmer
Altera Corporation Core Version a.b.c variable1–3
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Handling the Board
Handling the
Board
When handling the board, it is important to observe the following
precaution:
Static discharge precaution—Without proper anti-static handling
the board can be damaged. Therefore, take anti-static
precautions while handling the board.
1–4Core Version a.b.c variableAltera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
2. Board Components &
Interfaces
Board Overview
This chapter provides operational and connectivity detail for the board’s
major components and interfaces.
fFor pin-outs and signal specifications, refer to Chapter 4, Pin-Outs &
Signal Specifications.
™
Figure 2–1 shows a top view of the Cyclone
Board.
Figure 2–1. Cyclone II EP2C35 PCI Development Board Major Components & Interfaces
Reconfigure
User Push-
Button Switches
Configuration
Status LED
(D10 Botton Red)
Configuration
Done LED
(D10 Top Green)
EPCS64 Device
Select Switch (J3)
User (Down) & Safe (Up)
JTAG Connector (J8)
SMA Clock (J5)
10/100 Ethernet
Connector (RJ1)
Power Indicators
(D13 through D15)
RS-232 (J12)
RS-232 Tx LED(D18)
RS-232 Rx LED (D17)
(S1, S5)
Push-Button
Switch (S2)
User LEDs
(D1 through D8)
Power Switch
(SW1)
PCI Connector (J13)
Cyclone II Device (U9)
User
Reset
(S3)
Mictor Probe
Connector (J4)
10/100 Ethernet
MAC/PHY (U3)
User DIP Switch
Bank (S4)
PCI Level Converters
(U13 through U17)
(U20 through U24 on back)
Altera Daughter
Card Interface
(J1, J6, J7)
II EP2C35 PCI Development
Power Supply Input
Ground Test Point (TP1)
VREF Test Point (TP4)
User-Programmable
EPCS64 Device (U7)
Safe (Factory-Programmed)
EPCS64 Device
(U19 on back)
Active Serial
Interface
Connector (J11)
DDR2 SDRAM
(U6, U10)
Altera Corporation Core Version 4.0.02–1
May 2005Preliminary
Board Overview
Table 2–1lists the board’s major components and interfaces.
Table 2–1. Cyclone II EP2C35 PCI Development Board Components & Interfaces (Part 1 of 2)
Type
FPGACyclone II deviceU9The EP2C35F672 device is installed on the board for the
PCI, PCI-XPCI connectorJ13Universal PCI and PCI-X bus interfaces. Refer to
Installed at J9100-MHz high-speed reference clock.
S3User-defined hardware reset.
S2Reconfigure Cyclone II device.
S4,
position 1
S4,
position 2
S4,
position 3
S1, S5User configurable.
positions 4-8
“PCI Level Converters” on page 2–4.
or user-programmable EPCS64 for Cyclone II device
configuration.
configuration interface.
programming (may not be installed).
Indicates reconfiguration in progress or configuration
error.
Indicates Cyclone II configuration is complete.
Enables PCI-X extensions. See Table 2–3 on page 2–5.
If enabled, selects PCI-X operating speed (i.e., 66 or
133 MHz). See Table 2–5 on page 2–5.
Selects PCI bus operating speed (66 or 33 MHz). See
Table 2–4 on page 2–5.
User configurable, 5 switches.
Description
2–2Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Board Components & Interfaces
Table 2–1. Cyclone II EP2C35 PCI Development Board Components & Interfaces (Part 2 of 2)
Type
User indicatorUser LEDsD1 through D8User configurable.
PowerPower connectorJ2External power supply connector.
Powe r
indicators
Test pointsVREFTP4VREF test point near VTT/VREF regulator.
Expansion
interface
I/O10/100 EthernetU3, RJ1,
Serial I/ORS-232U12, J12RS-232 serial interface level shifter, DB9 connector.
DebugMictor probeJ4Mictor probe interface for Agilent logic analyzers.
Component/
Interface
+5.0-V power OK
LED
+3.3-V power OK
LED
+1.8-V power OK
LED
+1.2-V power OK
LED
GroundTP1Ground test point near power connector.
®
daughter
Altera
card (PROTO1)
RS-232 Tx LEDD18RS-232 transmitter active indicator.
RS-232 Rx LEDD17RS-232 receiver active indicator.
Board
Reference
D155.0-V power supply indicator.
D133.3-V power supply indicator.
D141.8-V power supply indicator.
D161.2-V power supply indicator.
TP2Ground test point near PWR SWITCH.
TP3Ground test point near MICTOR.
TP5 Ground test point near oscillator socket.
TP6Ground test point near DDR2 SDRAM.
TP7Ground test point near QDRII SRAM.
J1, J6, J7Interface to Altera daughter card (PROTO1).
10/100 Ethernet MAC/PHY, RJ-45 connector,
OSC1
25-MHz oscillator.
Description
Note to Ta b le 2 –1 :
(1) The Cyclone II EP2C35 PCI Development Board was designed to use either the EP2C35F672, EP2C50F672, or
EP2C70F672 device. However, the board ships with—and was only tested with—the EP2C35F672 device.
Altera Corporation Core Version 4.0.02–3
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Component Operation
Component
Operation
This section describes the board’s operation, providing detailed
component descriptions.
Cyclone II Device
The Cyclone II device (U9) is connected to all of the board’s components
through appropriate on-chip interfaces and board circuitry. The device
supports PCI and PCI-X bus interfaces, the DDR2 SDRAM, as well as the
10/100 Ethernet. Users can program the Cyclone II device to implement
custom designs.
fFor more information on Cyclone II devices, refer to the Cyclone II Device
Family Data Sheet section of the Cyclone II Device Handbook.
PCI & PCI-X Bus Support & Compatibility
The board is compatible with Altera® PCI MegaCore® functions
(pci_mt64, pci_mt32, pci_t64, pci_t32), AMPP
megafunctions, and other third-party vendor megafunctions.
The Cyclone II devices and PCI connector (J13) support PCI Local Bus Specification, Revision 3.0 and PCI-X, Revision 2.0 mode 1. See Table 2–2.
Table 2–2. PCI & PCI-X Bus Support
ApplicationWidth (Bits)Voltage (V)Speed (MHz)
PCI32 and 643.3 or 5.0 V33 or 66 MHz
PCI-X 32 and 643.3 V66 or 100 MHz
SM
PCI and PCI-X
PCI Level Converters
Board components U13 - U17 and U20 - U24 are IDT IDTQS3861Q level
converters that convert between 5.0-V PCI backplane signals and
Cyclone II 3.3-V signals.
2–4Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Board Components & Interfaces
PCI Operating Mode, Speed & DIP Switch Settings
Tables 2–3, 2–4, and 2–5 list the board’s PCI operating mode and speed,
and the corresponding DIP switch (S4) bank setting.
Table 2–3. PCI Operating Mode Setting
DIP Switch Position 1 (PCI Mode)PCI Operating Mode
OffPCI-X at the speed shown in Table 2–5.
OnPCI at the speed shown in Table 2–4.
Table 2–4. PCI Operating Speed Setting
DIP Switch Position 3 (PCI SPD)PCI Operating Speed (MHz)
Off66 MHz
On33 MHz
Table 2–5. PCI-X Operating Speed Setting
DIP Switch Position 2 (PCI XSPD)PCI-X Operating Speed (MHz)
Off133 or 100 MHz
On66 MHz
Memory
The board has the following memory components:
■Two 32-MByte DDR2 SDRAM devices
■Two EPCS64 serial configuration (flash) devices
DDR2 SDRAM Memory
The board was tested with the Altera 167-MHz, DDR2 SDRAM Controller
MegaCore function version 3.2.0. Two 16M × 16 DDR2 SDRAM devices
are connected to banks 3 and 4 of the Cyclone II device as a single
16M × 32 memory block.
EPCS64 Serial Configuration (Flash) Devices
The board has two EPCS64Sl16N serial configuration devices (U7 and
U19) that upon power-up programs the Cyclone II device. The board
contains one EPCS64Sl16N device that is user-programmable, and one
preloaded, factory-programmed EPCS64Sl16N device.
Altera Corporation Core Version 4.0.02–5
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Component Operation
fFor more information on serial configuration devices, refer to the Serial
Configuration Devices (EPCS1, EPCS4, EPCS16 & EPCS64) Data Sheet
chapter in volume 2 of the Configuration Handbook.
Clocks & Clock Distribution
The board has two clock sources driven directly to the Cyclone II device.
Using the PLLs integrated within the Cyclone II device, the designer has
significant flexibility to achieve the appropriate clock configuration.
Table 2–6shows the board’s clock sources.
fRefer to the PLLs in Cyclone II Devices chapter in the Cyclone II Device
Handbook for more information.
Table 2–6. Cyclone II EP2C35 PCI Development Board Clock Sources
Signal NameSourceDestination
LPCIX_CLKPCI connector (J13.B16) through
level shifter (U13.13 and U13.11)
and resistor (R29)
OSCA_CLK1Socketed 100-MHz oscillator
(J4.5) through resistor (R61)
OSCA_CLK6Socketed 100-MHz oscillator
(J4.5) through resistor (R62)
CLK_SMASMA clock input connector (J5.1) Cyclone II device (U9.N2)PLL1
CLK_FROM_PROTO1Altera daughter card (PROTO1)
(J7.13)
DDR2_SYNC_CLKCyclone II device (U9.B7)Cyclone II device (U9.AF14)PLL4
CLK_25MHZOn-board 25-MHz 10/100
Ethernet oscillator (OSC1.4)
Note:
(1) A global clock input can directly feed Cyclone II PLLs. Table 2–6 shows the direct connections and does not show
the connection via global clock networks.
Cyclone II device (U9.P26)PLL2
Cyclone II device (U9.N1)PLL1
Cyclone II device (U9.P25)PLL2
Cyclone II device (U9.P2)PLL1
Ethernet MAC/PHY device (U3.127) N/A
Primary
PLL (1)
SMA Clock Input Requirements
The SMA clock input, CLK_SMA, can be provided by an external signal
source through the J5 connector. Use a 50-Ω signal source and cable with
an LVTTL-type signal (square-wave, with a voltage swing from 0.0 to
+3.3 V). The maximum CLK_SMA input frequency is 464 MHz; the
maximum board frequency with the SMA clock is 500 MHz.
2–6Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Board Components & Interfaces
Cyclone II Output Clocks
Table 2–7lists the Cyclone II output clocks and their destinations.
This section describes the on-board switching regulators. The board can
be powered from one of the following sources:
■PCI connector J13 supplies +3.3 V and +5.0 V
■Power connector J2 supplies +16 V from external power source
(40 W) that is regulated to 3.3 V
+3.3-V Regulator
The board contains a switching regulator (U2) that takes in the external
power source of +9 V to +20 V and regulates down to +3.3 V. All power
associated with various required voltage levels are regulated either from
the PCI 3.3-V power source or from a 3.3-V power source generated from
the power connector (stand-alone operation only). Only one power
source is required at a time.
+1.8-V Regulator
A switching regulator (U4) generates +1.8 V for the Cyclone II device I/O
and DDR2 SDRAM voltages from +3.3 V.
+1.2-V Regulator
A switching regulator (U1) generates +1.2 V for the Cyclone II internal
core voltage from +3.3 V.
Altera Corporation Core Version 4.0.02–7
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Component Operation
External Power Jack
Board header J2 is a power receptacle from a standard laptop power
supply. Ta bl e 2– 8shows that the external power switch (SW1) enables the
external power supply.
Table 2–8. External Power Supply Enable
External Power Switch (SW1)
Position (PWR SWITCH)
OffDisable external power supply
OnEnable external power supply
Description
1If both the external power and the PCI power are supplied at the
same time, the board draws power from the external power
supply for all power rails except the 5.0-V power rail. Therefore,
when the PCI 3.3-V circuit transistors detect external power
supply voltage, they disable the power from the PCI connector.
The external power switch does not control the power from the
PCI connector.
Test Points
Table 2– 9shows the board’s power supply test points.
Table 2–9. Board’s Power Supply Test Points
Signal
Name
VREFTP40.9-V VREF for DDR2 SDRAM
Ground TP5 Ground test point near oscillator socket.
Reference
Designator
TP1Ground test point near power connector.
TP2Ground test point near PWR SWITCH.
TP3Ground test point near MICTOR.
TP6Ground test point near DDR2 SDRAM.
Description
2–8Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Board Components & Interfaces
LEDs
This section describes the board’s LED resources.
Power LEDs
There are four power indication LEDs on the board, see Table 2–10.
Table 2–10. Board Power LEDs
Board
Reference
5.0 V (1)D15Green5.0-V power is on.
3.3 VD13Green3.3-V power is on.
1.8 VD14Green1.8-V power is on.
1.2 VD16Green1.2-V power is on.
Note:
(1) The power indication LED for +5.0 V requires that the board be plugged into a
PCI slot.
Reference
Designator
ColorDescription
Status LEDs
Table 2–11shows the board’s status LEDs.
Table 2–11. Board Status LEDs
Board Reference
CONF_DONED10.Anode (Top)GreenIndicates that the Cyclone II
CONF_STATUSnD10.Cathode
TXD18GreenSerial cable (RS-232) is
RXD17GreenSerial cable (RS-232) is
Reference
Designator
(Bottom)
ColorDescription
device has been successfully
configured.
RedIndicates that the Cyclone II
device received an error
during device configuration.
transmitting data.
receiving data.
Altera Corporation Core Version 4.0.02–9
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Component Operation
Ethernet LEDs
Table 2–12 shows the Ethernet LEDs.
Table 2–12. Ethernet LEDs
Board Reference
Ethernet RJ45RJ1GreenIndicates Ethernet link
Ethernet RJ45RJ1YellowIndicates Ethernet link
Reference
Designator
ColorDescription
activity
User LEDs
Table 2–13 lists the user LEDs, which are identified as components
D1-D8. For information on connecting the user LED signals with the
Cyclone II pins, refer to “User LEDs” on page 4–13.
Table 2–13. User LEDs
Number
0D8GreenUser defined
1D7GreenUser defined
2D6GreenUser defined
3D5GreenUser defined
4D4GreenUser defined
5D3GreenUser defined
6D2GreenUser defined
7D1GreenUser defined
Reference
Designator
ColorDescription
2–10Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Board DIP Switch Settings
Table 2–14 describes the board DIP switch bank (S4) settings.
Table 2–14. Board DIP Switch Settings
Board Components & Interfaces
Board
Reference
PCI XSPDSwitch S4 Position 2OnSelects PCI-X bus operating speed. Refer to Table 2–5.
PCI MODE Switch S4 Position 1OnToggles between PCI and PCI-X operating modes. Refer to
PCI SPD Switch S4 Position 3OffSelects PCI bus operating speed. Refer to Table 2–4.
User SW0Switch S4 Position 4OffUser defined. These DIP switches are directly connected to
User SW1Switch S4 Position 5Off
User SW2Switch S4 Position 6Off
User SW3Switch S4 Position 7Off
User SW4Switch S4 Position 8Off
Board DIP Switch
Settings
Factory
Default
Setting
Description
Table 2–3.
the Cyclone II device. These switches are momentarycontact, push-button switches that provide stimulus to
designs in the Cyclone II device. Each switch is connected
to a Cyclone II general purpose I/O pin with a pull-up
resistor. When a switch is pressed, the Cyclone II device
pin will detect a logic 0; when the switch is not pressed, the
Cyclone II device pin will detect a logic 1. The push-button
switches are tied high with a pull-up resistor.
Altera Corporation Core Version 4.0.02–11
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Component Operation
Figure 2–2 shows the board’s DIP switch circuitry.
Figure 2–2. Board User DIP Switch Settings
Off (open)
PCI Mode
PCI XSPD
PCI M66EN
USER SW0
USER SW1
USER SW2
USER SW3
USER SW4
PCIX 66SEL133
S4
1
2
3
4
5
6
7
8
On (closed)
16
15
14
13
12
11
10
9
PCI M66EN
USER SW0
USER SW1
USER SW2
USER SW3
USER SW4
10K Ω resistors
9
7
6
5
4
3
2
1
3.3V
8
10
11
12
13
14
15
16
2–12Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Push-Button Switches
Table 2–15 describes the board’s push-button switches.
Table 2–15. Push-Button Switches
Board Components & Interfaces
Board
Reference
Reference
Designator
Description
RECONFIGS2Causes Cyclone II device to reload configuration
RESETS3User-defined hardware reset.
PB0S1User-defined. These switches are momentary-contact, push-button switches that
PB1S5
provide stimulus to designs in the Cyclone II device. Each switch is connected to
a Cyclone II general purpose I/O pin with a pull-up resistor. When a switch is
pressed, the Cyclone II device pin will detect a logic 0; when the switch is not
pressed, the Cyclone II device pin will detect a logic 1. The push-button switches
are tied high with a pull-up resistor.
Figure 2–3 shows the board’s push-button switch circuitry.
Figure 2–3. Board Push-Button Switches
3.3 V
R35
R40
S2
1
2
S3
1
2
S5
2
1
S1
2
1
R33
10K Ω resistors
R34
RECONFIG
RESETn
USER PB1n
USER PB0n
Altera Corporation Core Version 4.0.02–13
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Interface Operation
Interface
Operation
This section describes the board’s expansion and debugging interface
operation.
The board includes the following interfaces:
■Altera daughter card (PROTO1)
■10/100 Ethernet
■RS-232 serial
■AS interface
■JTAG
■SignalTap
■Mictor probe
®
II logic analyzer via the JTAG debug interface
Altera Daughter Card (PROTO1) Interface
Board connectors J1, J6, and J7 allow the board to accept optional boards
with an Altera daughter card (PROTO1) interface. These connectors can
also be used for general purpose debugging, or an expansion interface
with 41 pins of LVTTL signals, which are shared with the Mictor probe
connector (J4).
Table 2–16 shows the maximum allowed current draw for the Altera
daughter card (PROTO1) interface.
Table 2–16. Maximum Allowed Current Draw for Altera Daughter Card
Voltage (V)Maximum Current (A)
3.32A
fFor more information about the following:
■The Altera daughter card interface and to guarantee a longer life for
the card, refer to either the Stratix II or Cyclone II Editionsof the Nios
Development Board Reference Manuals.
■Available Altera daughter cards that can be used with the PCI
development board, Cyclone II edition, refer to
www.altera.com/devkits.
10/100 Ethernet
Board reference U3 is an SMSC LAN91C111 10/100 Ethernet MAC/PHY,
and board reference RJ1 is an RJ-45 connector with integrated magnetics
and activity LEDs.
2–14Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
Board Components & Interfaces
RS-232 Serial Interface
Board reference J12 is a DB-9 connector wired as an RS-232 serial DTE
device. U12 shifts the RS-232 signals to LVTTL levels for connection to the
Cyclone II device.
AS Interface
Board connector J11 provides active serial programming to the EPCS64
device using an Altera USB-Blaster™ cable.
JTAG
Board connector J8 provides access to the board’s JTAG port using a
USB-Blaster cable.
SignalTap II Logic Analyzer
The JTAG debug interface can also be used for the Altera SignalTap II
logic analyzer.
fFor more information on the SignalTap II logic analyzer, refer to the
Design Debugging Using the SignalTap II Embedded Logic Analyzer chapter
in volume 3 of the Quartus II Handbook.
Mictor Probe
Board connector J4 is a Mictor header that provides probing capability for
internal Cyclone II device signals. The Mictor probe is compatible with
the Agilent Technologies E5346A Probe Adapter for use with Agilent
Technologies Logic Analyzers. The PROTO1 connector signals are shared
with the Mictor probe and Altera daughter card interfaces, and the
signals on the Mictor header (J4) are shared with the Altera daughter card
signals (J1, J6, and J7).
™
Use the SignalProbe
Cyclone II signals to the J4 connector. You do not need to recompile the
Cyclone II device design to use the SignalProbe feature.
fFor more information on the SignalProbe feature, refer to the Quick
Design Debugging Using Signal Probe chapter in volume 3 of the Quartus II
Handbook.
Altera Corporation Core Version 4.0.02–15
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
incremental routing feature to route internal
Interface Operation
2–16Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference Manual May 2005
3. Using the Board
Introduction
Apply Power to
the Board
This chapter provides step-by-step instructions for using the board. You
can configure the board with either the pre-loaded, factory-programmed
(safe) design or with a new design. This chapter discusses both.
To configure the board, there are four main steps:
■Apply power to the board
■Configure the Cyclone
●Serial flash configuration
●JTAG configuration via either:
™
II device using either:
•The SRAM object file (.sof)
•JTAG indirect configuration (.jic) files and the Cyclone II
device’s Serial FlashLoader (SFL) image
■Program the serial flash memory using either:
●The conventional active serial programming method
●The SFL programming scheme for in-system programming via
the JTAG interface
■Configure the board for bench-top operation
Introduce power in one of the following ways:
■Install the board in a universal PCI slot
■Connect an external power supply to the external power connector
(J2)
1No damage will occur if the external power supply is connected
while the board is installed in the PCI slot. When both power
sources are applied, the board is designed to operate from the
PCI slot’s power supply.
To operate the board with an external power supply, perform the
following steps:
1.Insert the connector of a 9 to 20-V laptop power supply into the J2
header.
2.Set the PWR SWITCH (SW1) to the On position.
Refer to Table 2–8
on page 2–8.
Altera Corporation Core Version 4.0.03–1
May 2005Preliminary
Configure the Cyclone II Device
Configure the
Cyclone II
Device
The on-board Cyclone II device can be configured in one of two ways:
■Serial flash configuration
■JTAG configuration
Serial Flash Configuration
Serial flash configuration of the Cyclone II device can be accomplished in
two ways:
■Configuration via user-programmable flash memory
■Configuration via factory-programmed design
Configuration via User-Programmable Flash Memory
The Cyclone II FPGAs use SRAM cells to store configuration data.
Because SRAM memory is volatile, configuration data must be
downloaded to the Cyclone FPGAs each time power is applied to the
board.
The board has a non-volatile configuration scheme that automatically
configures the Cyclone II device with either a user-programmable or
factory-programmed default design. A switch (J3) is used to select either
the user-programmable or the factory-programmed ECPS64 device. In
referring to the switch position, the board’s bench-top operation
perspective is used. Therefore, when the switch is in the Up position, it is
switched away from the bench and in the same direction as the
component side of the board; the Down position is in the opposite
position.
Upon power-up, the configuration circuit (comprised of the selected
EPCS64 device) configures the Cyclone II device. If the switch (J3) is set
for user configuration (Down position), the circuit attempts to load the
user design. If the load is not successful, the CONF_DONE LED (D10)
does not illuminate and the Cyclone II device is not configured. If the load
is successful, the CONF_DONE LED illuminates.
Configuration via Factory-Programmed Design
When the factory-programmed design is loaded into the Cyclone II
device, the user LEDs blink and the CONF_DONE LED illuminates. To
select the factory default design, set the switch (J3) to the Up position.
fFor more information on either the user-programmable or
factory-programmed design, refer to the PCI Development Kit, Cyclone II
Edition Getting Started User Guide.
3–2Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference ManualMay 2005
JTAG Configuration
Using the Board
The Cyclone II device can be configured after power is applied to the
board. The JTAG interface permits the Quartus
Cyclone II device with a user design through the Altera® USB-Blaster™
download cable. The user design remains in the Cyclone II device until
power is removed from the board.
To configure the Cyclone II device using the Quartus II software and the
USB-Blaster cable, perform the following steps:
1.Attach the USB-Blaster cable to the J8 header.
2.Open the Quartus II SRAM Object File (.sof) that you want to load
into the device. This step launches the Quartus II Programmer.
3.Select USB-Blaster as the hardware. For instructions, refer to
Changing the Hardware Setup in Quartus II Help.
4.Set the mode to JTAG.
5.Click Start.
1If the board is installed into a computer’s PCI slot when it is
configured by the USB Blaster cable, the computer system could
lock up. If this happens, reset the computer. Do not shut down
the computer or the configuration will be lost. Restart the
computer to re-enumerate the PCI bus.
®
II software to load the
Upon successful configuration, the CONF_DONE LED (D10) illuminates.
fFor information on how to use the USB-Blaster cable, refer to the
following:
■USB-Blaster Download Cable User Guide
■Quartus II Help
Program the
Serial Flash
Memory
Altera Corporation Core Version 4.0.03–3
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
The serial flash memory can be programmed in one of two ways:
■Active serial programming
■In-system programming via the JTAG and the SFL solution
1The in-system programming method via the SFL solution is only
for the user-programmable EPCS64 device. The
factory-programmed EPCS64 device’s image is not to be
replaced.
Program the Serial Flash Memory
Figure 3–1 illustrates both the conventional (AS programming) method
of programming serial configuration devices as well as the in-system
programming method using the SFL solution.
Figure 3–1. Conventional Vs In-System Programming Method
Conventional Method of Programming Serial Configuration Devices via the AS Interface
The SFL Provides an In-System Programming Solution via the JTAG Interface
JTAG Chain
JTAG Interface
FPGA
ByteBlaster II Download Cable,
Microprocessor, etc
FPGA
SFL Image
to bridge the
JTAG
JTAG interface
and ASMI
AS Interface
ASMI
Configuration
AS Interface
Serial
Device
Configuration
Serial
Device
3–4Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference ManualMay 2005
Using the Board
Table 3–1lists the advantages and disadvantages of both methods.
Table 3–1. Advantages & Disadvantages
MethodAdvantageDisadvantage
ConventionalSimple and fastRequires separate programming
interface to configure FPGAs and
program serial configuration
devices.
SFL solutionAble to configure the
FPGA and program serial
configuration devices
using the same JTAG
interface
Slow because the SFL solution
needs to configure the FPGA before
programming serial configuration
devices.
Active Serial Programming
This section provides active serial programming steps for both the
user-programmable and preloaded, factory-programmed EPCS64
devices.
User-Programmable EPCS64 Device
This section provides the steps to program the user-programmable
EPCS64 device’s serial flash memory via the active serial programming
method.
To program the user-programmable EPCS64 device’s serial flash memory
using the Quartus II software, follow these steps:
1.Write your custom programmer object file (.pof) into flash memory.
fFor instructions on either writing a POF to flash memory or creating a
POF, refer to Quartus II Help.
2.Choose Programmer (Tools menu). The Chain1.cdf window
displays.
3.Scroll to Active Serial Programming in the Mode field.
4.To select the user-programmable EPCS64 device, set the switch (J3)
to the Down position.
If the switch (J3) is in the Up position (factory-programmed), the
factory-programmed design will be overwritten.
Altera Corporation Core Version 4.0.03–5
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Program the Serial Flash Memory
5.Connect the USB-Blaster download cable to the active serial
6.Choose Add File and browse to the POF file.
7.Click Open.
8.Click Start. The user-programmable EPCS64 device is programmed
To load the program from the user-programmable EPCS64 device to the
Cyclone II device, follow these steps:
1.Power-down the board by setting the SW1 switch in the Off
2.Perform a power-on reset by setting the SW1 switch in the On
This section provides the steps to load the factory-created reference
design into factory-programmed (safe) EPCS64 device’s serial flash
memory via the active serial programming method.
configuration connector, J11.
via the active serial header.
position.
position. This will load the user-programmable flash memory data
into the Cyclone II device.
To program the pre-loaded, factory-programmed (safe) EPCS64 device’s
serial flash memory using the Quartus II software, follow these steps:
1.Choose Programmer (Tools menu). The Chain1.cdf window
displays.
2.Scroll to Active Serial Programming in the Mode field.
3.To select the preloaded, factory-programmed EPCS64 device, set the
switch (J3) to the Up position.
4.Connect the USB-Blaster download cable to the active serial
configuration connector, J11.
5.Choose Add File and browse to the factory-programmed POF file.
6.Click Open.
7.Click Start. The factory-created reference design is loaded into the
factory-configuration region of the EPCS64 device via the active
serial header.
3–6Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference ManualMay 2005
Using the Board
To load the program from the factory-programmed EPCS64 device to the
Cyclone II device, follow these steps:
1.Power-down the board by setting the SW1 switch in the Off
position.
2.Perform a power-on reset by setting the SW1 switch in the On
position. This will load the factory-created reference design into the
Cyclone II device.
In-System Programming via the JTAG & the SFL Solution
(User-Programmable EPCS64 Device Only)
Although serial configuration devices do not directly support the JTAG
interface, Cyclone II devices have an IP image that can be used as a bridge
between the JTAG interface and active serial interface of the serial
configuration device. Therefore, JTAG in-system programming is
possible for serial configuration devices.
To program the user-programmable EPCS64 device via the SFL solution,
follow these steps:
1.Convert the SOF to a JIC file.
2.Use the Quartus II Programmer to program the JIC file into the
EPCS64 device. For step-by-step instructions, refer to AN 370: Using the Serial FlashLoader with the Quartus II Software.
The Quartus II software automatically programs the SFL image into
the Cyclone II device, erases the EPCS64 device data, and programs
the JIC image into the EPCS64 device. This process overwrites the
existing image in the Cyclone II device and replaces it with the SFL
image.
3.Reconfigure the FPGA with the new configuration data. This can be
done by either cycling the power to the board or pressing the
Reconfigure switch (S2).
Altera Corporation Core Version 4.0.03–7
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
Configure the Board for Bench-Top Operation
Configure the
Board for
Bench-Top
Operation
The development board is initially configured for installation in a
conventional PCI slot. Five standoffs and five screws are included for
bench-top operation.
To configure the board for bench-top operation, follow these steps:
1.Position the board face up with the PCI bracket on the left.
2.Insert a screw in the hole next to PWR SWITCH (SW1) and fasten a
standoff to the screw.
3.Insert a screw in the hole next to RS-232 LEDs (D17 and D18) and
fasten a standoff to the screw.
4.Insert a screw in between J6 and J7 and fasten a standoff to the
screw.
5.Insert a screw in the hole next to external power jack (J2) and fasten
a standoff to the screw.
6.Insert a screw in the lower right corner next to J11 and fasten a
standoff to the screw.
To configure the board, perform the following steps:
1.Create a POF for your design.
2.Write the POF into flash memory.
3.Select the user-programmable EPCS64 device by setting the switch
(J3) to the Down position.
4.Force the device to reconfigure by pressing the RECONFIG
push-button (S2).
3–8Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference ManualMay 2005
4. Pin-Outs & Signal
Specifications
Introduction
PCI & PCI-X Bus
Interfaces
This chapter provides the following board pin-out and signal
specifications:
■PCI & PCI-X bus interfaces
■Memory
■I/O
■Configuration
■Control & user settings
■Altera
Board header J13 is a 3.3/5.0-V universal PCI connector. Board
components U13 - U17 and U20 - U24 are level converters that reduce
5.0-V PCI backplane signals to allowable 3.3-V ranges. Figure 4–1 shows
PCI signal flow between the PCI connector and the Cyclone
the level converters.
Figure 4–1. PCI Signal Flow Using Level Converters
Table 4–1shows the relationship between the PCI signal, PCI connector,
Cyclone II device pin, and the local signal. The level converters are not
shown.
®
daughter card
PCI ConnectorLevel Converters
™
II device via
Cyclone II Device Banks 5 & 6
Table 4–1. PCI Signals & Connections (Part 1 of 4)
PCI Signal
PCI_CLK/PCIX_CLK B16W26/P26LPCI_CLK
PCI_RSTnA15N25LPCI_RSTn
PCI_LOCKnB39V22LPCI_LOCKn
PCI_INTAnA6M20LPCI_INTAn
PCI_IDSELA26M25LPCI_IDSEL
Altera Corporation Core Version 4.0.04–1
May 2005Preliminary
PCI Connector
(J13)
Cyclone II Pin
(U9)
Local Signal
PCI & PCI-X Bus Interfaces
Table 4–1. PCI Signals & Connections (Part 2 of 4)
PCI Signal
PCI_REQnB18N20LPCI_REQn
PCI_REQ64nA60V26LPCI_REQ64n
PCI_GNTnA17M24LPCI_GNTn
PCI_ACK64nB60V25LPCI_ACK64n
PCI_FRAMEnA34N24LPCI_FRAMEn
PCI_DEVSELnB37R25LPCI_DEVSELn
PCI_IRDYnB35P23LPCI_IRDYn
PCI_TRDYnA36N23LPCI_TRDYn
PCI_STOPnA38P24LPCI_STOPn
PCI_PARA43T20LPCI_PAR
PCI_PAR64A67U26LPCI_PAR64
PCI_PERRnB40U24LPCI_PERRn
PCI_SERRnB42U23LPCI_SERRn
PCI_CBEn0A52R20LPCI_CBEn0
PCI_CBEn1B44T22LPCI_CBEn1
PCI_CBEn2B33T24LPCI_CBEn2
PCI_CBEn3B26T25LPCI_CBEn3
PCI_CBEn4B66U20LPCI_CBEn4
PCI_CBEn5A65U21LPCI_CBEn5
PCI_CBEn6B65V24LPCI_CBEn6
PCI_CBEn7A64V23LPCI_CBEn7
PCI_AD0A58L20LPCI_AD0
PCI_AD1B58L21LPCI_AD1
PCI_AD2A57L24LPCI_AD2
PCI_AD3B56L25LPCI_AD3
PCI_AD4A55M19LPCI_AD4
PCI_AD5B55M22LPCI_AD5
PCI_AD6A54M23LPCI_AD6
PCI_AD7B53R24LPCI_AD7
PCI_AD8B52U22LPCI_AD8
PCI_AD9A49U25LPCI_AD9
PCI_AD10B48W21LPCI_AD10
PCI_AD11A47W23LPCI_AD11
PCI Connector
(J13)
Cyclone II Pin
(U9)
Local Signal
4–2Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference ManualMay 2005
Pin-Outs & Signal Specifications
Table 4–1. PCI Signals & Connections (Part 3 of 4)
PCI Signal
PCI_AD12B47W24LPCI_AD12
PCI_AD13A46W25LPCI_AD13
PCI_AD14B45Y21LPCI_AD14
PCI_AD15A44Y23LPCI_AD15
PCI_AD16A32Y24LPCI_AD16
PCI_AD17B32Y25LPCI_AD17
PCI_AD18B30Y26LPCI_AD18
PCI_AD19B30AA23LPCI_AD19
PCI_AD20A29AA24LPCI_AD20
PCI_AD21B29AA25LPCI_AD21
PCI_AD22A28AA26LPCI_AD22
PCI_AD23B27AB23LPCI_AD23
PCI_AD24A25AB24LPCI_AD24
PCI_AD25B24AB25LPCI_AD25
PCI_AD26A23AB26LPCI_AD26
PCI_AD27B23AC23LPCI_AD27
PCI_AD28A22AC25LPCI_AD28
PCI_AD29B21AC26LPCI_AD29
PCI_AD30A20AD24LPCI_AD30
PCI_AD31B20AD25LPCI_AD31
PCI_AD32A91B24LPCI_AD32
PCI_AD33B90B25LPCI_AD33
PCI_AD34A89C24LPCI_AD34
PCI_AD35B89C25LPCI_AD35
PCI_AD36A88D23LPCI_AD36
PCI_AD37B87D25LPCI_AD37
PCI_AD38A86D26LPCI_AD38
PCI_AD39B86E22LPCI_AD39
PCI_AD40A85E23LPCI_AD40
PCI_AD41B84E24LPCI_AD41
PCI_AD42A83E25LPCI_AD42
PCI_AD43B83E26LPCI_AD43
PCI_AD44A82F23LPCI_AD44
PCI Connector
(J13)
Cyclone II Pin
(U9)
Local Signal
Altera Corporation Core Version 4.0.04–3
May 2005Cyclone II EP2C35 PCI Development Board Reference Manual
PCI & PCI-X Bus Interfaces
Table 4–1. PCI Signals & Connections (Part 4 of 4)
PCI Signal
PCI_AD45B81F25LPCI_AD45
PCI_AD46A80F26LPCI_AD46
PCI_AD47B80G21LPCI_AD47
PCI_AD48A79G22LPCI_AD48
PCI_AD49B78G23LPCI_AD49
PCI_AD50A77G26LPCI_AD50
PCI_AD51B77H23LPCI_AD51
PCI_AD52A76H25LPCI_AD52
PCI_AD53B75H26LPCI_AD53
PCI_AD54A74J20LPCI_AD54
PCI_AD55B74J21LPCI_AD55
PCI_AD56A73J23LPCI_AD56
PCI_AD57B72J24LPCI_AD57
PCI_AD58A71J25LPCI_AD58
PCI_AD59B71J26LPCI_AD59
PCI_AD60A70K22LPCI_AD60
PCI_AD61B69K23LPCI_AD61
PCI_AD62A68K25LPCI_AD62
PCI_AD63B68K26LPCI_AD63
PCI Connector
(J13)
Cyclone II Pin
(U9)
Local Signal
Table 4–2shows the PCI system configuration signals.
Table 4–2. PCI System Configuration Signals
Board Settings DIP
Board Reference
Switch Bank
PCI Signal
Positions (S4)
PCI SPDSwitch S4, position 3 PCI_M66ENB49Ground
PCI ModeSwitch S4, position 1 PCI_XCAPB38Ground
PCI XSPDSwitch S4, position 210-K Ω resistor to ground
4–4Core Version 4.0.0Altera Corporation
Cyclone II EP2C35 PCI Development Board Reference ManualMay 2005
PCI Connector
(J13)
Attribute
Pin-Outs & Signal Specifications
Memory
This section describes the DDR2 memory pin-outs and signal
specifications.
DDR2 SDRAM Memory
The DDR2 SDRAM memory devices installed at U6 and U10 use SSTL-1.8
Class II signaling and termination. A reference voltage of 0.9 V is
supplied to banks 3 and 4 for SSTL-1.8 receiver biasing. On-board
resistors provide terminations in both ‘fly-by’ and non ‘fly-by’
orientations. Figure 4–2 shows the DDR2 SDRAM memory termination
connections for the data, data strobe, and data mask pins. The on-board
DDR2 SDRAM memory devices share their pins on the Cyclone II device
for address and control nets, whereas the data nets are independent.