Home
DSP Development Board, Stratix V Edition, User Guide
Contents
1. ARET Test System Configure Help About ini xi Messages Detected the GPIO Flash Project ZORI ZRA ZOR System Info Character LCD stratix Y GX E Enter text Development Kit Read GDRIDE Flash User DIP switch a an 5 n 8 1 OFF a E Push button switches 0 ON E User LEDs All e E EI ET EH El ed gs Es cT 1 EI El wj E EI je n B e B B R an 8 The following sections describe the controls on the GPIO tab Character LCD The Character LCD control allows you to display text strings on the character LCD on your board Type text in the text boxes and then click Write User DIP Switches If you exceed the 16 character display limit on either line a warning message appears The read only User DIP switch control displays the current positions of the switches in the user DIP switch bank SW1 Change the switches on the board to see the graphical display change accordingly DSP Development Kit Stratix V Edition User Guide July 2013 Altera Corporation Chapter 6 Board Test System Using the Board Test System User LEDs The User LEDs control displays the current state of the user LEDs To toggle the board LEDs click the 0 to 7 buttons to toggle red or green LEDs the All button and the graphical representation of the LEDs Push Button Switche
2. The Configure Menu Use the Configure menu Figure 6 2 to select the design you want to use Each design example tests different functionality that corresponds to one or more application tabs Figure 6 2 The Configure Menu AZET Test System Configure Help About Configure with Flash GPIO Design Configure with XCYR1 Design Configure with XCVR2 Design Configure with XCVR3 Design Configure with DDRS Design Configure with OQDRII4 Design Exit Ctr Q To configure the FPGA with a test system design perform the following steps 1 Onthe Configure menu click the configure command that corresponds to the functionality you wish to test 2 When configuration finishes close the Quartus II Programmer if open The design begins running in the FPGA The corresponding GUI application tabs that interface with the design are enabled Ka If you use the Quartus II Programmer for configuration rather than from the Board Test System GUI you may need to restart the Board Test System The System Info Tab The System Info tab shows information about the board s current configuration Figure 6 1 on page 6 1 shows the System Info tab The tab displays the contents of the MAX V registers the JTAG chain the board s MAC address the flash memory map and other details stored on the board The following sections describe the controls on the System Info tab Board Information The Board information control displays st
3. Switc h Board Lahel MAX JTAG EN Function Switch 1 has the following options m When on 0 removes the MAX V system controller in the JTAG chain m When off 1 includes the MAX V system controller from the JTAG chain Default Position Off HSMA JTAG EN Switch 2 has the following options m When on 0 removes the HSMC Port A in the JTAG chain m When off 1 includes the HSMC Port A from the JTAG chain On HSMB JTAG EN Switch 3 has the following options m When on 0 removes the HSMC Port B in the JTAG chain m When off 1 includes the HSMC Port B from the JTAG chain On PCIE JTAG EN Switch 4 has the following options m When on 0 removes the PCI Express Edge connector from the JTAG chain m When off 1 includes the PCI Express Edge connector in the JTAG chain On Note to Table 4 2 1 Ifyou plug in an external USB Blaster cable to the JTAG header J10 the On Board USB Blaster II is disabled The JTAG chain is normally mastered by the on board USB Blaster II For details on the JTAG chain refer to the DSP Development Kit Stratix V Edition Reference Manual For USB Blaster II configuration details refer to the On Board USB Blaster II page 3 Set DIP switch bank SW4 to match Table 4 3 and Figure 4 2 Table 4 3 SW4 MSEL DIP Switch Settings Switch e Function Behan 1 MSELO Configuration Setting 0 On 0 2 M
4. The instructions in this chapter explain how to set up the Stratix V GS development board Setting Up the Board To prepare and apply power to the board perform the following steps 1 The Stratix V GS development board ships with its board switches preconfigured to support the design examples in the kit If you suspect your board might not be currently configured with the default settings follow the instructions in Factory Default Switch Settings on page 4 2 to return the board to its factory settings before proceeding 2 The development board ships with design examples stored in the flash memory device Verify the DIP switch SW5 3 is set to the off position to load the design stored in the factory portion of flash memory Figure 4 2 shows the DIP switch location on the back of the Stratix V GS development board Verify that the HSMC card is installed on port A connector J1 of the board Verify that the HSMC card is installed on port B connector J2 of the board Ensure that the power switch SW2 is in the off position Connect the Power Adpater 19 V 6 32 A to the DC Power Jack J4 on the FPGA board and plug the cord into a power outlet 9s gm gm 9 A Use only the supplied power supply Power regulation circuitry on the board can be damaged by power supplies with greater voltage 7 Set the POWER switch SW2 to the on position When power is supplied to the board Power blue LED D24 illuminates indicating that the
5. User Guide 6 22 Chapter 6 Board Test System The Power Monitor The Power Monitor communicates with the MAX V device on the board through the JTAG bus A power monitor circuit attached to the MAX V device allows you to measure the power that the Stratix V GS FPGA device is consuming regardless of the design currently running Figure 6 10 shows the Power Monitor Figure 6 10 The Power Monitor 1c xl Gneral Information Power Information MAX V Version 3 Power Rail rec m RMS Maximum Minimum Temperature information m mp 2487 2497 D FPGA 43 C Board 39 C 10000 m 5000 M 0 m EE Graph Settings connections USB BlasterII on sd hvla Scale Select Update Speed b7 USB 1 5M 1270Z2F324 2210Z EPM221 lows z v t Y 082 10000mA Fas x Reset The following sections describe the Power Monitor controls General Information The General information controls display the following information about the MAX V device m MAX V version Indicates the version of MAX V code currently running on the board The MAX V code resides in the install dir NkitsNstratixVGS 5sgsmd5kf40 dspMfactory recovery and lt install dir gt kits stratixVGS_5sgsmd5kf40_dsp examples max5 directories Newer revisions of this code might be available on the DSP Development Kit Stratix V Edition page of the Altera website m Power rail Selects the power rail to measure After setting the Power rail list to the desire
6. User Guide 3 2 Chapter 3 Software Installation Installing the Development Kit 2 Consult the Activate Products table to determine how to proceed a Ifthe administrator listed for your product is someone other than you skip the remaining steps and contact your administrator to become a licensed user b If the administrator listed for your product is you proceed to step 3 c If the administrator listed for your product is Stocking activate the product making you the administrator and proceed to step 3 3 Use the Create New License page to license your product for a specific user you on specific computers The Manage Computers and Manage Users pages allow you to add users and computers not already present in the licensing system La To license the Quartus II software you need your computer s network interface card NIC ID a number that uniquely identifies your computer On the computer you use to run the Quartus II software type ipconfig all at a command prompt to determine the NIC ID Your NIC ID is the 12 digit hexadecimal number on the Physical Address line When licensing is complete Altera emails a license dat file to you Store the file on your computer and use the License Setup page of the Options dialog box in the Quartus II software to enable the software Le For complete licensing details refer to the Altera Software Installation and Licensing Manual Installing the Development Kit To ins
7. equating to a theoretical maximum bandwidth of 2475 MBps and 4950 MBps for simultaneous read and write Performance figures are based on a 125 MHz input clock from programmable oscillator U46 Using the The Clock Control on page 6 23 to adjust the frequency changes the circuit speed in real time and the QDR II tab performance indicators which are capped at 100 for increased frequencies Physical layer speeds equal the oscillator U46 CLKO frequency times the input PLL multiplier ratio The default is 550 MHz 125 MHz x 4040 or 1100 Mbps per pin Changing the oscillator U46 CLKO frequency to 100 MHz changes the circuit speed to 440 MHz or 880 Mbps per pin Typically you need to reset the QDR II design after changing the clock frequency Error Control The Error control controls display data errors detected during analysis and allow you to insert errors m Detected errors Displays the number of data errors detected in the hardware m Inserted errors Displays the number of errors inserted into the transaction stream m 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 m Clear Resets the Detected errors and Inserted errors counters to zeros Number of Addresses to Write and Read The Number of addresses to write and read control determines the number of addresses to use in each iteration of reads and wri
8. 2 Launch the Quartus II Programmer to configure the FPGA with a sof capable of flash programming Refer to Configuring the FPGA Using the Quartus II Programmer on page 6 25 for more information Click Add File and select lt install dir gt kits stratixVGS_5sgsmd5kf40_dsp factory_recovery s5gsmd5kf40_dsp_ bup Turn on the Program Configure option for the added file Click Start to download the selected configuration file to the FPGA Configuration is complete when the progress bar reaches 100 The Config Done LED D17 illuminates indicating that the flash device is ready for programming 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 II command shell navigate to the lt install dir gt kits stratixVGS_5sgsmd5kf40_dsp factory_recovery directory and type the following command to run the restore script restore sh Restoring the flash memory might take several minutes Follow any instructions that appear in the Nios II command shell After all flash programming completes cycle the POWER switch SW2 off then on Using the Quartus II Programmer click Add File and select lt install dir gt kits stratixVGS_5sgsmd5kf40_dsp factory recovery s5gsmd5kf40_dsp_ bup Turn on the Program Configure option for the added file Click Start to download the selected configuration file to the FPGA Configuration i
9. 4624 Error control Stop Sce Sce Detected errors O Inserted errors 0 Bit error rate 1 920665e 07 Insert Error r Number of addresses to write and read Min 128 Max Messages Data type Detected DDR3 Project PRBS Memory Math Read and write control Write then read C Read only Write only The following sections describe the controls on the DDRS tab Start The Start control initiates DDR3 memory transaction performance analysis Stop The Stop control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last pressed Start m Write Read and Total performance bars Show the percentage of maximum theoretical data rate that the requested transactions are able to achieve July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 10 Chapter 6 Board Test System Using the Board Test System m Write MBps Read MBps and Total MBps Show the number of bytes of data analyzed per second The data bus is 72 bits wide and the frequency is 800 MHz double data rate 1600 Mbps per pin equating to a theoretical maximum bandwidth of 14 4 G Error Control The Error control controls display data errors detected during analysis and allow you to insert errors m Detected errors Displays the number of
10. A ai 6 11 MA a A A A A A AAA AA A 6 11 SLOP Mirar errar a os 6 11 Performance Indicators 6 12 ErrOr Control 2 4 o A A eas ste vy sue MAE gent 6 12 Number of Addresses to Write and Read 1 0 ccc etn e 6 12 Data Type osse ed hebes eh e epu caia 6 12 The XCVRLEa b eie yack 6 E CEERLBIW EE GREG G GG A A a da 6 13 Status ese ds ve E ERR Td A A vate Wee edu epigr RE PESE 6 13 POPE coc A PEPPER CRPTEERYITCURLDUCPPIZCOEPPRT E A AA RR 6 14 PMA Setting sesscecio te e ke RE REI REPE EPA EPA LL E RA a PY REA Nu Rr d qi 6 14 Data Type oditaut O A alata dba A ES 6 14 Error Control 1 A NU tuo A A RA A ERR ted 6 15 Start a AA AAA AA AAA DARA BA AAA eR eee 6 15 SLOP RR paa ea iae aa 6 15 Performance Indicators uan eenen ennenen te earar rs 6 15 TheXCVR2 Tab s etx ia A EA A E RE 6 16 E pr Ia a ees 6 16 POLE PETRI TRECE TETTE 6 17 PMA Setting i lieiiu A A A a E GRE Cae a i prag a WEE 6 17 Data Type 2 0 88a ense pce eda Sv dor ete Pte bae uci e tede Meat VA a SE SS Vea ect 6 17 Error Control 1 200 ia AAA A ARA A DASE AAA AAA 6 18 Start AO TI E O a t 6 18 MOP ii E A ALA AAA dotes AAA AAA A able eed 6 18 Performance Indicators id 6 18 The XCVR3 Tabs soya A A didi AA A A 6 19 Status cod eere epo b eaque ala 6 19 POE A A d d ER 6 20 PMA Setting viv sara as a RE E Rea eae e va aea p EE P EE 6 20 DataTyPeri E 6 20 Error Control 54 2 aee reu S ordre a eA ga A ed E rec t e A Ae 6 21 Start a IA ERE er eb ERES EA EG Pg er
11. Center page of the Altera website where you can sign up to receive update notifications for Altera documents The feedback icon allows you to submit feedback to Altera about the document Methods for collecting feedback vary as appropriate for each document DSP Development Kit Stratix V Edition User Guide July 2013 Altera Corporation
12. DSP Development Kit Stratix V Edition on the Board Update Portal web page to access the kit s home page for documentation updates and additional new designs Re You can also navigate directly to the DSP Development Kit Stratix V Edition page of 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 hardware 1 portion of flash memory Designs must be in the Nios II Flash Programmer File flash format 5 Design files available from the DSP Development Kit Stratix V Edition page 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 using the Software File Name field Otherwise leave the Software File Name field blank 3 Click Upload and a progress bar indicates the percent complete 4 Toconfigure the
13. FPGA with the new design after the flash memory upload process is complete set the DIP switch SW5 3 to the on position and power cycle the board Refer to Table 6 1 on page 6 4 for an alternative method of programming the FPGA using push buttons La 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 hardware 1 portion of flash memory If you do overwrite the factory image you can restore it by following the instructions in Restoring the Flash Device to the Factory Settings on page A 4 DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide NOTE RYA 6 Board Test System The development kit includes an application called the Board Test System and related design examples 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 While using the application you reconfigure the FPGA several times with test designs specific to the functionality you are testing The Board Test System is also useful as a reference for designing systems The Board Test System communicates over the JTAG bus to a test design running in the Stratix V GS device Figure 6 1 shows the initial GUI for a board that is in the factory configuration
14. For example Typographic Conventions Courier type Indicates signal port register bit block and primitive names For example data1 tdi and input The suffix n denotes an active low signal 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 An angled arrow instructs you to press the Enter key 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 Bea Bullets indicate a list of items when the sequence of the items is not important IL The hand points to information that requires special attention The question mark directs you to a software help system with related information Adi The feet direct you to another document or website with related information The multimedia icon directs you to a related multimedia presentation CAUTION A caution calls attention to a condition or possible situation that can damage or destroy the product or your work A warning calls attention to a condition or possible situation that can cause you injury The envelope links to the Email Subscription Management
15. LED D4 D6 based on the following encoding m 0 PGM LED D6 and corresponds to the flash memory Page Select Switch page for the factory hardware design Read only PSS m 1 PGM LED D5 and corresponds to the flash memory page for the user hardware 1 design m 2 PGM LED D4 and corresponds to the flash memory page for the user hardware 2 design Page Select Register PSR Determines which of the up to eight 0 7 pages of flash Read Write memory to use for FPGA reconfiguration The flash memory ships with pages 0 and 1 preconfigured SRST Resets the system and reloads the FPGA with a design from flash memory based on the other MAX V register values Refer to Table 6 1 for more information PSO Sets the MAX V PSO register The following options are available m UsePSR Allows the PSR to determine the page of flash memory to use for FPGA reconfiguration m UsePSS Allows the PSS to determine the page of flash memory to use for FPGA reconfiguration DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 5 Using the Board Test System m PSS Displays the MAX V PSS register value Refer to Table 6 1 for the list of available options m PSR Sets the MAX V PSR register The numerical values in the list corresponds to the page of flash memory to load during FPGA reconfiguration Refer to Table 6 1 for more information Because t
16. The following sections describe the controls on the XCVR3 tab Status The Status control displays the following status information during the loopback test m PLL lock Shows the PLL locked or unlocked state m Channel lock Shows the channel locked or unlocked state When locked all lanes are word aligned and channel bonded and all TX and RX PLL lanes are phase locked to data RX lanes are word aligned and deskewed July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 20 Chapter 6 Board Test System Using the Board Test System m Pattern sync Shows the pattern synced or not synced state The pattern is considered synced when the start of the data sequence is detected after channel lock is acquired Port The Port control allows you to specify which interface to test The following port tests are available m SMA x1 10 Gbps PMA Setting The PMA Setting button allows you to make changes to the PMA parameters that affect the active transceiver interface La For loopback testing use the PMA button to place the Stratix V FPGA in serial loopback mode The following settings are available for analysis m Serial Loopback Routes signals between the transmitter and the receiver Enter the following values to enable the serial loopbacks 0 High speed serial transceiver signals to observe to 10 Gbps high speed transmit data signal 1 Serial loopback m VODc Specifies the voltage output differential of the
17. This Reset control clears the graph resets the minimum and maximum values and restarts the Power Monitor The Clock Control The Clock Control application sets the 51570 51571 and the two 515338 programmable oscillators The Si570 and Si571 can be set between 10 MHz and 810 MHz The Si570 drives a 2 to 4 buffer that drives a copy of the clock to all four edges of the FPGA The two 515338 devices each have four independently programmable outputs All four outputs are programmable between 16 KHz and 350 MHz All four outputs can support the higher frequencies but they cannot be programmed for multiple frequencies above 350 MHz If you want multiple outputs above 350 MEZ all outputs above 350 MHz must be the same frequency and must be frequencies from 367 MHz to 473 33 MHz or from 550 MHz to 710 MHz July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 24 Chapter 6 Board Test System The Clock Control The Clock Control application runs as a stand alone application ClockControl exe resides in the install dir NkitsNstratixVGS 5sgsmd5kf40 dspNexamplesNboard test system directory On Windows click Start gt All Programs gt Altera gt DSP Development Kit Stratix V Edition version Clock Control to start the application For more information about the Si570 Si571 or Si5338 oscillators and the Stratix V GS development board s clocking circuitry and clock input pins refer to the DSP Develop
18. dir gt kits stratixVGS_5sgsmd5kf40_dsp factory recovery max5 pof Turn on the Program Configure option for the added file Click Start to download the selected configuration file to the MAX V CPLD Configuration is complete when the progress bar reaches 100 To ensure that you have the most up to date factory restore files and information about this product refer to the DSP Development Kit Stratix V Edition page of the Altera website July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide DSP Development Kit Stratix V Edition User Guide Appendix A Programming the Flash Memory Device Restoring the MAX V CPLD to the Factory Settings July 2013 Altera Corporation NOTE BAAN Additional Information This chapter provides additional information about the document and Altera Document Revision History The following table shows the revision history for this document Date Version Changes July 2013 1 1 Update to kit page links And corrections to offset locations in Nios Il commands July 2012 1 0 Initial release How to Contact Altera To locate the most up to date information about Altera products refer to the following table Contact Contact Method Address Technical support Website www altera com support Website www altera com training Technical training Email custrain altera com Product literature Website www altera com
19. literature Nontechnical support 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 The following table shows the typographic conventions this document uses Visual Cue Meaning Indicate command names dialog box titles dialog box options and other GUI Bold Type with Inita Capital labels For example Save As dialog box For GUI elements capitalization matches Letters the GUI Indicates directory names project names disk drive names file names file name bold type extensions software utility names and GUI labels For example qdesigns directory D drive and chiptrip gdf file Italic Type with Initial Capital Letters Indicate document titles For example Stratix IV Design Guidelines Indicates variables For example n 1 italic type Variable names are enclosed in angle brackets For example file name and lt project name pof file July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide Info 2 Additional Information Typographic Conventions Visual Cue Initial Capital Letters Indicate keyboard keys and menu names For example the Delete key and the Options menu Subheading Title Quotation marks indicate references to sections in a document and titles of Quartus Help topics
20. necessary However under extreme conditions or for engineering sample silicon the board might require additional cooling to stay within operating temperature guidelines The board has two holes near the FPGA that accommodate many different heat sinks including the Dynatron CHR 152 You can perform power consumption and thermal modeling to determine whether your application requires additional cooling For information about measuring board and FPGA temperature in real time refer to The Power Monitor on page 6 21 St For more information about power consumption and thermal modeling refer to AN 358 Thermal Management for FPGAs July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 2 2 References Chapter 2 Getting Started References Use the following links to check the Altera website for other related information To learn how Altera FPGAs have overcome traditional FPGA floating point challenges refer to the An independent Analysis of Altera s FPGA Floating point DSP Design Flow white paper by the staff of Berkeley Design Technology Inc To learn how it is possible to achieve one teraFLOPS performance with Stratix V devices refer to the Achieving One TeraFLOPS with 28 nm FPGAs white paper For information on the DSP Builder refer to the DSP Builder page For a free trial of the MATLAB amp Simulink for use with DSP Builder refer to the MathWorks website www mathworks com For DSP Builder des
21. network on a chip NoC design The Quartus II software integrates into nearly any design environment and provides interfaces to industry standard EDA tools DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 1 About This Kit 1 3 Kit Features 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 Lo 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 St 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 allows you to develop embedded software for the Nios II processor that you can include in your Altera FPGA designs The Development Kit Installer The license free DSP Development Kit Stratix V Edition installer includes all the documentation and design examples for the kit For information on installing the Development Kit Installer refe
22. read and write the QDR II memory on your board and independently test each QDR II port Figure 6 6 shows the ODRII tab Figure 6 6 The QDRII Tab ARET Test System 21 x Configure Help About Systema GPIO Flash NOTE YA ZOR R Kena 0R QDRII e Power Monitor Write Read Write MBps 618 7440 Read MBps 518 7442 Error control Detected errors O Inserted errors O Bit error rate 7 351435e 09 Insert Error Clear Min 2048 Data type Messages PRBS Memory C Math Detected QDRII Project The following sections describe the controls on the ODRII tab Start The Start control initiates QDR I memory transaction performance analysis Stop The Stop control terminates transaction performance analysis July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 12 Chapter 6 Board Test System Using the Board Test System Performance Indicators These controls display current transaction performance analysis information collected since you last clicked Start m Write and Read performance bars Show the percentage of maximum theoretical data rate that the requested transactions are able to achieve m Write MBps and Read MBps Show the number of bytes of data analyzed per second The QDR II buses are 18 bits wide for both read and write and the frequency is 550 MHz double data rate 1100 Mbps per pin
23. the Factory Settings 0 6c ccc cece ene A 5 Additional Information Document Revision History 2 2 0 6 6c ccc nnne Info 1 How to Contact Altera svii cic ccce ec eere a ky e t EVE e RE oe aed de Info 1 Typographic Conventions ooooococcnnnrrrr II hh Info 1 July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide vi DSP Development Kit Stratix V Edition User Guide Contents July 2013 Altera Corporation N DTE SYN 1 About This Kit The Altera DSP Development Kit Stratix V Edition is a complete design environment that includes both the hardware and software you need to develop Stratix V GS FPGA designs The following list describes what you can accomplish with the kit Kit Features Test Altera s optimized variable precision digital signal processing DSP block part of the Stratix V FPGA architecture which supports various datapath precisions ranging from 9 bit x 9 bit up to single precision floating point within a single block while maintaining performance and low power Develop DSP algorithms in a high level model based flow using Altera s DSP Builder Advanced Blockset with MathWorks MATLAB amp Simulink tools ILa For more information on the DSP specific aspects of this board refer to References on page 2 2 Test signal quality of the FPGA transceiver I Os 10 Gbps Develop and test PCI Express PCIe 3 0 designs Develop and test memory subsystems consistin
24. window is already open then you power cycle the board you may be required to click Hardware Setup in the Quartus II Programmer window and reselect USB Blaster II in order to properly detect the JTAG chain July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 26 Chapter 6 Board Test System Configuring the FPGA Using the Quartus Il Programmer DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide NOTE RA A Programming the Flash Memory Device As you develop your own project using the Altera tools you can program the flash memory device so that your own 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 V GS development board and the Nios II EDS tools involved with reprogramming the user portions of the flash memory device The Stratix V GS development board ships with the CFI flash device preprogrammed with a default factory FPGA configuration for running the Board Update Portal design example 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 CFI Flash Memory Map
25. 1 has the following options 1 CLK SEL m When on 0 the SMA input clock is selected Off m When off 1 the programmable oscillator clock is selected Switch 2 has the following options 2 CLK EN 1 m When on 0 the on board oscillator is enabled On m When off 1 the on board oscillator is disabled Switch 3 has the following options m When on 0 loads the user design from flash at power 3 FACTORY 1 up Off m When off 1 loads the factory design from flash at power up Switch 4 has the following options 4 SECURITY When on 0 does not send factory command at power Off up m When off 1 sends factory command at power up Note to Table 4 4 1 Functionality of the CLK EN FACTORY and SECURITY settings are dependent on the MAX V system controller CPLD In order to function properly the MAX V CPLD must be programmed with the required MAX V design July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 4 6 Chapter 4 Development Board Setup Factory Default Switch Settings 5 Set DIP switch bank SW6 to match Table 4 5 and Figure 4 2 Table 4 5 SW6 DIP Switch Settings call Function E Switch 1 has the following options 1 Lue m When on 0 x1 presence detect is enabled On m When off 1 x1 presence detect is disabled Switch 2 has the following options 2 UNS m When on 0 x4 presence detect is enabled On m When off 1 x4 presence d
26. B 0xO20C 0000 0413 FFFF 0x061C 0000 069B FFFF m Factory hardware PFL Option Bits 33 280KB 0x0004 0000 0205 FFFF 0x0003 0000 0003 FFFF Board information hernet Onhan Bi The following sections describe the controls on the Flash tab July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 8 Chapter 6 Board Test System Using the Board Test System The Read control reads the flash memory on your board To see the flash memory contents 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 0x0800 0000 Thus the first location in flash memory appears as 0x0800 0000 in the GUI If you enter an address outside of 0x0000 0000 to 0x07FE FFFF flash memory address space a warning message identifies the valid flash memory address range Write The Write control writes the flash memory on your board 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 addres
27. Corporation User Guide Chapter 6 Board Test System 6 17 Using the Board Test System m Pattern sync Shows the pattern synced or not synced state The pattern is considered synced when the start of the data sequence is detected after channel lock is acquired Port The Port control allows you to specify which interface to test The following port tests are available m QSFP x4 10 3 Gbps m HSMB x4 Transceivers 10 Gbps m HSMB x41 Parallel PMA Setting The PMA Setting button allows you to make changes to the PMA parameters that affect the active transceiver interface The following settings are available for analysis m Serial Loopback Routes signals between the transmitter and the receiver Enter the following values to enable the serial loopbacks 0 High speed serial transceiver signals to loopback on the board 1 Serial loopback 2 Reverse serial loopback pre CDR 4 Reverse serial loopback post CDR m VODc Specifies the voltage output differential of the transmitter buffer m Pre emphasis tap m Pre Specifies the amount of pre emphasis on the pre tap of the transmitter buffer m First post 5pecifies the amount of pre emphasis on the first post tap of the transmitter buffer m Second post Specifies the amount of pre emphasis on the second post tap of the transmitter buffer m Equalizer Specifies the setting for the receiver equalizer m DC gain Specifies the DC portion of the receiver equaliz
28. DSP Development Kit Stratix V Edition User Guide JANOS RYAN 101 Innovation Drive San Jose CA 95134 www altera com UG 01119 1 1 PA Feedback Subscribe 2013 Altera Corporation All rights reserved ALTERA ARRIA CYCLONE HARDCOPY MAX MEGACORE NIOS QUARTUS and STRATIX words and logos are trademarks eb Altera Corporation and registered in the U S Patent and Trademark Office and in other countries All other words and logos identified as trademarks or service marks are the property of their respective holders as described at www altera com common legal html 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 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 ISO 9001 2008 Registered July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide N DTE RYN Contents Chapter 1 About This Kit Kit Features ccc sere eee REPE e hd eee eee Eh le pea deer x prre p a dad da e 1 1 Hardware ec da nce ipio ab dae dake DI
29. E Ad bRESY SERE E Gur Y WR E E RE EPA IA 6 3 MAX V Registers isses cust e a lt RO eae GG DER Les 6 4 MAG Chai P TTE IT 6 5 Flash Memory Map ize dae de m pack kr dee Ae ea eee a d ke reris 6 5 TheGPIO Fab osse nense totem eR e reb ad eo a dll as 6 6 Character LOD vinci rs ope eR px C4 Reb a CY EO CHA E CK d ea C RE ded 6 6 User DIPS Witches cusco ai A sados 6 6 Wser LEDS lt lt a ERA E A ER 6 7 Push Buttom Switches 4besddcescieuexebRes bp V LC LE a aba 6 7 The Flash Tab scx sds A RERO YER aee a E Rx ed e e eben 6 7 Read ivy teris creo S E VU UEM ES cele eire a ae eg 6 8 lu cc P 6 8 Random Test desde pata cs ara a ral mend 6 8 CEIQUELY ccce ber drid ds DERE AI DPI AAA A A A 6 8 Increment Test auna hr A A A A a 6 8 RI A aa 6 8 July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide iv Contents BraSeus conspirar te RARER AS n TS M eO PRIMUM Edo Ve das 6 8 Flash Mem ty Map sser una hse dee a Aenea ees 6 8 The DDR3 Tab 0 000 ePEPRERU EE A A uae eb er bd RP ES 6 9 SLatb e eI Gu Rp eS A EADS ROAD Pea HS ORES bE PEU pra RE rn 6 9 SLOP acessat nak toad tita aa eaten aue i a e eae gite tdt pap aco anes etn 6 9 Performance Indicators 6 9 Error Control iia A AS ARA Nog d a ides oes Bee 6 10 Number of Addresses to Write and Read o oooooooorrornrorrrrr ee 6 10 Data Type sario arc ai ae 6 10 Read and Write Control 6 10 The ODRIT Tab vir dd
30. E a cenea ceded seve babes bene aoew he ess 1 2 SOW are La ae d x epi UEES eee ek AR Pee ee Ye oe Pe aos 1 2 Quartus Il Software a d e d 1 2 The Development Kit Installer ps estss stepu eitaaa tekomen esia aaa e 1 3 Chapter 2 Getting Started scu mr nm 2 1 Inspect the Board 4 45sec ete ee A tlie 2 1 REFERENCES 5 25 e n E A EE E EE EEEE E E EE E la EEE hse lnc E Merataret 2 2 Chapter 3 Software Installation Installing the Quartus II Subscription Edition Software 6666s 3 1 Licensing Considerations eese eret e ri Re ERA ee e kie 3 1 Installing the Development Kit lssssssssseeeeeel II n 3 2 Installing the USB Blaster II Driver sssssseeeeeee I eens 3 3 Chapter 4 Development Board Setup Settins Up the Board cocos tt OP Roe ae Se RSE OO RIE Sara PRET ni 4 1 Factory Default Switch Settings 2 0 666k ee eee i ih 4 2 Chapter 5 Board Update Portal Connecting to the Board Update Portal Web Page ssssss e 5 1 Using the Board Update Portal to Update User Designs sssssssse ee 5 2 Chapter 6 Board Test System Preparing the Boardi oss enar EEE rue nous o 6 2 Running the Board Test System 66 66 eene 6 2 Using the Board Test System omic ee a bk rn E e a cR EC TEE 6 3 Th Configure Men occus ru Cre ERE up ra A Ex re ert Ya RE EY rig 6 3 The System Info Tab 2icii isiin nee e ena pde ace EEE e oe e perc pb re bere 6 3 Board Information 2e tesa eu e ud Rx RIEN R
31. Figure 6 1 Board Test System Graphical User Interface ARET Test System 1501 xl Configure Help About Mo tes erro Flash r Board information Board Name Stratix Y GX FPGA Development Board Board P N 6 X 43827R Serial number Factory test version MAX V ver 3 pe an MAX V registers PSO Cusepsm PR fo s SRST UsePSS pss 0 r JTAG chain USB BlasterII on sd hwlab7 USB 1 5SGXEA7H 2ES 3ES 81 p gt Qsys memory map cfi_Flash 0x0800 0000 OFFF FFFF onchip_memory 0x0080 0000 O08F 9FFF 0x0060 0000 OD6F FFFF 0x0000 04D0 Q000 04D7 0x0000 0400 0000 07FF 0x0000 0040 0000 004F 0x0000 0030 D000 003F 7 Messages Detected the GPIO Flash Project Several designs are provided to test the major board features 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 July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 2 Chapter 6 Board Test System Preparing the Board After successful FPGA configuration the appropriate tab appears and allows you to exercise the related board features Highlights appear in the board picture around the corresponding components The Power Monitor button starts the Power Monitor application that measures a
32. For more information about Altera development tools refer to the Design Software page of the Altera website Table A 1 shows the default memory contents of two interlaced 512 Mbyte CFI flash devices Each flash device has a 16 bit data bus and the two combined flash devices allow for a 32 bit flash memory interface For the Board Update Portal to run correctly and update designs in the user memory this memory map must not be altered Table A 1 Byte Address Flash Memory Map July 2013 Altera Corporation Block Description Size KB Address Range Board test system scratch 256 0x07FC 0000 0x07FF FFFF User software 14 336 0x071C 0000 0x07FB FFFF Factory software 8 192 0x069C 0000 0x071B FFFF zipfs html web content 8 192 0x061C 0000 0x069B FFFF User hardware 2 33 280 0x0414 0000 0x061B FFFF User hardware 1 33 280 0x020C 0000 0x0413 FFFF Factory hardware 33 280 0x0004 0000 0x020B FFFF PFL option bits 64 0x0003 0000 0x0003 FFFF Board information 64 0x0002 0000 0x0002 FFFF Ethernet option bits 64 0x0001 0000 0x0001 FFFF User design reset vector 64 0x0000 0000 0x0000 FFFF DSP Development Kit Stratix V Edition User Guide A 2 A CAUTION Appendix A Programming the Flash Memory Device 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 I
33. I EDS commands m For Quartus II sof files sof2flash input lt yourfile gt hw sof output lt yourfile gt hw flash offset 0x020C0000 pfl optionbit 0x00030000 programmingmode PS m For Nios II elf files elf2flash base 0x0 end 0x0FFFFFFF reset 0x071C0000 input yourfile sw elf output lt yourfile gt sw flash boot SOPC KIT NIOS2 components altera nios2 boot loader _cfi srect 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 DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Appendix A Programming the Flash Memory Device A 3 Programming 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 that operates without a software design file you can still use the Board Update Por
34. SEL1 Configuration Setting 1 On 0 3 MSEL2 Configuration Setting 2 On 0 4 MSEL3 Configuration Setting 3 Off 1 5 MSEL4 Configuration Setting 4 On 0 6 On 0 Note to Table 4 3 1 Set MSEL 4 0 to valid configuration schemes as listed in the Stratix V Device Handbook DSP Development Kit Stratix V Edition User Guide July 2013 Altera Corporation Chapter 4 Development Board Setup 4 5 Factory Default Switch Settings e For more information refer to the Configuration Schemes section in volume 2 Chapter 9 of the Stratix V Device Handbook 4 Set DIP switch bank SW5 to match Table 4 4 and Figure 4 2 a Ifyou use an external USB Blaster Altera recommends that you disable the power up configuration of the FPGA by changing the MSEL 4 0 DIP switch SW4 from 01000 to 11000 This will prevent power up FPGA configuration from flash in the default FPPx32 mode The On Board USB Blaster II is disabled when you plug in an external USB Blaster which prevents the JTAG FACTORY command from being sent to disable the security mode JTAG lockout prior to configuring the Stratix V The On Board USB Blaster II issues the JTAG FACTORY command when the SECURITY switch SW5 4 is set to 1 For more information on the Stratix V ES JTAG Port Access Limitation After Configuration refer to the Errata Sheet and Guidelines for Stratix V ES Devices Table 4 4 SW5 DIP Switch Settings vu Function Do Switch
35. atic information about your board July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide Chapter 6 Board Test System Using the Board Test System Board Name Indicates the official name of the board Board P N Indicates the part number of the board Serial number Indicates the serial number of the board Factory test version Indicates the version of the Board Test System currently running on the board MAX V ver Indicates the version of MAX V code currently running on the board The MAX V code resides in the install dir NkitsNstratixVGS 5sgsmd5kf40 dspNexamples directory Newer revisions of this code might be available on the DSP Development Kit Stratix V Edition page of the Altera website MAC Indicates the MAC address of the board MAX V Registers The MAX V registers control allows you to view and change the current MAX V register values as described in Table 6 1 Changes to the register values with the GUI take effect immediately Tahle 6 1 MAX V Registers System Reset Read Write Register Name Capability Description Write only Set to 0 to initiate an FPGA reconfiguration SRST When set to 0 the value in PSR determines the page of Page Select Override Read Write flash memory to use for FPGA reconfiguration When set to PSO 1 the value in PSS determines the page of flash memory to use for FPGA reconfiguration Holds the current value of the illuminated PGM
36. board has power The MAX V device on the board contains among other things a parallel flash loader PFL megafunction When the board powers up the PFL reads a design from flash memory and configures the FPGA The DIP switch SW5 3 controls which design to load When the switch is in the off position the PFL loads the design from the factory portion of flash memory La The kit includes a MAX V design which contains the MAX V PFL megafunction The design resides in the install dir gt kits stratixVGS_5sgsmd5kf40_dsp examples maxs5 directory When configuration is complete the Config Done LED D17 illuminates signaling that the Stratix V GS device configured successfully St For more information about the PFL megafunction refer to AN 386 Parallel Flash Loader Megafunction User Guide July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 4 2 Chapter 4 Development Board Setup Factory Default Switch Settings Factory Default Switch Settings This section shows the factory switch settings for the Stratix V GS development board Figure 4 1 shows the switch locations and the default position of each switch on the top side of the board Figure 4 1 Switch Locations and Default Settings on the Board Top User DIP Switch Default no jumper instal
37. control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last clicked Start m TXandRX performance bars Show the percentage of maximum theoretical data rate that the requested transactions are able to achieve m Tx MBps and Rx MBps Show the number of bytes of data analyzed per second DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 19 Using the Board Test System The XCVR3 Tab The XCVR3 tab allows you to perform loopback tests on the SMA port Figure 6 9 shows the XCVR3 tab Figure 6 9 The XCVR3 Tab ARET Test System E plc xl Configure Help About System Info GPIO Flash ARI REVRZ XCVR3 DORS GORI Status PLL lock locked Channel lock NOT locked Pattern sync synced XCVR control r Port SMA x1 PMA Setting Data type Error control Detected errors 0 I pres7 Inserted errors O 7 Bit error rate 5 507598e 08 Insert Error Start Stop Tx MBps 1562 5815 Rx MBps 1562 5531 Loopback Tx Messages Detected XCVR3 Project La The external loopback mode will not pass due to only having a transmit port available To test in internal loopback adjust the setting using the PMA button serial loopback 1
38. d rail click Reset to refresh the screen with new board readings 5 All rails use a 0 003 ohm resistor except 55 VCCINT that uses 0 001 ohms DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 23 The Clock Control UST A table with the power rail information is available in the DSP Development Kit Stratix V Edition Reference Manual Temperature Information The Temperature information controls display the following temperature readings for the board and the FPGA on the board m FPGA Indicates the temperature of the FPGA device m Board lIndicates the overall board temperature Power Information The Power information control displays current maximum and minimum power readings for the following units mAmp Power Graph The power graph displays the mA 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 The yellow line indicates the minimum value read since the last reset Graph Settings The following Graph settings controls allow you to define the look and feel of the power graph m 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 m Update speed Specifies how often to refresh the graph Reset
39. data errors detected in the hardware m Inserted errors Displays the number of errors inserted into the transaction stream m 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 m Clear Resets the Detected errors and Inserted errors counters to zeros Number of Addresses to Write and Read The Number of addresses to write and read control determines the number of addresses to use in each iteration of reads and writes Data Type The Data type 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 V GS device m Math Selects data generated from a simple math function within the FPGA fabric Read and Write Control The Read and write control control specifies the type of transactions to analyze The following transaction types are available for analysis m Write then read Selects read and write transactions for analysis m Read only Selects read transactions for analysis m Write only Selects write transactions for analysis DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 11 Using the Board Test System The QDRII Tab The ODRII tab allows you to
40. e DSP Development Kit Stratix V Edition Reference Manual m HSMC loopback board A daughtercard that allows for loopback testing all signals on the HSMC interface using the Board Test System m Power supply and cables The kit includes the following items m Power supply and AC adapters for North America Japan Europe and the United Kingdom m Standard USB A to micro USB cable m Ethernet cable m 75 Q SMB video cable The software for this kit described in the following sections is available on the Altera website for immediate downloading You can also request to have Altera mail the software to you on DVDs Quartus Il Software Your kit includes a license for the Development Kit Edition DKE of the Quartus II software Windows platform only For one year this license entitles you to most of the features of the Subscription Edition excluding the IP Base Suite After the year your DKE license will no longer be valid and you will not be permitted to use this version of the Quartus II software To continue using the Quartus II software you should download the free Quartus II Web Edition or purchase a subscription to Quartus II software For more information refer to the Design Software page of the Altera website The Quartus II Development Kit Edition DKE software includes the following items m Quartus IL Software The Quartus II software including the Qsys system integration tool provides a comprehensive environment for
41. e oscillator frequency for the selected clock to the value in the Target frequency control for the Si570 Si571 and the Frequency controls for the 15338 U38 and U46 Frequency changes might take several milliseconds to take effect You might see glitches on the clock during this time Altera recommends resetting the FPGA logic after changing frequencies Configuring the FPGA Using the Quartus Il Programmer LS 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 II driver are installed on the host computer the micro USB cable is connected to the development board power to the board is on and no other applications that use the JTAG chain are running To configure the Stratix V GS FPGA perform the following steps 1 Start the Quartus II Programmer Click Auto Detect to display the devices in the JTAG chain Click Add File and select the path to the desired sof Turn on the Program Configure option for the added file moe m Click Start to download the selected file to the FPGA Configuration is complete when the progress bar reaches 100 Using the Quartus II programmer to configure a device on the board causes other JTAG based applications such as the Board Test System and the Power Monitor to lose their connection to the board Restart those applications after configuration is complete If the Quartus II programing
42. een J16 and J17 s La You must have the loopback HSMC installed on the HSMC connector Port A and the SDI loopback cable for all tests to function in external loopback mode Otherwise set the PMA setting tab to test internal loopback mode serial loopback 1 The following sections describe the controls on the XCVR1 tab Status The Status control displays the following status information during the loopback test m PLL lock Shows the PLL locked or unlocked state m Channel lock Shows the channel locked or unlocked state When locked all lanes are word aligned and channel bonded and all TX and RX PLL lanes are phase locked to data RX lanes are word aligned and deskewed July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 14 Chapter 6 Board Test System Using the Board Test System m Pattern sync Shows the pattern synced or not synced state The pattern is considered synced when the start of the data sequence is detected after channel lock is acquired Port The Port control allows you to specify which interface to test The following port tests are available m SDI 2 97 Gbps m HSMA Transceivers x8 10 Gbps m HSMA x3 CMOS m HSMA x17 LVDS PMA Setting The PMA Setting button allows you to make changes to the PMA parameters that affect the active transceiver interface The following settings are available for analysis m Serial Loopback Routes signals betwee
43. emory tests 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 Running the Board Test System To run the application navigate to the install dir NkitsNstratixVGS 5sgsmd5kf40 dspNexamplesNboard test system directory and run the BoardTestSystem exe application 5 On Windows click Start gt All Programs gt Altera gt DSP Development Kit Stratix V Edition lt version gt gt Board Test System to run the application h A GUI appears displaying the application tab that corresponds to the design running in the FPGA The Stratix V GS development board s flash memory ships preconfigured with the design that corresponds to the GPIO and Flash tabs DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 3 Using the Board Test System La If you power up your board with the DIP switch SW5 3 in a position other than the on user hardware 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 control in the Board Test System application
44. er Data Type The Data type control specifies the type of data contained in the transactions The following data types are available for analysis m PRBS 7 Selects pseudo random 7 bit sequences PRBS 15 Selects pseudo random 15 bit sequences PRBS 23 Selects pseudo random 23 bit sequences PRBS 31 Selects pseudo random 31 bit sequences HF Selects highest frequency divide by 2 data pattern 10101010 HF1 Selects next highest frequency divide by 6 data pattern 111000111000 HF2 Selects second lowest frequency divide by 22 data pattern July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 18 Chapter 6 Board Test System Using the Board Test System m LF Selects lowest frequency divide by 33 data pattern Error Control The Error control controls display data errors detected during analysis and allow you to insert errors m Detected errors Displays the number of data errors detected in the hardware m Inserted errors Displays the number of errors inserted into the transmit data stream m Insert Error Inserts a one word error into the transmit data stream each time you click the button Insert Error is only enabled during transaction performance analysis m Clear Resets the Detected errors and Inserted errors counters to zeros Start The Start control initiates the selected ports transaction performance analysis Always click Clear before Start Stop The Stop
45. es Figure 6 8 shows the XCVR2 tab Figure 6 8 The XCVR2 Tab ARET Test System Elo xi Configure Help About System Into GPIO Flash SRL XCVR2 cuna DRS aon r Status PLL lock locked Channel lock locked Pattern sync synced XCYR control Port QSFP x4 HSMB x4 Transceivers HSMB x41 Parallel PMA Setting Error control Detected errors 0 PRes7 y Inserted errors O Bit error rate 2 121873e 08 Data type Insert Error Start Stop Tx MBps 6249 9868 Rx MBps 6250 0508 Loopback Tx Messages Detected XCVR2 Project Please install HSMC Port B loop hack c onnector J2 is La You must have the loopback HSMC installed on the HSMC port B connector that you are testing for this test to work correctly Unless you have a OSFP loopback module you will need test the OSFP in the internal loopback mode serial loopback 1 The following sections describe the controls on the XCVR2 tab Status The Status control displays the following status information during the loopback test m PLL lock Shows the PLL locked or unlocked state m Channel lock Shows the channel locked or unlocked state When locked all lanes are word aligned and channel bonded and all TX and RX PLL lanes are phase locked to data RX lanes are word aligned and deskewed DSP Development Kit Stratix V Edition July 2013 Altera
46. etect is disabled Switch 3 has the following options 3 ane m When on 0 x8 presence detect is enabled On m When off 1 x8 presence detect is disabled 4 Off Kit Stratix V Edition Reference Manual DSP Development Kit Stratix V Edition User Guide For more information about the FPGA board settings refer to the DSP Development July 2013 Altera Corporation N DTE RYN 5 Board Update Portal The DSP Development Kit Stratix V Edition ships with the Board Update Portal design example 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 DIP switch SW5 3 in the off position the Stratix V GS FPGA configures with the Board Update Portal design example 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 hardware 1 portion of flash memory and provides useful kit specific links and design resources La After successfully updating the user hardware 1 flash memory you can load the design from flash memory into the FPGA To do so set the DIP switch SW5 3 to the on position and power cycle the board which loads the user 1 design into flash The source code for the Board Update Portal design resides in the insta
47. f errors inserted into the transmit data stream m Insert Error Inserts a one word error into the transmit data stream each time you click the button Insert Error is only enabled during transaction performance analysis m Clear Resets the Detected errors and Inserted errors counters to zeros Start The Start control initiates SMA transaction performance analysis Always click Clear before Start Stop The Stop control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last clicked Start m TXandRX performance bars Show the percentage of maximum theoretical data rate that the requested transactions are able to achieve m Tx MBps and Rx MBps Show the number of bytes of data analyzed per second The Power Monitor Ls The Power Monitor measures and reports current power and temperature information for the board To start the application click Power Monitor in the Board Test System application You can also run the Power Monitor as a stand alone application PowerMonitor exe resides in the install dir gt kits stratixVGS_5sgsmd5kf40_dsp examples board_test_system directory On Windows click Start gt All Programs gt Altera gt DSP Development Kit Stratix V Edition lt version gt gt Power Monitor to start the application July 2013 Altera Corporation DSP Development Kit Stratix V Edition
48. f you unintentionally overwrite the factory hardware or factory software image refer to Restoring the Flash Device to the Factory Settings on page A4 Preparing Design Files for Flash Programming You can obtain designs containing prepared flash files from the DSP Development Kit Stratix V Edition page of 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 1 and user software locations of the flash memory For more information about Nios II EDS software tools and practices refer to the Embedded Software Development page of 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 II command shell navigate to the directory where your design files reside and type the following Nios I
49. g of SyncFlash DDR3 and QDRII Develop and test SDI with the embedded 75 ohm 3G SDI transceivers Develop embedded designs utilizing the Nios II processor and external memory Develop and test network designs utilizing Triple Speed Ethernet MegaCore and external RJ 45 jack Develop and test optical networking designs using the 10 Gbps and 40 Gbps Ethernet MAC MegaCores and the QSFP Optical Interface Take advantage of the modular and scalable design by using the high speed mezzanine card HSMC connectors to interface to over 40 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 Measure the FPGA s power consumption Control twelve different programmable clock oscillators using the Clock Control GUI This section briefly describes the DSP Development Kit Stratix V Edition contents July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide Chapter 1 About This Kit Kit Features Hardware Software Ls The DSP Development Kit Stratix V Edition includes the following hardware m Stratix V GS development board A development platform that allows you to develop and prototype hardware designs running on the Stratix V GS 5SGSMD5K2F40C2N device e For detailed information about the board components and interfaces refer to th
50. he System Info tab requires that a specific design is running in the FPGA at a specific clock speed writing a 0 to SRST or changing the PSO value can cause the Board Test System to stop running JTAG Chain The JTAG chain control shows all the devices currently in the JTAG chain The Stratix V GS device is always the first device in the chain The JTAG chain is normally mastered by the On board USB Blaster II Le If you plug in an external USB Blaster cable to the JTAG header J10 the On Board USB Blaster II is disabled DIP switch SW3 selects which interfaces are in the chain Set SW3 switch positions in the off position to include the interface in the JTAG chain Refer to Table 4 2 for detailed settings e For details on the JTAG chain refer to the DSP Development Kit Stratix V Edition Reference Manual For USB Blaster II configuration details refer to the On Board USB Blaster II page Flash Memory Map The Flash memory map control shows the memory map of the flash memory device on your board July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 6 The GPIO Tab Chapter 6 Board Test System Using the Board Test System The GPIO tab allows you to interact with all the general purpose user I O components on your board You can write to the character LCD read DIP switch settings turn LEDs on or off and detect push button presses Figure 6 3 shows the GPIO tab Figure 6 3 The GPIO Tab
51. hematic layout assembly and bill of material board design files Use these files as a hoard design fles starting point for a new prototype board design demos Contains demonstration applications when available documents Contains the kit documentation examples Contains the sample design files for the DSP Development Kit Stratix V Edition Contains the original data programmed onto the board before shipment Use this data to restore factory recovery the board with its original factory contents Installing the USB Blaster II Driver The Stratix V GS development board includes integrated On Board USB Blaster II circuitry for FPGA programming However for the host computer and board to communicate you must install the USB Blaster II driver on the host computer T Installation instructions for the USB Blaster II driver for your operating system are available on the Altera website On the Altera Programming Cable Driver Information page of the Altera website locate the table entry for your configuration and click the link to access the instructions For USB Blaster II configuration details refer to the On Board USB Blaster II page July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 3 4 Chapter 3 Software Installation Installing the USB Blaster Il Driver DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide N DTE RYN l 4 Development Board Setup
52. ign examples refer to the DSP Designs Examples page For the latest board design files and reference designs refer to the DSP Development Kit Stratix V Edition page For additional daughter cards available for purchase refer to the Development Board Daughtercards page For the Stratix V GS device documentation refer to the Documentation Stratix V Devices page To purchase devices from the eStore refer to the Devices page For Stratix V GS OrCAD symbols refer to the Capture CIS Symbols page For Nios II 32 bit embedded processor solutions refer to the Embedded Processing page DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide N D TE SYAN 3 Software Installation This chapter explains how to install the following software m Quartus II Subscription Edition Software m DSP Development Kit Stratix V Edition m USB Blaster II driver Installing the Quartus Il Subscription Edition Software Included in the Quartus II Subscription Edition Software are the Quartus II software including Osys the Nios II EDS and the MegaCore IP Library To install the Altera development tools perform the following steps 1 Download the Quartus II Subscription Edition Software from the Quartus II Subscription Edition Software page of the Altera website Alternatively you can request a DVD from the Altera IP and Software DVD Request Form page of the Altera website 2 Follow the on screen instructions t
53. indows 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 NkitsNstratixVGS 5sgsmd5kf40 dspMfactory recovery directory or to the directory of the flash files you created in Creating Flash Files Using the Nios II EDS on page A 2 and type the following Nios II EDS command nios2 flash programmer base 0x0 lt yourfile gt 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 0x0 lt yourfile gt sw flash 11 Set the DIP switch SW5 3 to the on position user design and power cycle the board Programming the board is now complete July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide A 4 Appendix A Programming the Flash Memory Device Restoring the Flash Device to the Factory Settings e For more information about the nios2 flash programmer utility refer to the Nios II Flash Programmer User Guide Restoring the Flash Device to the Factory Settings This section describes how to restore the original factory contents to the flash memory device on the development board Make sure you have the Nios II EDS installed and perform the following instructions 1 10 11 12 Set the board switches to the factory default settings described in Factory Default Switch Settings on page 4
54. led for x 2 5 V VCCIO J8 HE 25v HH 18v EE 15v HSMB VCCIO DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 4 Development Board Setup 4 3 Factory Default Switch Settings Figure 4 2 shows the switch locations and the default position of each switch on the bottom side of the board Figure 4 2 Switch Locations and Default Settings on the Board Bottom N CLK EN m CLK SEL mm SECURITY mjw FACTORY e zZ ai oa To restore the switches to their factory default settings perform the following steps 1 Set jumper block J8 to match Table 4 1 and Figure 4 1 Table 4 1 J8 Jumper Block Jumper HSMB VCCIO Position Pins 3 4 1 5 V Not installed Pins 5 6 1 2 V Not installed No pins 2 5 V Default Note to Table 4 1 1 Adding a single jumper between the pins sets the voltage as described in the table Install only one jumper location at a time July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide Chapter 4 Development Board Setup Factory Default Switch Settings 2 Set the DIP switch bank SW3 to match Table 4 2 and Figure 4 2 Table 4 2 SW3 JTAG DIP Switch Settings
55. ll dir NkitsNstratixVGS 5sgsmd5kf40 dspNexamples directory If the Board Update Portal is corrupted or deleted from the flash memory refer to Restoring the Flash Device to the Factory Settings 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 Lo 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 these steps 1 With the board powered down set the DIP switch SW5 3 to the off position which loads the factory design into flash 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 July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 5 2 Chapter 5 Board Update Portal Using the Board Update Portal to Update User Designs Ka You can click
56. ment Kit Stratix V Edition Reference Manual The Clock Control communicates with the MAX V device on the board through the JT AG bus The Si570 Si571 Si5338 U38 U46 programmable oscillators are connected to the MAX V device through a 2 wire serial bus Clock frequencies will return to the default values after power cycling the board Figure 6 11 shows the Clock Control Figure 6 11 The Clock Control lola IN DTE RA 5i570 sis71 use U46 F_vco 2578 1250 Messages Registers CLkO 125 0000 CLK1 644 5313 CLk2 282 5000 CLK3 125 0000 USB BlasterII on sd hulab 22102 EPM2210 2 Frequency MHz cLKO 100 00 Ci 100 00 CK2 100 00 CK3 100 00 Default Set New Frequency USB 1 5M 1270ZF324 Disable al Disable CLKO Disable CLK1 Disable CLK2 Disable CLK3 The following sections describe the Clock Control controls This control reads the current frequency setting for the oscillator associated with the active tab DSP Development Kit Stratix V Edition User Guide July 2013 Altera Corporation Chapter 6 Board Test System 6 25 Configuring the FPGA Using the Quartus II Programmer Default This control sets the frequency for the oscillator associated with the active tab back to its default value This can also be accomplished by power cycling the board Set New Frequency The Set New Frequency control sets the programmabl
57. n the transmitter and the receiver Enter the following values to enable the serial loopbacks 0 High speed serial transceiver signals to loopback on the board 1 Serial loopback internal loopback 2 Reverse serial loopback pre CDR 4 Reverse serial loopback post CDR m VOD Specifies the voltage output differential of the transmitter buffer m Pre emphasis tap m Pre Specifies the amount of pre emphasis on the pre tap of the transmitter buffer m First post Specifies the amount of pre emphasis on the first post tap of the transmitter buffer m Second post Specifies the amount of pre emphasis on the second post tap of the transmitter buffer m Equalizer Specifies the setting for the receiver equalizer m DC gain Specifies the DC portion of the receiver equalizer Data Type The Data type control specifies the type of data contained in the transactions The following data types are available for analysis m PRBS 7 Selects pseudo random 7 bit sequences m PRBS 15 Selects pseudo random 15 bit sequences m PRBS 23 Selects pseudo random 23 bit sequences m PRBS 31 Selects pseudo random 31 bit sequences m HF Selects highest frequency divide by 2 data pattern 10101010 m HF1 Selects next highest frequency divide by 6 data pattern 111000111000 DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 15 Using the Board Test System m HF2 Selects second lowest freque
58. ncy divide by 22 data pattern m LF Selects lowest frequency divide by 33 data pattern Error Control The Error control controls display data errors detected during analysis and allow you to insert errors m Detected errors Displays the number of data errors detected in the hardware m Inserted errors Displays the number of errors inserted into the transmit data stream m Insert Error Inserts a one word error into the transmit data stream each time you click the button Insert Error is only enabled during transaction performance analysis m Clear Resets the Detected errors and Inserted errors counters to zeros Start The Start control initiates the active port transaction performance analysis Always click Clear before Start Stop The Stop control terminates transaction performance analysis Performance Indicators These controls display current transaction performance analysis information collected since you last clicked Start m TXandRX performance bars Show the percentage of maximum theoretical data rate that the requested transactions are able to achieve m Tx MBps and Rx MBps Show the number of bytes of data analyzed per second July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 6 16 Chapter 6 Board Test System Using the Board Test System The XCVR2 Tab The XCVR2 tab allows you to perform loopback tests on the OSFP HSMB Transceivers and HSMB Parallel interfac
59. nd reports current power and temperature information for the board Because the application communicates over the JTAG bus to the MAX V device you can measure the power of any design in the FPGA including your own designs I gt The Board Test System and Power Monitor share the JTAG bus with other applications like the Nios II debugger and the SignalTap II Embedded Logic Analyzer Because the Quartus II programmer uses most of the bandwidth of the JTAG bus other applications using the JTAG bus might time out Be sure to close the other applications before attempting to reconfigure the FPGA using the Quartus II Programmer Preparing the Board With the power to the board off following these steps 1 Connect the USB cable to the board 2 Ensure that the board DIP switches are set to default positions as shown in the Factory Default Switch Settings section starting on page 4 2 except for DIP switch SW5 3 3 Set the DIP switch SW5 3 to the on user position e For more information about the board s DIP switch and jumper settings refer to the DSP Development Kit Stratix V Edition Reference Manual 4 Turn on the power to the board The board loads the design stored in the user hardware 1 portion of flash memory into the FPGA If your board is still in the factory configuration or if you have downloaded a newer version of the Board Test System to flash memory through the Board Update Portal the design loads the GPIO and flash m
60. o complete the installation process ST Ifyou have difficulty installing the Quartus II software refer to the Altera Software Installation and Licensing Manual Licensing Considerations Purchasing this kit entitles you to a one year license for the Development Kit Edition DKE of the Quartus II software Lo After the year your DKE license will no longer be valid and you will not be permitted to use this version of the Quartus II software To continue using the Quartus II software you should download the free Quartus II Web Edition or purchase a subscription to Quartus II software Before using the Quartus II software you must activate your license identify specific users and computers and obtain and install a license file If you already have a licensed version of the subscription edition you can use that license file with this kit If not you need to obtain and install a license file To begin go to the Self Service Licensing Center page of the Altera website log into or create your myAltera account and take the following actions 1 On the Activate Products page enter the serial number provided with your development kit in the License Activation Code box La Your serial number is printed on the side of the development kit box below the bottom bar code The number is consists of alphanumeric characters such as 5SDSPxxxxxxxxx and does not contain hyphens July 2013 Altera Corporation DSP Development Kit Stratix V Edition
61. r dg m aq ADA See e aac 6 21 DIOP theese the ti epe siesta A AA 6 21 Performance Indicators 6 21 The Power Monitor 4 terror e EE 6 21 General Information sse re 6 22 Temperature Information 0 2 een 6 23 Power Information nei e Der beca a aer 6 23 Power Graph ossskexteet sehe eq ee ec md pede end pp oa rod doe e te naaa 6 23 Graph Settings secco rhe ro bx A Y Cera A ee IE rere ied 6 23 ResSet xov 4 e A A E ee Oe bee etek soe eke erg dee PEE 6 23 The Clock Control 4 51 ziin ua hice PHOS OA DAS as 6 23 A VQ atte Beas 6 24 Detalla ais ii RERO EXER E CIR EEG RERO RYG RNC RN GU RR KG RACK GU PRO E 6 25 DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Contents Set New Frequency ss cquo ru cova ceded nen Du op oed A e op doe A a a ect 6 25 Configuring the FPGA Using the Quartus II Programmer 0 00000 e eee eee eee ee 6 25 Appendix A Programming the Flash Memory Device CFI Flash Memory Map ierit tii te aeo diee eh e Web Sede ba ee de eee deed A 1 Preparing Design Files for Flash Programming 0 000 cece eee A 2 Creating Flash Files Using the Nios II EDS 0 ccc cece ee A 2 Programming Flash Memory Using the Board Update Portal o oooooooccoococcomooo mo A 3 Programming Flash Memory Using the Nios IH EDS 0 A 3 Restoring the Flash Device to the Factory Settings 00 ccc eee eee A 4 Restoring the MAX V CPLD to
62. r to Software Installation on page 3 1 July 2013 Altera Corporation DSP Development Kit Stratix V Edition User Guide 1 4 Chapter 1 About This Kit Kit Features DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide NOTE BAN 2 Getting Started The remaining chapters in this user guide lead you through the following Stratix V GS development board setup steps m Inspecting the contents of the kit m Installing the design and kit software m Setting up powering up and verifying correct operation of the development board m Configuring the Stratix V GS FPGA m Running the Board Test System designs Ta For complete information about the development board refer to the DSP Development Kit Stratix V Edition 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 Kit Features on page 1 1 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 you can damage the board CAUTION 2 Verify that all components are on the board and appear intact a gt In typical applications with the Stratix V GS development board a heat sink is not
63. s The read only Push button switches control displays the current state of the board user push buttons Press a push button on the board to see the graphical display change accordingly The Flash Tab The Flash tab allows you to read and write flash memory on your board Figure 6 4 shows the Flash tab Figure 6 4 The Flash Tab A Board Test System Configure Help About Messages Power Monitor Detected the GPIO Flash Project m xcvez System Info GPIO Flash Start address Range 0x0000 0000 OxO7FF FFFF crt Query Reset Erase Address 0 3 4 7 0008 0000 FFFFFFFF FFFFFFFF 8 B C F FFFFFFFF FFFFFFFF 0008 0010 FFFFFFFF FFFFFFFF i FFFFFFFF FFFFFFFF 0008 0020 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 0008 0030 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 0008 0040 FFFFFFFF FFFFFFFF E FFFFFFFF FFFFFFFF 0008 0050 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 0008 0060 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF 0008 0070 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF Size 256KB Block description Unused User software 4 336KB 0x071C 0000 07FB FFFF Address Ox07FC 0000 Q7FF FFFF Factory software zipfs html web cont 8 User hardware 2 User hardware 1 1 8 192KB 0x069C 0000 071B FFFF 33 280KB 0x0414 0000 061B FFFF 3 280K
64. s complete when the progress bar reaches 100 The Config Done LED D17 illuminates indicating the flash memory device is now restored with the factory contents The flash device is ready for programming Cycle the POWER switch SW2 off then on to load and run the restored factory design DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Appendix A Programming the Flash Memory Device A 5 Restoring the MAX V CPLD to the Factory Settings 13 The restore script cannot restore the board s MAC address automatically In the Nios II command shell type the following Nios II EDS command nios2 terminal and follow the instructions in the terminal window to generate a unique MAC address To ensure that you have the most up to date factory restore files and information about this product refer to the DSP Development Kit Stratix V Edition page of the Altera website Restoring the MAX V CPLD to the Factory Settings This section describes how to restore the original factory contents to the MAX V CPLD on the development board Make sure you have the Nios II EDS installed and perform the following instructions 1 Set the board switches to the factory default settings described in Factory Default Switch Settings on page 4 2 Le DIP switch SW3 1 set to on includes the MAX V device in the JTAG chain Launch the Quartus II Programmer Click Auto Detect Click Add File and select install
65. s range to OxOFF8 0000 to OxOFFF FFFF which corresponds to address range 0x07F8 0000 Ox07FF FFFF in the uppermost portion of the user software memory block as shown in Figure 6 1 on page 6 1 and Table A 1 on page A 1 Random Test Starts a random data pattern test to flash memory which is limited to a scratch page in the upper 128K block CFI Query The CFI Query control updates the memory table displaying the CFI ROM table contents from the flash device Increment Test Starts an incrementing data pattern test to flash memory which is limited to scratch page in the upper 128K block Reset The Reset control executes the flash device s reset command and updates the memory table displayed on the Flash tab Erase Erases flash memory which is limited to a scratch page in the upper 128K block Flash Memory Map Displays the flash memory map for the DSP Development Kit Stratix V Edition DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 9 Using the Board Test System The DDR3 Tab The DDR3 tab allows you to read and write the DDR3 memory on your board Figure 6 5 shows the DDR3 tab Figure 6 5 The DDR3 Tab ARE Test System m zi xj Configure Help About System Into GPIO l Flash NOTE RYN XCUR ZGRZ URS DDR3 OPRIE e Power Monitor Write Read Total Write MBps 3088 7312 Read MBps 3088 7312 Total MBps 6177
66. tal 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 DIP switch SW5 3 to the off position factory design to load the Board Update Portal design from flash memory on power up 2 Attach the USB cable and power up the board 3 Ifthe 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 or if the Config Done LED D17 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 the Quartus II Programmer on page 6 25 for more information 5 Click Add File and select install dir gt kits stratixVGS_5sgsmd5kf40_dsp factory recovery s5gsmd5kf40_dsp_ bup 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 The Config Done LED D17 illuminates indicating that the flash device is ready for programming 8 On the W
67. tall the DSP Development Kit Stratix V Edition perform the following steps 1 Download the DSP Development Kit Stratix V Edition installer from the DSP Development Kit Stratix V Edition page of the Altera website Alternatively you can request a development kit DVD from the Altera Kit Installations DVD Request Form page of the Altera website Run the DSP Development Kit Stratix V Edition installer Follow the on screen instructions to complete the installation process Be sure that the installation directory you choose is in the same relative location to the Quartus II software installation DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 3 Software Installation 3 3 Installing the USB Blaster II Driver The installation program creates the DSP Development Kit Stratix V Edition directory structure shown in Figure 3 1 Figure 3 1 DSP Development Kit Stratix V Edition Installed Directory Structure install dir The default Windows installation directory is C altera lt version gt kits stratixVGS_5sgsmd5kf40_dsp fu board design files demos f documents ES examples fui factory recovery Note to Figure 3 1 1 Early release versions might have slightly different directory names Table 3 1 lists the file directory names and a description of their contents Table 3 1 Installed Directory Contents Directory Name Description of Contents Contains sc
68. tes Data Type The Data type 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 V GS device m Math Selects data generated from a simple math function within the FPGA fabric DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 13 Using the Board Test System The XCVR1 Tab The XCVR1 tab allows you to perform loopback tests on the SDI HSMA Transceivers HSMA LVDS and HSMA CMOS Parallel interfaces Figure 6 7 shows the XCVR1 tab Figure 6 7 The XCVR1 Tab ARET Test System E Elo xl Configure Help About System into GPIO Flash XCVR1 WcvR2 cewRa DORE GRE JNO 8 RAN status PLL lock locked Channel lock NOT locked Pattern sync synced Power Monitor PXCYR control Port e SDI C HSMA x8 Transceivers HSMA x3 CMOS C HSMA x17 LVDS PMA Setting Data type Error control Detected errors 0 PRes7 Inserted errors O Bit error rate 2 458566e 08 Insert Error Start Stop Tx MBps 371 2934 Rx MBps 371 2934 Loopback Messages Tx Detected XCVR1 Project Please install HSMC Port loop back c onnector Ji Please install SDI loopback cable betw
69. transmitter buffer m Pre emphasis tap m Pre Specifies the amount of pre emphasis on the pre tap of the transmitter buffer m First post 5pecifies the amount of pre emphasis on the first post tap of the transmitter buffer m Second post Specifies the amount of pre emphasis on the second post tap of the transmitter buffer m Equalizer Specifies the setting for the receiver equalizer m DC gain Specifies the DC portion of the receiver equalizer Data Type The Data type control specifies the type of data contained in the transactions The following data types are available for analysis m PRBS 7 Selects pseudo random 7 bit sequences m PRBS 15 Selects pseudo random 15 bit sequences m PRBS 23 Selects pseudo random 23 bit sequences m PRBS 31 Selects pseudo random 31 bit sequences m HF Selects highest frequency divide by 2 data pattern 10101010 m HF1 Selects next highest frequency divide by 6 data pattern 111000111000 DSP Development Kit Stratix V Edition July 2013 Altera Corporation User Guide Chapter 6 Board Test System 6 21 The Power Monitor I m HF2 Selects second lowest frequency divide by 22 data pattern m LF Selects lowest frequency divide by 33 data pattern Error Control The Error control controls display data errors detected during analysis and allow you to insert errors m Detected errors Displays the number of data errors detected in the hardware m Inserted errors Displays the number o
Download Pdf Manuals
Related Search
Related Contents
Table of Contents manuale di riparazione - centro ricambi troisi snc Casio Cassiopeia EG800 Télécharger le PDF "取扱説明書" Cables Direct B5ST-310Y networking cable 要求水準書(案)(PDF109KB) Utilisation de la base LHS Kurzanleitung Installation Force FX™-C Electrosurgical Generator Copyright © All rights reserved.
Failed to retrieve file