Table of Contents

Advertisement

Quick Links

Nios Development Board Stratix II Edition
101 Innovation Drive
San Jose, CA 95134
www.altera.com
Reference Manual
Development Board Version
Document Version
Document Date
6XX-40019R
1.3
May 2007

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Nios Stratix II Edition and is the answer not in the manual?

Questions and answers

Summary of Contents for Altera Nios Stratix II Edition

  • Page 1 Nios Development Board Stratix II Edition Reference Manual 101 Innovation Drive Development Board Version 6XX-40019R San Jose, CA 95134 www.altera.com Document Version Document Date May 2007...
  • Page 2 Altera Corporation in the U.S. and other countries. All other product or service names are the property of their respective holders. Al- tera products are protected under numerous U.S.
  • Page 3: Table Of Contents

    Contents About this Manual................... v How to Contact Altera ..........................v Typographic Conventions ........................vi Chapter 1. Overview Features Overview ..........................1–1 General Description ..........................1–1 Factory-Programmed Reference Design .................... 1–2 Chapter 2. Board Components Component List ............................2–1 Stratix II EP2S60 Device (U60) ......................2–3 Push-Button Switches (SW0 - SW3) ....................
  • Page 4 Connecting the Ethernet Cable ......................B–1 Connecting the LCD Screen ......................B–2 Obtaining an IP Address ........................ B–2 LAN Connection ........................B–3 DHCP ............................ B–3 Static IP Address ........................B–3 Point–to–Point Connections ....................B–4 Browsing to Your Board ........................B–5 Altera Corporation...
  • Page 5: About This Manual

    Email custrain@altera.com Product literature Website www.altera.com/literature Altera literature services Email literature@altera.com Non-technical support (General) Email nacomp@altera.com Email authorization@altera.com (Software Licensing) Note to table: You can also contact your local Altera sales office or sales representative. Altera Corporation May 2007 Preliminary...
  • Page 6: Typographic Conventions

    The warning indicates information that should be read prior to starting or continuing the procedure or processes The angled arrow indicates you should press the Enter key. The feet direct you to more information on a particular topic. Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 7: Chapter 1. Overview

    Four push-button switches connected to FPGA user I/O pins ■ Eight LEDs connected to FPGA user I/O pins ■ Dual 7-segment LED display ■ JTAG connectors to Altera devices via Altera download cables ■ 50 MHz oscillator and zero-skew clock distribution circuitry ■ Power-on reset circuitry General The Nios development board comes pre-programmed with a Nios II processor reference design.
  • Page 8: Factory-Programmed Reference Design

    Ethernet port. For further information on the default reference design, refer to Appendix B: Connecting to the Board via Ethernet. 1–2 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 9 Overview In the course of development, you might overwrite or erase the flash memory space containing the default reference design. Altera provides the flash image for the default reference design so you can return the board to its default state. Refer to Appendix A: Restoring the Factory Configuration for more information.
  • Page 10 Overview 1–4 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 11: Component List

    Four momentary contact switches for user input to the FPGA. D0 – D7 Individual LEDs Eight individual LEDs driven by the FPGA. U8, U9 Seven-segment LEDs Two seven-segment LEDs that display numeric output from the FPGA. Altera Corporation 2–1 May 2007...
  • Page 12 EPCS configuration header Connects to the EPCS serial configuration device for in-system programming. Configuration & Reset MAX Configuration controller Altera MAX EPM7256AE device used to configure the FPGA from flash memory. Serial configuration device Altera EPCS64 low-cost serial configuration device to configure the FPGA.
  • Page 13: Stratix Ii Ep2S60 Device (U60)

    Device (U60) Table 2–2. Stratix II EP2S60 Device Features 60,440 M4K Memory Blocks Total RAM Bits 2,544,192 Embedded 18x18 Multiplier Blocks Enhanced PLLs Fast PLLs User I/O Pins Altera Corporation Reference Manual 2–3 May 2007 Nios Development Board Stratix II Edition...
  • Page 14: Push-Button Switches (Sw0 - Sw3)

    “Configuration Controller Device (U3)” on page 2–33. For Stratix II-related documentation including pin out data for the EP2S60 device, see the Altera Stratix II literature page at www.altera.com/literature/lit-stx2.jsp. Push-Button SW0 – SW3 are momentary-contact push-button switches to provide stimulus to designs in the FPGA. Refer to Figure 2–2.
  • Page 15: Individual Leds (D0 - D7)

    2–3. When a pin LEDs (U8 & U9) drives logic 0, the corresponding U8 and U9 LED turns on. See Table 2–5 for pin-out details. Figure 2–3. Dual Seven-Segment Display Altera Corporation Reference Manual 2–5 May 2007 Nios Development Board Stratix II Edition...
  • Page 16: Ssram Chip (U74)

    Nios II embedded processor as general-purpose memory. The factory-programmed Nios II reference design identifies the SSRAM devices in its address space as a contiguous 2 MByte, 32-bit word, zero-wait-state main memory. 2–6 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 17 ADSC_N ssram_adsc_n BE_n0 ssram_be_n0 BE_n1 ssram_be_n1 BE_n2 ssram_be_n2 BE_n3 ssram_be_n3 CE1_n ssram_ce1_n ssram_d0 ssram_d1 ssram_d2 ssram_d3 ssram_d4 Altera Corporation Reference Manual 2–7 May 2007 Nios Development Board Stratix II Edition...
  • Page 18 OE_n ssram_oe_n WE_n ssram_we_n ADSP_n ssram_adsp_n ADV_n ssram_adv_n ssram_ce2 CE3_n ssram_ce3_n 2–8 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 19: Ddr Sdram Chip (U63)

    6T. The DDR SDRAM pins are connected to the FPGA as shown in Chip (U63) Table 2–7. Altera provides a DDR SDRAM controller that allows a Nios II processor to access the DDR SDRAM device as a large, linearly- addressable memory.
  • Page 20 See www.micron.com for detailed information. 2–10 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 21: Flash Memory (U5)

    Table 2–8. Flash Memory Pin Table FPGA Pin U5 Pin Board Net Name fe_a0 fe_a1 fe_a2 fe_a3 fe_a4 fe_a5 fe_a6 fe_a7 fe_a8 fe_a9 fe_a10 fe_a11 fe_a12 fe_a13 fe_a14 fe_a15 Altera Corporation Reference Manual 2–11 May 2007 Nios Development Board Stratix II Edition...
  • Page 22 The on-board configuration controller makes assumptions about what resides where in flash memory. For details refer to “SW10 – Reset, Config” on page 2–35. See www.amd.com for detailed information about the flash memory device. 2–12 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 23: Ethernet Mac/Phy (U4) & Rj45 Connector (Rj1)

    IO Char Ready enet_iochrdy AA22 Address Strobe enet_ads_n AA21 Local Bus Clock enet_lclk Ready/Return enet_rdyrtn_n AA26 Bus Cycle enet_cycle_n AA25 Write/Read enet_w_r_n Bus Chip Select enet_datacs_n Interrupt enet_intr0 Altera Corporation Reference Manual 2–13 May 2007 Nios Development Board Stratix II Edition...
  • Page 24 Data Line fe_d4 Data Line fe_d5 Data Line fe_d6 Data Line fe_d7 Data Line fe_d8 Data Line fe_d9 Data Line fe_d10 Data Line fe_d11 Data Line fe_d12 2–14 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 25: Serial Connector (J19)

    FPGA and a host computer via an RS-232 (J19) serial cable. Level-shifting buffer (U52) is used between J19 and the FPGA because the FPGA device cannot interface to RS-232 voltage levels directly. Altera Corporation Reference Manual 2–15 May 2007 Nios Development Board Stratix II Edition...
  • Page 26: Expansion Prototype Connectors (Proto1 & Proto2)

    Headers J11, J12, and J13 collectively form Connectors PROTO1, and J15, J16 and J17 collectively form PROTO2. (PROTO1 & The expansion prototype connector interface includes: PROTO2) 2–16 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 27 Do not connect cards to PROTO1 and CON3 at the same time. Damage to one or both cards might result. See the Altera web site for a list of available expansion daughter cards that can be used with the Nios development board at www.altera.com/devkits.
  • Page 28 Figure 2–7. PROTO1 Pin Information – J11, J12, & J13 Notes to Figure 2–7: Unregulated voltage from DC power supply. Clk from board oscillator. Clk from FPGA. Clk output from PROTO1 card to FPGA. 2–18 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 29 Altera Corporation Reference Manual 2–19 May 2007 Nios Development Board Stratix II Edition...
  • Page 30 PROTO2 expansion headers to the FPGA. Unless otherwise noted, the labels indicate FPGA pin numbers Figure 2–8. PROTO2 Expansion Prototype Connector - J15, J16 & J17 Pin 1 Pin 1 Pin 1 2–20 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 31 Figure 2–9. PROTO2 Pin Information – J15, J16 & J17 Notes to Figure 2–9: Unregulated voltage from DC power supply. Clk from board oscillator. Clk from FPGA. Clk output from PROTO2 card to FPGA. Altera Corporation Reference Manual 2–21 May 2007 Nios Development Board Stratix II Edition...
  • Page 32 2–22 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 33: Compactflash Connector (Con3)

    CompactFlash card. Refer to Figure 2–10. The following two Connector access modes are supported: (CON3) ■ ATA (hot swappable mode) ■ IDE (IDE hard disk mode) Altera Corporation Reference Manual 2–23 May 2007 Nios Development Board Stratix II Edition...
  • Page 34 Damage to one or both cards might result. Table 2–13 lists connections between CON3 and the FPGA. Table 2–13. CompactFlash Pin Table FPGA Pin CON3 Pin Pin Function Board Net Name proto1_io0 proto1_io1 2–24 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 35 IORD_n proto1_io18 IORDY_n proto1_io19 INTRQ proto1_io22 IOCS16_n proto1_io23 proto1_io24 proto1_io25 proto1_io26 CS0_n proto1_io27 DASP proto1_io28 proto1_io29 PDIAG proto1_io30 proto1_io31 proto1_io32 proto1_io33 proto1_io34 proto1_io35 proto1_io36 proto1_io37 WE_n proto1_io38 Altera Corporation Reference Manual 2–25 May 2007 Nios Development Board Stratix II Edition...
  • Page 36: Pmc Connector (Jh1 & Jh2)

    PMC interface. Damage to either the FPGA or daughter card can result if the FPGA is not configured correctly. The factory-programmed Nios II reference design does not include a PMC interface. 2–26 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 37 Refer to “Power-Supply Circuitry” on page 2–44 for more information. Altera Corporation Reference Manual 2–27 May 2007 Nios Development Board Stratix II Edition...
  • Page 38 AF17 pmc_ad13 AC17 pmc_ad14 pmc_ad15 AE16 pmc_ad16 AD16 pmc_ad17 AB16 pmc_ad18 AA16 pmc_ad19 pmc_ad20 AF10 pmc_ad21 AD10 pmc_ad22 pmc_ad23 pmc_ad24 pmc_ad25 pmc_ad26 pmc_ad27 pmc_ad28 pmc_ad29 pmc_ad30 pmc_ad31 2–28 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 39: Mictor Connector (J25)

    Mictor connector for debugging the Nios II processor, any on-chip signals can be routed to I/O pins and probed at J25. External scopes and logic analyzers can connect to J25 and analyze a large number of signals simultaneously. Altera Corporation Reference Manual 2–29 May 2007...
  • Page 40 Board Components For details on Nios II debugging products that use the Mictor connector, see www.altera.com. Figure 2–12 shows an example of an in-target system analyzer ISA- Nios/T by First Silicon Solutions (FS2) Inc. connected to the Mictor connector. For details, see www.fs2.com.
  • Page 41: Test Points (Tp1 - Tp8)

    TP1 – TP8 are test points connected to I/O pins on the FPGA. FPGA designs can route signals to these I/O pins to be probed. TP1 –TP8 also (TP1 – TP8) connect to the configuration controller (U3). Altera Corporation Reference Manual 2–31 May 2007...
  • Page 42: Epcs64 Serial Configuration Device (U69)

    EPCS device. U69 is blank by default. The Quartus II software can program FPGA configuration data (a .pof file) into U69 through an Altera download cable connected to J27. Alternately, software running on a Nios II processor design can write configuration data to U69.
  • Page 43: Configuration Controller Device (U3)

    Device Handbook for more information about the EPCS64 device. See the EPCS Device Controller Core with Avalon Interface chapter in the Quartus II Handbook, Volume 5: Altera Embedded Peripherals for information about the EPCS serial flash controller component in SOPC Builder.
  • Page 44: Configuration & Reset Buttons

    The factory-programmed Nios II reference design treats SW8 as a CPU- reset button. The Nios II reference design resets and starts executing code from its reset address when SW8 is pressed. 2–34 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 45: Sw9 - Factory Config

    When SW10 is pressed, a logic 0 is driven to the power on reset controller (U18). Refer to “Power-Supply Circuitry” on page 2–44 for more details. Whenever SW10 is pressed, the configuration controller attempts to reconfigure the FPGA. Altera Corporation Reference Manual 2–35 May 2007 Nios Development Board Stratix II Edition...
  • Page 46: Reset Distribution

    The configuration controller can manage two separate FPGA configurations stored in flash memory U5. These two configurations are referred to as the factory configuration and the user configuration. A 2–36 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 47: Configuration Process

    EPCS64. If the FPGA is configured in passive serial mode (such as when it is configured from the CFI flash), the EPCS64 device is not available to the FPGA after configuration. Altera Corporation Reference Manual 2–37 May 2007...
  • Page 48: Flash Memory Partitions

    Custom FPGA designs can use the flash memory space in any way necessary. Altera recommends that you not overwrite the factory- programmed flash memory contents. Without a valid factory configuration, the configuration controller may not be able to successfully configure the FPGA.
  • Page 49: User Configuration

    J24 connects to the JTAG pins (TCK, TDI, TDO, TMS, TRST) of the FPGA (U60) as shown in Figure 2–18. Altera Quartus II software can directly configure the FPGA with a new hardware image via an Altera download cable as shown in Figure 2–19. In addition, the Nios II IDE can access the Nios II processor JTAG debug module via a download cable connected to the J24 JTAG connector.
  • Page 50 The pins of J24 are connected directly to pins on J25, and care must be taken so that signal contention does not occur between the two connectors. 2–40 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 51: Jtag Connector To Epm7256Ae Device (J5)

    J5 connects to the JTAG pins (TCK, TDI, TDO, TMS, TRST) of the EPM7256AE device (U3). Altera Quartus II software can perform in- system programming (ISP) to reprogram the EPM7256AE device (U3) with a new hardware image via an Altera download cable as shown in Figure 2–20.
  • Page 52 2–21: To use an external clock signal, remove the crystal oscillator from its socket. Make sure to note the correct orientation of the oscillator before removing it. 2–42 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 53 The 50 MHz oscillator (Y2) is socketed and can be changed or removed by the user. To drive the clock circuitry using the external clock connector (J4), remove Y2. The factory-programmed configuration controller and Altera- provided reference designs work only with the 50 MHz clock. Altera Corporation Reference Manual 2–43...
  • Page 54: Power-Supply Circuitry

    3.3 V power for multiple components on the board. 5.0 V power for multiple components on the board. +12V Power for the PMC connectors. -12V TP13 Power for the PMC connectors. 2–44 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 55: Appendix A. Restoring The Factory Configuration

    Flash Open a Nios II command shell. Memory On a Windows PC, click Windows Start, point to Programs, Altera, Nios II EDS <installed version>, and then click Nios II Command Shell. From the examples directory, change to the factory_recovery directory for your development kit.
  • Page 56 FPGA from flash memory. You should see the Factory LED turned on and activity on LEDs D0 through D7. Your board is now reconfigured to the default factory condition. A–2 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 57: Introduction

    Ethernet hub) do the following: Connect one end of the RJ45 cable to the Ethernet connector on the development board (RJ1). Connect the other end to your LAN connection (hub, router, wall plug, etc.). Altera Corporation B–1 May 2007...
  • Page 58: Connecting The Lcd Screen

    In order to function on a network (either LAN or point-to-point), your board must have an IP address. This section describes the methods to assign an IP address to your board. B–2 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 59: Lan Connection

    Once you know a safe IP address, you can assign it to your board using the steps below. These steps send IP configuration data to the board via an Altera JTAG download cable, such as the USB-Blaster cable.
  • Page 60: Point-To-Point Connections

    For example, the address 10.0.0.1 will work fine. Any address in the 10.0.0.x subnet will work, and there is no possibility of conflicting with another device on the network. After B–4 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...
  • Page 61: Browsing To Your Board

    IP address of the board (four numbers separated by decimal-points) as a URL directly into the browser’s Address input field. You can determine your board’s IP address by reading the messages displayed on the LCD screen. Altera Corporation Reference Manual B–5 May 2007...
  • Page 62 B–6 Reference Manual Altera Corporation Nios Development Board Stratix II Edition May 2007...

Table of Contents