Home

Stratix IV GX FPGA Development Kit User Guide

image

Contents

1. The following sections describe the controls on the SRAM amp Flash tab May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 8 a a a The DDR3 Tab Chapter 6 Board Test System Using the Board Test System SRAM This control allows you to read and write the SRAM on your board Type a starting address in the text box and click Read Values starting at the specified address appear in the table The SRAM addresses display in the format the Nios II processor within the FPGA uses that is each SRAM address is offset by 0x00400000 Thus the first location in SRAM appears as 0x00400000 in the GUI If you enter an address outside of the 0x00400000 to Ox005FFFFF SRAM address space a warning message identifies the valid SRAM address range To update the SRAM contents change values in the table and click Write The application writes the new values to SRAM and then reads the values back to guarantee that the graphical display accurately reflects the memory contents Flash This control allows you to read and write the flash memory on your board Type a starting address in the text box and click Read Values starting at the specified address appear in the table The flash memory addresses display in the format the Nios II processor within the FPGA uses that is each flash memory address is offset by 0x04000000 Thus the first location in flash memory appears as 0x04000000 in the GUI If
2. A 2 Creating Flash Files Using the Nios EDS A 2 Programming Flash Memory Using the Board Update Portal A 3 Programming Flash Memory Using the Nios EDS A 3 Restoring the Factory Design to the Flash Device A 4 Additional Information Revision History seinen ee Be en Info 1 How to Contact Altera nen Reale ERO KU RE eed Info 1 Typographic Conventions eee Hh E Info 1 May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide vi Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation N D RYN 1 About This Kit Introduction The Altera Stratix IV GX FPGA Development Kit is a complete design environment that includes both the hardware and software you need to develop Stratix IV GX FPGA designs The PCI SIG compliant board and a one year license for the Quartus IT software provide everything you need to begin prototyping for Stratix IV GX FPGAs The following list describes what you can accomplish with the development kit m Develop and test PCI Express 2 0 designs using the PCI SIG compliant development board m Develop and test memory subsystems consisting of DDR3 and QDR memory m Build designs capable of migrating to Altera s low cost HardCopy IV ASICs m Take
3. demos Contains demonstration applications documents Contains the development kit documentation examples Contains the sample design files for the Stratix IV GX FPGA Development Kit factory_recovery Contains the original data programmed onto the board before shipment Use this data to restore the board with its original factory contents Installing the USB Blaster Driver The Stratix IV GX FPGA board includes integrated USB Blaster circuitry for FPGA programming However for the host computer and board to communicate you must install the USB Blaster driver on the host computer To install the driver follow the instructions on the USB Blaster Driver for Windows XP page of the Altera website May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 3 4 Chapter 3 Software Installation Installing the USB Blaster Driver Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation NE 274 4 Development Board Setup Introduction The instructions in this chapter explain how to set up the Stratix IV GX FPGA development board Powering Up the Board Le To power up the board perform the following steps 1 Verify the rotary switch SW2 is set to the 0 position 2 Verify the settings for the JTAG DIP switch bank SW6 located on the back of the board match Table 4 1 These settings determine the devices to include in the JTAG chain Table 4 1 SW6 Dip Switch Set
4. 14 Performance Indicators zu 34 te NUM HE Beek a ORE dR ER ENR 6 14 The Video Tab iier rae ra OS amer dati i a LE Rak OR EIA OH ERS 6 15 HDM ea bl ques eer A eite da ae 6 15 SDE 52 eie c e dr epi E EE 6a RES RR Sad ema eA rag 3 ES 6 16 Reset assessment cheats dubs ee PEN a E 6 17 Load iem a ag Te Pee PI Ra eren 6 17 Status CHE ERE PES tpe Un soba per RAP 6 17 Error Control 42544 prr EE bp Mn nb een Rhoden ete dede ES 6 17 The Power Monitor uaa ae a Re VADER UE Vade 6 17 MAX IL Information e ioti ew ae ar 6 18 Temperature Information enn 6 19 PowerInformation ccc ce ee hh re 6 19 12V Power Consumption e 6 19 MU UNI LIEN 6 19 Graph Setting eese ee Re RE 2000 te IE E cree Rr ua e Fe he b ege nee 6 19 ole RI ERG aaa Cui aa EE EUER RR E a E 6 19 Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Calculating POWER ua aussen sfr as nenn E Fem eres 6 20 Configuring the FPGA Using Quartus Programmer 6 20 Appendix A Programming the Flash Memory Device Introduction NCMO A 1 CFI Flash Memory Map 4440222222 A 1 Preparing Design Files for Flash Programming
5. 8 The DDR3 Tab 3245 E Y be bce 2 back Y ba ha e ag dee ae bh aes 6 8 Port 6 9 Start 2e pr Pda Eds qb EO E XY Y RW E Ren 6 9 EEE 6 9 Performance Indicators 444 444 282 6 9 Error Control eer BR ae e edes 6 10 Number of addresses to write read 6 10 Data type ar ai nite ode de Ven es a Se ate 6 10 RAW COMOL so atero nn E CAE ee Gt aces ani 6 10 The ODRIT Tab 24 9 een ob ER E teases 6 10 Port edge iado gud a a nana Race BETES 6 11 Statt TP T 6 11 DOP i es ee ee ee eS 6 11 Performance Indicators nee en en teen a 6 11 Error Control srei tin en geben ER eat a Wie Pa d E RECO PER ae 6 12 Number of addresses to write read 2 6 12 Data type 4 aes acing ae ae eee ty eee tu aes rt rege 6 12 The HSMC Tab 1 5 oce EN RI ex parsers elected pA a EN e AR Ep ad 6 12 Stats isa ardent scan UE SECUS E ER ee e t aa ace eed 6 13 ossis eut ek okt hake he tero te eod BB Ra 6 14 Error Control 22 25 22 ya ERES abaisse DER X RPG eA dose GGG Ret 6 14 SLATE oes odes dure b rar dq Ea gc na ee 6 14 pa an ae a 6
6. Write Read Write MBytes s Read MBytes s Error Control Detected Errors Inserted Errors Insert Error Glear r Number of addresses to write read 0 0 1 L 1 L 1 1 Min Max 1024 Messages Detected ODRII Project type PRBS The following sections describe the controls on the ODRII tab Port This control directs communication to one of two QDR II ports on your board Start This control initiates QDR port transaction performance analysis Stop This control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last pressed Start Write and Read performance bars Show the percentage of maximum data rate that the requested transactions are able to achieve May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 12 The HSMC Tab Chapter 6 Board Test System Using the Board Test System Write MBytes s and Read MBytes s Show the number of bytes of data analyzed per second Error Control These controls track transaction errors detected during analysis Detected Errors Displays the number of transaction errors detected in the hardware Inserted Errors Displays the number of errors inserted into the transaction stream Insert Error Inserts a one word error into the transaction st
7. C Memory C Math c RI W control Read Write ReadOnly C Write Only The following sections describe the controls on the DDRS tab Port This control directs communication to one of two DDR3 memory ports on your board A 16 bit interface connects to the top bank of the Stratix IV GX FPGA and a 64 bit interface connects to the bottom banks of the FPGA Start This control initiates DDR3 memory transaction performance analysis Stop This control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last pressed Start May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 10 The QDRII Tab Chapter 6 Board Test System Using the Board Test System Write Read and Total performance bars Show the percentage of maximum data rate that the requested transactions are able to achieve Write MBytes s Read MBytes s and Total MBytes s Show the number of bytes of data analyzed per second Error Control These controls track transaction errors detected during analysis Detected Errors Displays the number of transaction errors detected in the hardware Inserted Errors Displays the number of errors inserted into the transaction stream Insert Error Inserts a one word error into the transaction stream each time you click the button Insert Error
8. 1 Connect the USB cable to the board 2 Set the rotary switch SW2 to the 1 position 3 Verify the settings for the board settings DIP switch bank SW4 match Table 6 1 Table 6 1 SW4 Dip Switch Settings Switch Position Off Off On Off On On On On oy By N 4 Verify the settings for the JTAG DIP switch bank SW6 located on the back of the board match Table 6 2 Table 6 2 SW6 Dip Switch Settings Switch Position Off On On On N For more information about the board s DIP switch settings refer to the Stratix IV GX FPGA Development Board Reference Manual 5 Turn the power to the board on The board loads the design stored in the user portion of flash memory into the FPGA If your board is still in the factory configuration or if you have downloaded a new version of the Board Test System to flash memory through the Board Update Portal the design that tests the GPIO SRAM and flash memory loads To ensure operating stability keep the USB cable connected and the board powered on when running the demonstration application The application cannot run correctly unless the USB cable is attached and the board is on CAUTION May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 4 Chapter 6 Board Test System Launching the Board Test System Launching the Board Test System To run the app
9. ANU SPAN 101 Innovation Drive San Jose CA 95134 www altera com Stratix IV GX FPGA Development Kit User Guide Document Version 1 0 Document Date May 2009 Copyright 2009 Altera Corporation All rights reserved Altera The Programmable Solutions Company the stylized Altera logo specific device designations and all other words and logos that are identified as trademarks and or service marks are unless noted otherwise the trademarks and service marks of Altera Corporation in the U S and other countries All other product or service names are the property of their respective holders Altera products are protected under numerous U S and foreign patents and pending ap plications maskwork rights and copyrights Altera warrants performance of its semiconductor products to current specifications in accordance with Altera s standard warranty but reserves the right to make changes to any products and services at any time without notice Altera assumes no responsibility or liability arising out of the application or use of any information product or service described herein except as expressly agreed to in writing by Altera Corporation Altera customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services UG 01061 1 0 LS EN ISO 9001 NE 274 Contents Chapter 1 About This Kit Introduction seeria oe Yd uadit ee d
10. Development Kit User Guide 4 2 Chapter 4 Development Board Setup Powering Up the Board For more information about the PFL megafunction refer to AN 386 Using the Parallel Flash Loader with the Quartus II Software Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation N D RYN 5 Board Update Portal Introduction The Stratix IV GX FPGA Development Kit ships with the Board Update Portal example design stored in the factory portion of the flash memory on the board The design consists of a Nios II embedded processor an Ethernet MAC and an HTML web server When you power up the board with the rotary switch SW2 set to the 0 position the Stratix IV GX FPGA configures with the Board Update Portal example design The design can obtain an IP address from any DHCP server and serve a web page from the flash on your board to any host computer on the same network The web page allows you to upload new FPGA designs to the user portion of flash memory and provides links to useful information on the Altera website including links to kit specific and design resources 57 After successfully updating the flash memory user design you can load the user design from flash memory into the FPGA To do so set the rotary switch SW2 to the 1 position and power cycle the board The source code for the Board Update Portal design resides in the lt install dir NstratixQIVGX 4sgx230es fpgaNexamples directory If the
11. MAX II code resides in the lt install dir gt stratixIVGX_4sgx230es_fpga factory_recovery directory Newer revisions of this code might be available on the Stratix IV GX FPGA Development Kit page of the Altera website Power Rail Indicates the currently selected power rail The rotary switch SW2 on your board controls which rail to measure After setting the switch for the desired rail click Reset to refresh the screen with new board readings Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 19 The Power Monitor A table of the power rail switch positions is available in the Stratix IV GX FPGA Development Board Reference Manual Temperature Information These controls display temperature readings for the board and the FPGA on the board FPGA Indicates the temperature of the FPGA device Board Indicates the overall board temperature Power Information This control displays current maximum and minimum power readings for the following units m mVolts m mAmps m mWatts 12V Power Consumption This control displays 12V power consumption readings for the following units m mAmps m mWatts Power Graph This control displays the mWatt power consumption of your board over time The green line indicates the current value The red line indicates the maximum value read since the last reset Yellow line indicates the minimum value read since last reset Graph
12. Setting These controls allow you to define the look and feel of the power graph Scale Select Specifies the amount to scale the power graph Select a smaller number to zoom in to see finer detail Select a larger number to zoom out to see the entire range of recorded values Update Speed Specifies how often to refresh the graph Reset This control clears the graph resets the minimum and maximum values and restarts the Power Monitor May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 20 Chapter 6 Board Test System Calculating Power Calculating Power The Power Monitor calculates power by measuring two different voltages with the LT2418 A D and applying the equation P V x I to determine the power consumption The LT2418 measures the voltage after the appropriate sense resistor Vsense and the voltage drop across that sense resistor Vdif The current 1 is calculated by dividing the measured voltage drop across the resistor by the value of the sense resistor I Vdif R Through substitution the equation for calculating power becomes P V x I Vsense x Vdif R Vsense x Vdif x 1 003 You can verify the power numbers shown in the Power Monitor with a digital multimeter that is capable of measuring microvolts to ensure you have enough significant digits for an accurate calculation Measure the voltage on one side of the resistor the side opposite the power source and then measure the
13. advantage of the modular and scalable design by using the high speed mezzanine card HSMC connectors to interface to one of over 20 different HSMCs provided by Altera partners supporting protocols such as Serial RapidIO 10 Gigabit Ethernet SONET Common Public Radio Interface CPRI Open Base Station Architecture Initiative OBSAI and others Kit Features This section briefly describes the Stratix IV GX FPGA Development Kit contents Hardware m Stratix IV GX EP4SGX230 FPGA Development Board A development platform that allows you to develop and prototype hardware designs running on the Stratix IV GX FPGA For detailed information about board components and interfaces refer to the Stratix IV GX FPGA Development Board Reference Manual m Power Supply and Cables The development kit includes the following items Power supply and AC adapters for North America Japan Europe and the United Kingdom m USB cable m Ethernet cable m SMBcable May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 1 2 Chapter 1 About This Kit Kit Features Software m Altera Complete Design Suite DVD A DVD that includes the following items Quartus II Software The Quartus II software including the SOPC Builder system development tool provides a comprehensive environment for system on a programmable chip SOPC design The Quartus II software integrates into nearly any design environment and provides interfaces
14. click the configure command that corresponds to the functionality you wish to test 2 In the dialog box that appears click Configure to download the corresponding design s SRAM Object File sof to the FPGA The download process usually takes about a minute 3 When configuration finishes click Close to complete the configuration process and run the design in the FPGA A corresponding application tab appears in the GUI that interfaces with the design in the FPGA Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 5 Using the Board Test System The Config Tab The Config tab shows information about the board s current configuration Figure 6 1 on page 6 2 shows the Config tab The tab displays the contents of the MAX II registers the MAX II code version the JTAG chain the board s MAC address and the flash memory map The following sections describe the controls on the Config tab MAX II Registers This control allows you to view and change the current MAX II register values as described in Table 6 3 Table 6 3 MAX II Registers Read Write Register Name Capability Description Software Reset Write only Set to 0 to initiate an FPGA reconfiguration SRST Page Select Register Read Write Determines the page of flash memory to use for FPGA PSR reconfiguration Page Select Override Read Write When set to 0 the PSR determ
15. install the Altera software tools perform the following steps 1 Insert the Altera Complete Design Suite DVD into your computer 2 Follow the installer instructions to complete the installation process If you have difficulty installing the Quartus II software refer to the Quartus Installation amp Licensing for Windows and Linux Workstations Licensing Considerations Before using the Quartus II software you must request a license file from the Altera Licensing page on the Altera website and install it on your computer When you request a license file Altera emails you a license dat file that enables the software To license the Quartus II software you need your network interface card NIC ID which is a 12 digit hexadecimal number that identifies your computer On the computer you ll use to run the Quartus II software type ipconfig allata command prompt to determine the NIC ID for your computer Your NIC ID is the number on the physical address line without the dashes To obtain a license perform the following steps 1 Goto the Get My Altera License page on the Altera website 2 Under Development Kit Licenses Request click Licenses for RoHS Compliant Kits 3 Follow the on screen instructions to request your license You will receive a license file through email May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 3 2 Chapter 3 Software Installation Installing the Stratix IV GX Devel
16. to industry standard EDA tools Thekit includes a development kit edition DKE license for the Quartus software Windows platform only This license entitles you to all the features of the subscription edition for a period of one year After the year you must purchase a renewal subscription to continue using the software For more information refer to the Altera website www altera com m MegaCore IP Library A library that contains Altera IP MegaCore functions You can evaluate MegaCore functions by using the OpenCore Plus feature to do the following m Simulate behavior of a MegaCore function within your system m Verify functionality of your design and quickly and easily evaluate its size and speed m Generate time limited device programming files for designs that include MegaCore functions m Program a device and verify your design in hardware The OpenCore Plus hardware evaluation feature is an evaluation tool for prototyping only You must purchase a license to use a MegaCore function in production For more information about OpenCore Plus refer to AN 320 OpenCore Plus Evaluation of Megafunctions m Nios II Embedded Design Suite EDS A full featured set of tools that allow you to develop embedded software for the Nios II processor which you can include in your Altera FPGA designs m Stratix IV GX FPGA Development Kit CD ROM A CD ROM that includes all the documentation and design examples for th
17. type of data contained in the transactions The following data types are available for analysis m PRBS Selects pseudo random bit sequences m Memory Selects a generic data pattern stored in the on chip memory of the Stratix IV GX device m Math Selects data generated from a simple math function within the FPGA fabric Error Control These controls track transaction errors detected during analysis Detected Errors Displays the number of transaction errors detected in the hardware Inserted Errors Displays the number of errors inserted into the transaction stream Insert Error Inserts a one word error into the transaction stream each time you click the button Insert Error is only enabled during transaction performance analysis Clear Resets the Detected Errors and Inserted Errors counters to zeros Start This control initiates HSMC transaction performance analysis Stop This control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last pressed Start TX and RX performance bars Show the percentage of maximum data rate that the requested transactions are able to achieve Tx MBytes s and Rx MBytes s Show the number of bytes of data analyzed per second Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 15 Using the Board Test Syst
18. using the Software File Name field otherwise leave the Software File Name field blank 3 Click Upload The progress bar indicates the percent complete 4 Toconfigure the FPGA with the new design after the flash memory upload process is complete set the rotary switch SW2 to the 1 position and power cycle the board or press the CONFIGN button 51 on the board As long as you don t overwrite the factory image in the flash memory device you can continue to use the Board Update Portal to write new designs to the user portion of flash memory If you do overwrite the factory image you can restore it by following the instructions in Restoring the Factory Design to the Flash Device on page A 4 Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation N DTE S AN 6 Board Test System Introduction The kit includes an example design and application called the Board Test System to test the functionality of the Stratix IV GX FPGA development board The application provides an easy to use interface to alter functional settings and observe the results You can use the application to test board components modify functional parameters observe performance and measure power usage The application is also useful as a reference for designing systems To install the application follow the steps in Installing the Stratix IV GX Development Kit on page 3 2 The application provides access to the following Stratix IV G
19. voltage on the other side The first measurement is Vsense and the difference between the two measurements is Vdif Plug the values into the equation to determine the power consumption Configuring the FPGA Using Quartus Il Programmer You can use the Quartus II Programmer to configure the FPGA with a specific sof Before configuring the FPGA ensure that the Quartus II Programmer and the USB Blaster driver are installed on the host computer the USB cable is connected to the development board power to the board is on and no applications that use the JTAG chain are running To configure the Stratix IV GX FPGA perform the following steps 1 Start the Quartus II Programmer 2 Click Add File and select the path to the desired sof 3 Turn on the Program Configure option for the added file 4 Click Start to download the selected file to the FPGA The FPGA is configured when the progress bar reaches 100 Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation A Programming the Flash Memory RAN Device Introduction As you develop your own project using the Altera tools you can program the flash memory device so that your own user design loads from flash memory into the FPGA on power up This appendix describes the preprogrammed contents of the common flash interface CFI flash memory device on the Stratix IV GX FPGA Development Board and the Nios IT EDS tools involved with reprogrammin
20. 0 Black 16 16 16 Resolution Specifies the resolution to output to the monitor The following choices are available m 1080p 1920 x 1080 progressive m 720p 1280 x 720 progressive Start Initiates the test Stop Terminates the test Get EDID Reads the extended display information data EDID from the monitor and displays the results SDI Testing the SDI requires connecting a SMB loopback cable as shown in Figure 6 9 Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 17 The Power Monitor Figure 6 9 Board with SMB Loopback Cable Once connected the following controls are available Reset This control restarts the test Load This control passes a new seed value to the PRBS generator on the device Status These controls display status information during the loopback test Tx PLL Shows whether the Tx PLL is locked or unlocked Rx PLL Shows whether the Rx PLL is locked or unlocked Error Status Shows No Error Detected when the test is running correctly otherwise shows pertinent error Error Control These controls track transaction errors detected during analysis Errors Displays the number of errors detected in the hardware Insert Error Inserts a one word error into the transaction stream each time you click the button Clear Resets the Errors counter to zero The Power Monitor The Power Monitor m
21. 7FFF top boot blocks unused 0x0282 0000 O3FD FFFF User Software 0x0202 0000 0281 FFFF Factory Software 0x0182 0000 0201 FFFF Ziofs SRAM Flash Project Several designs are needed for a complete test Each design provides data for one or more tabs in the application The Configure menu identifies the appropriate design to download to the FPGA for each tab After successful FPGA configuration the appropriate tab appears and allows you to exercise the related board features The components you are exercising highlight in the board picture in the GUI The Power Tool button starts the Power Monitor application that measures and reports current power and temperature information for the board Because the tool communicates over the JTAG bus to the MAX II device you can measure the power of any design in the FPGA including your own design Both the Board Test System and Power Monitor applications take control of the JTAG bus The Quartus II software cannot access the JTAG chain while these applications are in use Be sure to close the applications before attempting to reconfigure the FPGA through the Quartus II Programmer or use the SignalTap II Embedded Logic Analyzer Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 3 Preparing the Board Preparing the Board With the power to the board off perform the following steps
22. Board Update Portal is corrupted or deleted from the flash memory refer to Restoring the Factory Design to the Flash Device on page A 4 to restore the board with its original factory contents Connecting to the Board Update Portal Web Page This section provides instructions to connect to the Board Update Portal web page Before you proceed ensure that you have the following m APC with a connection to a working Ethernet port on a DHCP enabled network m A separate working Ethernet port connected to the same network for the board m The Ethernet and power cables that are included in the kit To connect to the Board Update Portal web page perform the following steps 1 With the board powered down set the rotary switch SW2 to the 0 position 2 Attach the Ethernet cable from the board to your LAN 3 Power up the board The board connects to the LAN s gateway router and obtains an IP address The LCD on the board displays the IP address 4 Launch a web browser on a PC that is connected to the same network and enter the IP address from the LCD into the browser address bar The Board Update Portal web page appears in the browser May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 5 2 Chapter 5 Board Update Portal Using the Board Update Portal to Update User Designs 5 Click Stratix IV GX FPGA Development Kit on the Board Update Portal web page and verify that you have the latest version of the de
23. MB x3 Single Ended Loopback Power Tool Tool 22 Ree r Data Type Error Control PRBS Detected Errors Cn Inserted Errors 0 Math Insert Error Clear Messages g Loopback Detected HSMC Project Tx Rx Start Stop Le e Tx MBytes s Rx MBytes s 57 You must have loopback HSMC installed on the HSMC connector that you are testing for this test to succeed The following sections describe the controls on the HSMC tab Status This control displays status information during the loopback test PLL Lock Shows the PLL locked or unlocked state Channel Lock Shows the channel locked or unlocked state When locked all lanes are aligned and bonded Pattern Sync Shows the pattern synced or not synced state The pattern is considered synced when the start of the data sequence is detected Port This control allows you to specify the type of test to run on the HSMC ports The following HSMC port tests are available May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 14 Chapter 6 Board Test System Using the Board Test System HSMA x4 Tranceivers 0 3 HSMA x4 Tranceivers 4 7 HSMB 4 Tranceivers 0 3 HSMB x2 Tranceivers 4 5 HSMA x17 LVDS SERDES HSMB x17 LVDS SERDES HSMA x3 Single Ended Loopback HSMB x3 Single Ended Loopback Data type This control specifies the
24. Rae get ee 5 1 Connecting to the Board Update Portal Web Page 5 1 Using the Board Update Portal to Update User Designs 5 2 Chapter 6 Board Test System Introduction ne gus 6 1 Preparing the Board see E qa estudiado podes 6 3 Launching the Board Test System e enn 6 4 May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide Using the Board Test System 24 444 ese ee rne a E d nese ess 6 4 The Contigure Menu se cocaine sotto ee een di diet a ef 6 4 The Config Tab e RR ER ied ve Ras ee P I E E RE 6 5 Registers 4 344233442 pem Ee ERE HE RET a a na er he cee 6 5 TAG Chain 2022500 b bu dabei RUPEM ea bebe nee ERE EE ER roues dde d 6 5 Board Information 444444444 444444 6 5 Flash Memory Map is eR 020 0 pep a ae RE ES 6 5 The GPIO Tab sec ROC near danses ie AR t den 6 6 EE DT 6 6 User Dipswitch si serie nr e reb ee Spe RU E dis antennes 6 6 User LBJDS beds vee es ee IH Ds Er e e PES VPEZCRp RES 6 7 Pushbutton Switches 4 4444 444 282 6 7 The SRAM amp Flash Tab 4 2 6 7 SRAM 6 8 Flashy 6
25. X FPGA Development Board features General purpose I O GPIO SRAM Flash memory DDR3 memory QDR II memory High speed mezzanine connectors HSMC High definition multimedia interface HDMI and serial digital interface SDI video The application allows you to exercise most of the board components While using the application you reconfigure the FPGA several times with test designs specific to the functionality you are testing A GUI runs on the PC which communicates over the JTAG bus to a test design running in the Stratix IV GX device Figure 6 1 shows the initial GUI for a board that is in the factory configuration May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 2 Figure 6 1 Board Test Chapter 6 Board Test System Introduction System Graphical User Interface AREL Test System Configure Help About Ver 9 0 0 a Messages Detected GPIO GPIO SRAMBFlash DORS ODRICE penc vides AN DTE BA AN MAX II Registers e ss R External Tool kx SS Power Tool Reserved Pso pss XXX 1 1 JTAG Chain 6 10 p ae 2 EPM2210 a e te Board Information MAX II rev 7 MAC fe 5a 0 0 0 7 Flash Memory Map OxO3FF 8000 O3FF FFFF top boot blocks unused ES 0000 03FF 7FFF top boot blocks unused 0x03FE 8000 O3FE FFFF top boot blocks unused 0x03FE 0000 O3FE
26. ash programmer utility refer to the Nios II Flash Programmer User Guide Restoring the Factory Design to the Flash Device To restore the flash memory device on the development board with its original factory contents reprogram the contents using the following instructions Make sure you have the Nios II EDS installed and perform the instructions in this section 1 10 11 Launch the Quartus II Programmer to configure the FPGA with a sof capable of flash programming Refer to Configuring the FPGA Using Quartus II Programmer on page 6 20 for more information Click Add File and select lt install dir gt stratixIVGX_4sgx230es_fpga factory_recovery stratixIVGX_4sgx230es_de v_bup sof Turn on the Program Configure option for the added file Click Start to download the selected configuration file to FPGA The FPGA is configured when the progress bar reaches 100 and the CONF DONE LED D5 and the eight lower user LEDs D16 D23 illuminate indicating that the flash device is ready for programming On the Windows Start menu click All Programs gt Altera gt Nios II EDS gt Nios II Command Shell In the Nios IT command shell navigate to the lt install dir gt stratixIVGX_4sgx230es_fpga factory_recovery directory and type the following command to run the restore script restore sh Restoring the flash memory might take several minutes After all flash programming completes cycle the POWER switch SW1 OFF th
27. button presses Figure 6 3 shows the GPIO tab Figure 6 3 The GPIO Tab Board Test System ioj xj Configure Help About geh Config 1 SRAMBFlash DORE GDRIDE Faua Video e The Board exten a p Power Tool User Dipswitch 6 5 EE 3 2 1 1 OFF T a oo B B T D D Ti User LEDs A X 4 n4 d y 6 5 4 3 43443 um m um um um Messages Detected GPIO SRAM Flash Project Pushbutton Switches 2 1 E o The following sections describe the controls on the GPIO tab LCD This control allows you to display text strings on the LCD on your board Type text in the text boxes and then click Write 57 Ifyou exceed the 16 character display limit on either line a warning message appears User Dipswitch This read only control displays the current positions of the eight switches in the user DIP switch bank SW3 Change the switches on the board to see the graphical display change accordingly Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 7 Using the Board Test System User LEDs This control displays the current state of the user LEDs Click on the graphical representation of the LEDs to turn the board LEDs on and off Pushbutton Switches This control displays the current state of the board push buttons Depress a push button on the board to see th
28. e graphical display change accordingly The SRAM amp Flash Tab The SRAM amp Flash tab allows you to read and write SRAM and flash memory on your board Figure 6 4 shows the SRAM amp Flash tab Figure 6 4 The SRAM amp Flash Tab AZET Test System S ni x Configure Help About Ver 9 0 0 Config GPIO DDR aps nene ides ATERA e Start Address Range 0x400000 OxSFFFFF External Tool ox4o0000 Read Power Tool a4dbe34f 4ed43bfe 844d23fc 9b0a97b3 0 400010 787b0528 cf3b61ac 6db787c8 28f5afe6 0x400020 88616202 361681F3 liccSbOf6 59ecd46a 2b417e00 671783af cicbf479 6e00b0ac Ox400040 104f91e9 d0508826 4cbaf965 Sf8a2d43 Ox400050 3540 9 3515e9b5 5ba99904 3db0c648 Ox400060 2fc0111d 169284165 4d052F90 527033bf Sbbsa97d bOSebFSF 69ecOb9d 7c276a71 08 s UE ne Start Address Range 0x4000000 Ox7FFFFFF Jox4000000 Read 0001703a 101800074 3001483a 31bff804 0x4000010 303ffdie 0000203a 0010 03 01800034 0 4000020 31800704 4197c83a 008030b4 1080a0b4 0x4000030 12 5883 103ee83a 003fff06 FFFFFFFF 0x4000040 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 0x4000050 fffFFFF FFFFFFFF FFFFFFFF FFFFFFFF 0x4000060 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF Detected GPIO SRAM Flash Project
29. e kit Use the following links to check the Altera website to ensure you have the latest software versions m For the Altera Complete Design Suite refer to the Quartus II Subscription Edition Download page For the Stratix IV GX FPGA Development Kit refer to the Stratix IV GX FPGA Development Kit page Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation A DTE B4AN 2 Getting Started Introduction This user guide guides you through the Stratix IV GX development board setup Using this user guide you can take the following actions Inspect the contents of the kit m Install the Altera Complete Design Suite DVD software Set up power up and verify correct operation of the development board m Configure the Stratix IV GX FPGA m Run the Board Test System software and use the test designs For complete information about the development board refer to the Stratix IV GX FPGA Development Board Reference Manual Before You Begin Before using the kit or installing the software check the kit contents and inspect the board to verify that you received all of the items listed in this section If any of the items are missing contact Altera before you proceed Inspect the Board To inspect the board perform the following steps 1 Place the board on an anti static surface and inspect it to ensure that it has not been damaged during shipment A Without proper anti static handling the S
30. easures and reports current power and temperature information for the board To start the tool click Power Tool in the Board Test System application 57 You can also run this tool as a stand alone application PowerTool exe resides in the install dir gt stratixIVGX_4sgx230es_fpga examples board_test_system directory May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 18 Chapter 6 Board Test System The Power Monitor The Power Monitor communicates to the MAX II device on the board through the JTAG bus A power monitor circuit attached to the MAX II device allows you to measure the power that the Stratix IV GX FPGA device is consuming no matter what design is currently running Figure 6 10 shows the Power Monitor Figure 6 10 The Power Monitor SI GX PCIe board Power Monitor xl Power Information Current Maximum Minimum mVok 939 939 939 MAX II Information MAX II Version 6 mamp 1945 1963 1940 Power Rail 54 CC matt 1826 1845 1822 Temperature Information 12V BEER Consumption FPGA 47C Board 41C 760mA 9120mw 10000 mw 5000 M mw See tle Graph Setting Scale Select Update speed 10000m v Fast v Reset The following sections describe the Power Monitor controls MAX II Information These controls display information about the MAX II device MAX II Version Indicates the version of MAX II code currently running on the board The
31. ee dee at de onde deg e gud dede 1 1 Kit Features RR RIO e Satie ae nn ea a ER ERA 1 1 Hardware rss ous ak Se es eee ees Vra eee ee es dae SO AE be De Eee ia 1 1 s ness ieee shined dP ee es PS REG GU b gana EE ee ae Rae 1 2 Chapter 2 Getting Started CHOI s cee Resp DR ee v a en ee eek 2 1 Before You a tas ba ace 2 1 Inspect the Board i i ear denses nr er aa ie 2 1 Hardware Requirements sips erise stene eiii e meistens er ee wr ek erre anna 2 1 Software Requirements eC PAR EE vot Pop du e bep be deer 2 2 Quartus II Programmer System Requirements 2 2 rali 25 ei Hin ee ee ke ed 2 2 Chapter 3 Software Installation Introduction une ne rn een 3 1 Installing the Altera Complete Design Suite 3 1 Licensing Considerations cepere une nenne en re eae 3 1 Installing the Stratix IV GX Development Kit 2 3 2 Installing the USB Blaster Driver 222 3 3 Chapter 4 Development Board Setup Introduction ep ERES SEP ES RU SERI A RR RE en a RR e ee 4 1 Powering Upithe Board aussen ae ara edes penetrate e Re etae e ntu 4 1 Chapter 5 Board Update Portal Introduction cer renere ete px HNIC E UR SHEEP Yr elem qe HOCH
32. em The Video Tab The Video tab allows you to test the HDMI and SDI video interfaces on your board Figure 6 8 shows the Video tab Figure 6 8 The Video Tab AZAT Test System Configure Help About Ver 9 0 0 Gonfig eero DDR GORI HE Video HDMI Color Bar Test Pattern Start Stop Color Bar Red C Green Blue Get EDID SDI Tx PLL Locked Rx PLL Not Locked Error Status No Error Detected Detected Video Project Error Control Please connect HDMI cable to monitor Please connect SDI cable Errors 0 Insert Error Clear The following sections describe the controls on the Video tab Testing the HDMI requires connecting a monitor with at least UXGA 1600 x 1200 resolution to your board Once connected the following controls define the output to the monitor May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 16 Chapter 6 Board Test System Using the Board Test System Color Bar Test Pattern Specifies the test pattern to output to the monitor The following choices are available m Color Bar m Red Green m Blue Table 6 4 shows the color bar test pattern and corresponding color names and RGB values Table 6 4 HDMI Color Bar Test Pattern Color Bars Color RGB Values White Grey 180 180 180 Yellow 180 180 16 Cyan 16 180 180 Green 16 180 16 Magenta 180 16 180 Red 180 16 16 Blue 16 16 18
33. en ON Using the Quartus II Programmer click Add File and select lt install dir gt stratixIVGX_4sgx230es_fpga factory_recovery stratixIVGX_4sgx230es_de v_bup sof Turn on the Program Configure option for the added file Click Start to download the selected configuration file to FPGA The FPGA is configured when the progress bar reaches 100 and the CONF DONE LED D5 and the eight lower user LEDs D16 D23 illuminate indicating the flash memory device is now restored with the factory contents Cycle the POWER switch SW1 OFF then ON to load and run the restored factory design To ensure that you have the most up to date factory restore files and information about this product refer to the Altera Development Kits page on the Altera website Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation N DTE 274 Additional Information Revision History The following table displays the revision history for this user guide Date amp Document Version Changes Made Summary of Changes May 2009 Initial release v1 0 How to Contact Altera For the most up to date information about Altera products refer to the following table Contact Contact Note 1 Method Address Technical support Website www altera com support Technical training Website www altera com training Email custrain altera com Product literature Website www altera com literature Non technical supp
34. g the user portions of the flash memory device The Stratix IV GX FPGA Development Board ships with the CFI flash device preprogrammed with a default factory FPGA configuration for running the Board Update Portal example design and a default user configuration for running the Board Test System demonstration There are several other factory software files written to the CFI flash device to support the Board Update Portal These software files were created using the Nios II EDS just as the hardware design was created using the Quartus II software For more information about Altera development tools refer to the Design Software page on the Altera website CFI Flash Memory Map Table A 1 shows the default memory contents of the CFI flash device This memory map must be maintained for the Board Update Portal to run correctly and to update designs in the user memory Table A 1 Byte Address Flash Memory Map 512 Mbit 64 MByte Flash Intel PC48F4400POVB00 Block Description Size Address Range Unused 32KB OxO3FF8000 OXO8FFFFFF Unused 32 KB OxO3FF0000 OxO3FF7FFF Unused 32 KB 0x03FE8000 OxO3FEFFFF Unused 32 KB 0x03FE0000 OxO3FE7FFF User software 24 320 KB 0x02820000 OxO3FDFFFF Factory software 8 192 KB 0x02020000 0x0281FFFF zipfs html web content 8 192 KB 0x01820000 0x0201FFFF User hardware 12 288 KB 0x00C20000 0x0181FFFF Factory hardware 12 288 KB 0x00020000 0x00C1FFFF PFL option bit
35. ines the page of flash PSO memory to use for FPGA reconfiguration When set to 1 the rotary switch SW2 determines the page of flash memory to use for FPGA reconfiguration Page Select Switch Read only Holds the current value of the rotary switch SW2 PSS gt Because the Config tab requires that a specific design is running in the FPGA writing a 0 to SRST might cause the application to stop running JTAG Chain This control shows all the devices currently in the JTAG chain The Stratix IV GX device is always the first device in the chain Putting DIP switch SW6 1 in the ON position removes the MAX II device from the JTAG chain Board Information MAX II rev Indicates the version of MAX II code currently running on the board The MAX II code resides in the install dir NstratixQIVGX 4sgx230es fpgaNexamples directory Newer revisions of this code might be available on the Stratix IV GX FPGA Development Kit page of the Altera website MAC Indicates the MAC address of the board Flash Memory Map This control shows the memory map of the flash memory device on your board May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 6 6 Chapter 6 Board Test System Using the Board Test System The GPIO Tab The GPIO tab allows you to interact with all the general purpose user I O components on your board You can write to the LCD read DIP switch settings turn LEDs on or off and detect push
36. ion about Nios II EDS software tools and practices refer to the Embedded Software Development page on the Altera website Creating Flash Files Using the Nios Il EDS If you have an FPGA design developed using the Quartus II software and software developed using the Nios II EDS follow these instructions 1 On the Windows Start menu click All Programs gt Altera gt Nios II EDS gt Nios II Command Shell 2 In the Nios command shell navigate to the directory where your design files reside and type the following Nios II EDS commands m For Quartus II sof files sof2flash input yourfile hw sof output yourfile hw flash offset 0xC20000 m For Nios II elf files elf2flash base 0x0A000000 end 0x0BFFFFFF reset 0x0A820000 input yourfile sw elf output yourfile sw flash boot SOPC KIT NIOS2 components altera nios2 boot loader cfi srec The resulting flash files are ready for flash device programming If your design uses additional files such as image data or files used by the runtime program you must first convert the files to flash format and concatenate them into one flash file before using the Board Update Portal to upload them The Board Update Portal standard flash format conventionally uses either filename hw flash for hardware design files or filename sw flash for software design files Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter A 3 Pr
37. is only enabled during transaction performance analysis Clear Resets the Detected Errors and Inserted Errors counters to zeros Number of addresses to write read This control determines the number of addresses to use in each iteration of reads and writes Valid values range from 2 to 524 288 Data type This control specifies the type of data contained in the transactions The following data types are available for analysis m PRBS Selects pseudo random bit sequences m Memory Selects a generic data pattern stored in the on chip memory of the Stratix IV GX device m Math Selects data generated from a simple math function within the FPGA fabric R W control This control specifies the type of transactions to analyze The following transaction types are available for analysis m Read Write Selects read and write transactions for analysis m Read Only Selects read transactions for analysis m Write Only Selects write transactions for analysis The QDRII tab allows you to independently test each QDR port on your board Figure 6 6 shows the QDRII tab Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 11 Using the Board Test System Figure 6 6 The QDRII Tab AREL Test System 1 cl xi Configure Help About Ver 9 0 0 config GRAMS on Hemd vides z Porti Port2 External Tool Start Stop Power Tool
38. it page For additional daughter cards available for purchase refer to the Development Board Daughtercards page For the Stratix IV device documentation refer to the Literature Stratix IV Devices page To purchase devices from the eStore refer to the Devices page For Stratix IV GX OrCAD symbols refer to the Capture CIS Symbols page For Nios II 32 bit embedded processor solutions refer to the Embedded Processing page Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation N D amp pYA 3 Software Installation Introduction This section explains how to install the following software m Altera Complete Design Suite m Stratix IV GX Development Kit USB Blaster driver Before starting the installation verify that you meet the conditions described in Software Requirements on page 2 2 Installing the Altera Complete Design Suite The Altera Complete Design Suite provides the necessary tools used for developing hardware and software for Altera FPGAs Included in the Altera Complete Design Suite DVD are the Quartus II software and the Nios II EDS installations The Quartus II software including SOPC Builder and the Nios II EDS are the primary FPGA development tools used to create the reference designs in this development kit Although running this kit and the included example designs requires only the Quartus II Programmer creating new designs requires additional Altera software tools To
39. l port register bit block and primitive names For example data1 tdi and input Active low signals are denoted by suffix n For example resetn Indicates command line commands and anything that must be typed exactly as it appears For example c qdesigns tutorial chiptrip gdf Also indicates sections of an actual file such as a Report File references to parts of files for example the AHDL keyword SUBDESIGN and logic function names for example TRI 1 2 3 and Numbered steps indicate a list of items when the sequence of the items is important a b c and so on such as the steps listed in a procedure Hm Bullets indicate a list of items when the sequence of the items is not important c The hand points to information that requires special attention A caution calls attention to a condition or possible situation that can damage or CAUTION destroy the product or your work A warning calls attention to a condition or possible situation that can cause you WARNING injury The angled arrow instructs you to press Enter A7 The feet direct you to more information about a particular topic Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation
40. lication navigate to the lt install dir gt stratixIVGX_4sgx230es_fpga examples board_test_system directory and launch the BoardTestSystem exe application A GUI appears displaying the application tab that corresponds to the design running in the FPGA The Stratix IV GX FPGA development board s flash memory ships preconfigured with the design that corresponds to the Config GPIO and SRAM amp Flash tabs gt gt If you power up your board with the rotary switch SW2 in a position other than the 1 position or if you load your own design into the FPGA with the Quartus II Programmer you receive a message prompting you to configure your board with a valid Board Test System design Refer to The Configure Menu for information about configuring your board Using the Board Test System This section describes each menu tab and button in the Board Test System application The Configure Menu Each test design tests different functionality and corresponds to one or more application tabs Use the Configure menu to select the design you want to use Figure 6 2 shows the Configure menu Figure 6 2 The Configure Menu AE Test System Configure Help About Configure as SRAM Flash GPIO Configure as DDR3 Configure as QDRII Configure as HSMC Configure as Video Exit al Tool Power Tool To configure the FPGA with a test system design perform the following steps 1 On the Configure menu
41. ogramming Flash Memory Using the Board Update Portal Programming Flash Memory Using the Board Update Portal Once you have the necessary flash files you can use the Board Update Portal to reprogram the flash memory Refer to Using the Board Update Portal to Update User Designs on page 5 2 for more information If you have generated a sof using the Quartus II software that operates without a software design file you can still use the Board Update Portal to upload your design In this case leave the Software File Name field blank Programming Flash Memory Using the Nios Il EDS The Nios IT EDS offers a nios2 flash programmer utility to program the flash memory directly To program the flash files or any compatible S Record File srec to the board using nios2 flash programmer perform the following steps 1 Set the rotary switch SW2 to the 0 position to load the Board Update Portal design from flash memory on power up 2 Attach the USB Blaster cable and power up the board 3 If the board has powered up and the LCD displays either Connecting or a valid IP address such as 152 198 231 75 proceed to step 8 If no output appears on the LCD is seen or if the CONF DONE LED D5 does not illuminate continue to step 4 to load the FPGA with a flash writing design 4 Launch the Quartus II Programmer to configure the FPGA with a sof capable of flash programming Refer to Configuring the FPGA Using Quartus II Programmer on
42. opment Kit 4 To install your license refer to Specifying the License File in Quartus II Installation amp Licensing for Windows and Linux Workstations Installing the Stratix IV GX Development Kit To install the Stratix IV GX Development Kit perform the following steps 1 Insert the Stratix IV GX Development Kit CD ROM into your computer La The CD ROM should start an auto install process If it does not browse to the CD ROM drive and double click on the setup exe file 2 Follow the on screen instructions to complete the installation process The installation program creates the directory structure for the Stratix IV GX FPGA Development Kit files shown in Figure 3 1 Figure 3 1 Stratix IV GX FPGA Kit Installed Directory Structure lt install dir gt The default Windows installation directory is C altera lt version gt kits stratixIVGX_4sgx230es_fpga board_design_files demos documents examples factory_recovery Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 3 Software Installation 3 3 Installing the USB Blaster Driver Table 3 1 lists the file directory names and a description of their contents Table 3 1 Installed Directory Contents Directory Name board_design_files Description of Contents Contains schematic layout assembly and bill of material board design files Use these files as a starting point for a new prototype board design
43. ort General Email nacomp altera com Software Licensing Email authorization altera com Note to Table 1 You can also contact your local Altera sales office or sales representative Typographic Conventions This document uses the typographic conventions shown in the following table Visual Cue Meaning Bold Type with Initial Capital Indicates command names dialog box titles dialog box options and other GUI Letters labels For example Save As dialog box bold type Indicates directory names project names disk drive names file names file name extensions and software utility names For example qdesigns directory d drive and chiptrip gdf file Italic Type with Initial Capital Letters Indicates document titles For example AN 519 Stratix IV Design Guidelines Italic type Indicates variables For example n 1 Variable names are enclosed in angle brackets lt gt For example file name and lt project name gt pot file Initial Capital Letters Indicates keyboard keys and menu names For example Delete key and the Options menu May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide Info 2 Additional Information Typographic Conventions Visual Cue Subheading Title Quotation marks indicate references to sections within a document and titles of Quartus Help topics For example Typographic Conventions Courier type Indicates signa
44. page 6 20 for more information 5 Click Add File and select install dir NstratixIVGX 4sgx230es fpgaMfactory recovery NstratixXIVGX 4sgx230es de v bup sof 6 Turn on the Program Configure option for the added file 7 Click Start to download the selected configuration file to the FPGA Configuration is complete when the progress bar reaches 100 and the CONF DONE LED D5 and the eight lower user LEDs D16 D23 illuminate indicating that the flash device is ready for programming 8 On the Windows Start menu click All Programs gt Altera gt Nios II EDS gt Nios II Command Shell 9 In the Nios II command shell navigate to the install dir NstratixIVGX 4sgx230es fpgaMfactory recovery directory or to the directory of the flash files you created in Creating Flash Files Using the Nios II EDS on page 2 and type the following Nios II EDS command nios2 flash programmer base 0x08000000 yourfile hw flash 10 After programming completes if you have a software file to program type the following Nios II EDS command nios2 flash programmer base 0x0A000000 yourfile sw flash 11 Set the rotary switch SW2 to the 1 position and power cycle the board to load and run the new user design May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide A 4 Chapter Restoring the Factory Design to the Flash Device Programming the board is now complete For more information about the nios2 fl
45. ream each time you click the button Insert Error is only enabled during transaction performance analysis Clear Resets the Detected Errors and Inserted Errors counters to zeros Number of addresses to write read This control determines the number of addresses to use in each iteration of reads and writes Valid values range from 2 to 524 288 Data type This control specifies the type of data contained in the transactions The following data types are available for analysis m PRBS Selects pseudo random bit sequences m Memory Selects a generic data pattern stored in the on chip memory of the Stratix IV GX device m Math Selects data generated from a simple math function within the FPGA fabric The HSMC tab allows you to perform loopback tests on the HSMC A and HSMC B Figure 6 7 shows the HSMC tab Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 13 Using the Board Test System Figure 6 7 The HSMC Tab Board Test System Configure Help About Ver 9 0 0 nn Color EME DDR Or i E r Status a PLL Lock NOT locked Channel Lock NOT locked Pattern Sync NOT synced HSMC Control Port x4 Transceivers 0 3 C 5 x4 Transceivers 4 7 HSMB x4 Transceivers 0 3 E Orya x2 Transceivers 4 5 e x17 LYDS SERDES HSMB x17 LVDS SERDES x3 Single Ended Loopback HS
46. s 32 KB 0x00018000 0x0001FFFF Board information 32 KB 0x00000000 0x00017FFF Ethernet option bits 32 KB 0x00008000 0x0000FFFF User design reset vector 32 KB 0x00000000 0x00007FFF May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide A 2 CAUTION Chapter Preparing Design Files for Flash Programming Altera recommends that you do not overwrite the factory hardware and factory software images unless you are an expert with the Altera tools or deliberately overwriting the factory design If you unintentionally overwrite the factory hardware or factory software image refer to Restoring the Factory Design to the Flash Device on page A 4 Preparing Design Files for Flash Programming You can obtain designs containing prepared flash files from the Stratix IV GX FPGA Development Kit page on the Altera website or create flash files from your own custom design The Nios II EDS sof2flash command line utility converts your Quartus II compiled sof into the flash format necessary for the flash device Similarly the Nios II EDS elf2flash command line utility converts your compiled and linked Executable and Linking Format File elf software design to flash After your design files are in the flash format use the Board Update Portal or the Nios II EDS nios2 flash programmer utility to write the flash files to the user hardware and user software locations of the flash memory For more informat
47. tings Switch Position Off On On On Bl For more information about DIP switch settings on the board refer to the Stratix IV GX FPGA Development Board Reference Manual 3 Connect the DC adapter 16 V 3 75 A to the DC power jack J4 on the board and plug the cord into a power outlet Use only the supplied 16 V power supply Power regulation circuitry on the board could be damaged by supplies greater than 16 V 4 Set the POWER switch SW1 to the ON position When power is supplied to the board a blue LED D24 illuminates indicating that the board has power The development board ships with example designs stored in the flash memory device The MAX II device on the board contains a parallel flash loader PFL megafunction When the board powers up the PFL reads one of two designs from flash memory and configures the FPGA The rotary switch SW2 controls which design to load When the switch is in the 0 position the PFL loads the design from the factory portion of flash memory When the switch is in the 1 position the PFL loads the design from the user portion of flash memory The development kit includes the MAX II configuration design in the lt install dir gt stratixIVGX_4sgx230es_fpga examples max2 directory When complete the CONF DONE LED D5 illuminates signaling that the Stratix IV GX device configured successfully May 2009 Altera Corporation Stratix IV GX FPGA
48. tratix IV GX development board can be damaged 2 Verify that all components are on the board and appear intact 57 In typical applications with the Stratix IV GX development board a heat sink is not necessary However under extreme conditions or for engineering sample silicon the board might require additional cooling to stay within operating temperature guidelines You can perform power consumption and thermal modeling to determine whether your application requires additional cooling For more information about power consumption and thermal modeling refer to AN 358 Thermal Management for FPGAs Hardware Requirements The kit provides all the hardware you need to use the board May 2009 Altera Corporation Stratix IV GX FPGA Development Kit User Guide 2 2 Chapter 2 Getting Started References Software Requirements The kit requires the following software Windows XP operating system Quartus IT Programmer which can be installed from the Altera Complete Design Suite DVD Quartus Il Programmer System Requirements The Quartus II Programmer has some minimum system requirements For Quartus Programmer system requirements refer to the Quartus Web Edition Software page on the Altera website References Use the following links to check the Altera website for the following other related information For the latest board design files and reference designs refer to the Stratix IV GX FPGA Development K
49. velopment kit software the software version also appears on the CD ROM If you download new software double click the downloaded exe file to begin the installation process 6 Visit the Board Update Portal web page occasionally for documentation updates and additional new designs not included on the CD ROM Ifthe Board Update Portal does not connect refer to the Stratix IV GX FPGA Development Kit page on the Altera website to determine if you have the latest kit software Using the Board Update Portal to Update User Designs The Board Update Portal allows you to write new designs to the user portion of flash memory Designs must be in the Nios II Flash Programmer File flash format Design files available from the Stratix IV GX FPGA Development Kit page on the Altera website include flash files You can also create flash files from your own custom design Refer to Preparing Design Files for Flash Programming on page A 2 for information about preparing your own design for upload To upload a design over the network into the user portion of flash memory on your board perform the following steps 1 Perform the steps in Connecting to the Board Update Portal Web Page to access the Board Update Portal web page 2 In the Hardware File Name field specify the flash file that you either downloaded from the Altera website or created on your own If there is a software component to the design specify it in the same manner
50. you enter an address outside of the 0x04000000 0x07FFFFFF flash memory address space a warning message identifies the valid flash memory address range To update the flash memory contents change values in the table and click Write The application writes the new values to flash memory and then reads the values back to guarantee that the graphical display accurately reflects the memory contents To prevent overwriting the dedicated portions of flash memory the application limits the writable flash memory address range to 0 07 0000 Ox07FFFFFF which corresponds to the unused flash memory address range of 0x03FE0000 shown in Figure 6 1 on page 6 2 and Table A 1 on page A 1 The DDRS tab allows you to read and write the DDR3 memory on your board Figure 6 5 shows the DDR3 tab Stratix IV GX FPGA Development Kit User Guide May 2009 Altera Corporation Chapter 6 Board Test System 6 9 Using the Board Test System Figure 6 5 The DDR3 Tab Board Test System Configure Help About Ver 9 0 0 cero SRAMBEISSR External Tool Bottom Start Stop Power Tool ORTE Lois Lire Write Read Total Write MBytes s Read MBytes s Total MBytes s Error Control Detected Errors 0 Inserted Errors 0 Insert Error Clear Number of addresses to write read 0 0 0 Detected DDR3 Project Data type PRES

Download Pdf Manuals

image

Related Search

Related Contents

APLICATIVO DE CERTIFICADOS DE ORIGEN Manual del Usuario  Sea Gull Lighting 8252-68 Installation Guide  Sika Tela  Z4Mplus - Euro ID srl  ESPRIT - Shopify  Ironman Fitness IM-R7 User's Manual  RC4Magic Series 3  Guide pratique de « Handycam » HDR-CX360/CX360V/PJ10  Space Generals User Manual  FLAT CONCEPT - Dirna Bergstrom  

Copyright © All rights reserved.
Failed to retrieve file