0% found this document useful (0 votes)
203 views23 pages

Manual FPGA

z

Uploaded by

AbimaelUchiha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
203 views23 pages

Manual FPGA

z

Uploaded by

AbimaelUchiha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 23
2012/2018 Elbert v2 — Spartan 3A FPGA Development Board Numato Lab Help Center Introduction Elbert V2 is an easy to use FPGA Development board featuring Xilinx Spartan-3A FPGA. Elbert V2 is specially designed for experimenting and learning system design with FPGAs. This development board features Xilinx XC3S50A TQG144 FPGA. The USB 2.0 interface provides fast and easy configuration download to the on-board SPI flash. You don't need a programmer or special downloader cable to download the bit stream to the board Applications + Product Prototype Development + Home Networking * Signal Processing + Wired and Wireless Communications + Educational tool for schools and universities Board features + FPGA: Spartan XC3S50A in TQG144 package Flash memory: 16 Mb SPI flash memory (M25P16) USB 2.0 interface for On-board flash programming FPGA configuration via JTAG and USB 8 LEDs, Six Push Buttons and 8 way DIP switch for user defined purposes hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! sea 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center * One VGA Connector One Stereo Jack One Micro SD Card Adapter Three Seven Segment Displays 39 IOs for user defined purposes On-board voltage regulators for single power rail operation How to Use Elbert V2 Spartan 3A FPGA Development Board Components/Tools Required Along with the module, you may need the items in the list below for easy and fast installation. 1. USB A to Mini B cable 2. DC Power supply (Optional). Connection Diagram hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 2003 2012/2018 Elbert v2 — Spartan 3A FPGA Development Board - Numato Lab Help Center SPARTAN 3A FPGA TaG144 3 a This diagram should be used as a reference only, For detailed information, see Elbert V2 schematics at the end of this documentation. Details of individual connectors are as below. USB Interface The on board full speed USB controller helps a PC/Linux/Mac computer to communicate with this module. Use a USB A to Mini B cable to connect with a PC. By default the module is powered from USB so make sure not to overcrowd unpowered USB hubs (the picture on the left shows USB Mini connector). DC Power Supply This module uses +5V power supply to function properly. By default the board is configured to use +5V supply from USB. So an external +5V power is not required unless USB port is unable to supply enough current. In most cases hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 23 aorr20%6 Elbert V2 —Sparian 3A FPGA Development Board Numato a Help Center USB ports are capable of providing enough current for the module. Current requirement for this board largely depends on your application. Please consult FPGA datasheet for more details on power requirements. If for any reason, an external 5V power supply needs to be used for the module, the Power select jumper should be configured properly before connecting the power supply, Please refer to the marking on the board for more details. Power Select The Solder jumper is used to configure the power source for the board. The Solder jumper in pin 4 and 2 is shorted to switch the power source to on board USB port and pin 2 and 3 to use the external DC power. JTAG Connector JTAG connector provides access to FPGA's JTAG pins. A XILINX platform cable can be used for JTAG programming. wn oO Soa FEE VREF TDI VV 22 GND hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 423 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center The VGA interface provides this board the ability to generate VGA signals from FPGA and display information any Display/monitor that supports standard VGA connector. This VGA interface uses resistor network based DAC for easy use and code implementation. This 8 bit VGA interface can display up to 256 colors. a o e SPARTAN 3A ir Z2 FPGA 5 TQG144 Qo x gO HSYNC> VSYNC Micro SD and Audio Elbert V2 features a Micro SD adapter on-board. By installing a Micro SD card, you can add data logging, media storage and other file storage to your design. Two IOs on the FPGA are dedicated for generating two channels of audio. Different audio tones can be generated by using PWM and Frequency synthesis. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 5123, 2012/2018 Elbert v2 — Spartan 3A FPGA Development Board Numato Lab Help Center SPARTAN 3A FPGA TQG144 STEREO JACK 7Segment LED Display This board features three 7-segment LED display multiplexed for low pin count operation. Each module can be separately turned on and off with the three switching transistors hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 12a 2012/2018 Elbert v2 — Spartan 3A FPGA Development Board - Numato Lab Help Center SPARTAN 3A FPGA TQG144 (https://numato.com/blog/wp-content/uploads/2016/03/elbertv2-7thsegmentleddisplay.png) LED, Push Button and Dip Switch Elbert V2 has six push button switches, an eight position DIP switch and eight LEDs for human interaction. All switches are directly connected to Spartan 6 FPGA and can be used in your design with minimal effort. The switches will require weak pull up on the GP/Os to be enabled. Please see a sample UCF (User Constraints File) to see how to enable pull-ups on 10s. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 723 2012/2018 LED'S la lz ic GPIOs Elbert v2 — Spartan 3A FPGA Development Board Numato Lab Help Center SPARTAN 3A FPGA TQG144 DIP SWITCH This board is equipped with 39 user IO pins that can be used for various custom applications. Pin assignments on the connectors are available in the tables below. HEADER P1 Header Pin No. 1 oN Oa eR wo Nn Pin description Spartan-3A (XC3S50A-TQG144)Pin No. 10_L12P_3 34 10_L12N_3 32 10_L11P_3 28 1O_L11N_3 30 10_L10P_3 27 10_L10N_3 29 10_LO9P_3 24 10_LO9N_3 25 hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Header Pin No. Pin description Spartan-3A (XC3S50A-TQG144)Pin No. 9 GND NA 10 GND NA "1 VCCAUX NA 12 VCCAUX NA HEADER P6 Header PinNo. Pin description Spartan-3A (XC3S50A-TQG144)Pin No. 1 1O_LO8P_3/TRDY2/LHCLK6 = 19. 2 1O_LO8N_3/LHCLK7 2 3 10_LO7P_3/LHCLK4 18 4 1O_LO7N_3/LHCLKS 20 5 10_LO6P_3/LHCLK2 15 6 10_LO6N_3/IRDY2/LHCLK3 16 7 10_LO5P_3/LHCLKO 12 8 1O_LOSN_3/LHCLK1 13 9 GND NA 10 GND NA 1 VCCAUX NA 12 VCCAUX NA HEADER P2 Header Pin No. Pin description Spartan-3A (XC3S50A-TQG144)Pin No. 1 10_LO4P_3 10 2 l0_LO4N_3/VREF_3 4 3 lo_Lo3P_3 7 4 1o_Lo3N_3 8 5 lo_Lo2P_3 3 6 lo_Lo2N_3 5 hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 923 2012/2018 Header Pin No. 7 8 9 10 1 12 HEADER P4 Header Pin No. 1 10 1 12 HEADER P5 Header Pin No. 1 2 3 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Pin description 1o_Lo1P_3 10_LO1N_3 GND GND VCCAUX VCCAUX Pin description 10_L12P_O/VREF_0 10_L12N_o/PUDC_B 10_L11P_o 10_L11N_O 1o_L10P_o 10_L10N_o 10_LO9P_0/GCLK10 10_LO9N_O/GCLK11 GND GND VCCAUX VCCAUX Pin description 10_LO7P_O/GCLK6 IP_ONREF_0 10_LO7N_O/GCLK7 hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! Spa 4 6 NA NA NA NA rtan-3A (XC3S50A-TQG144)Pin No. Spartan-3A (XC3S50A-TQG144)Pin No. 141 143 138 139 134 135 130 132 NA NA NA NA Spartan-3A (XC3S50A-TQG144)Pin No. 125 123 127 1023 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Header PinNo. Pin description Spartan-3A (XC3S50A-TQG144)Pin No. 4 10_LO6N_O/GCLK5 126 5 10_LO8N_O/GCLK9 131 6 10_LO7P_4/IRDY1/RHCLK6 9 7 10_0 142 8 IP_o 140 9 GND NA 10 VCCAUX NA Driver Installation Installing on Windows This product requires a driver FY Mice end other pointing devices to be installed for Li) Monitors proper functioning = Network adapters when used with 4.1} Ports (COM & LPT) Windows. The S 4 driver package fyi — can be f downloaded from BD Prot the product page. % Sound, video and game controllers To install the 7 system devices driver, unzip the contents of the downloaded driver package to a folder. Attach USB cable to the PC and when asked by Windows device installation wizard, point to the folder where driver files are present. When driver installation is complete, the module should appear in Windows Device Manager as a serial port (see the picture on the right). Note down the name of the serial port (COM1, COM2 etc... This information is required while programming the module with configuration tool. § Universal Serial Bus controllers hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 23 aoareore Elbert V2 Spartan 34 FPGA Development Board Numato Lab Hep Cater Installing on Linux To use this product with Linux, USB CDC driver needs to be compiled in with the kernel. Fortunately, most Linux distributions (Ubuntu, Redhat, Debian etc..) has this driver pre-installed, The chances of you requiring to rebuild the kemel to include the USB CDC driver is very slim. When connected to a Linux machine, this product should appear as a serial port in the /dev directory. Usually the name of the device will be “ttyACMx" or similar. The name may be different depending on the Linux distribution you have. Installing on Mac Similar to Linux, Mac operating system comes with the required drivers pre-installed. When connected to a Mac computer, the device should appear as a serial port. Generating Bit Stream for Elbert V2 HDL design needs to be converted to bit stream before it can be programmed to FPGA. Elbert V2 at this time accepts only binary (.bin) bit stream created by XILINX ISE (http://www.xilinx.com/tools/webpack.htm). Once the HDL is synthesized, it is easy to create a binary bit stream out of it. Please follow the Steps below to generate binary bit stream from your design using ISE Web Pack. Step 1: Right click on the “Generate Programming File” option in “Processes” window. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 1208 2012/2018 Elbert v2 — Spartan 3A FPGA Development Board Numato Lab Help Center Design Summary/Reports & YF Design Utilities t Create Schematic Symbol [=] View Command Line Log File [=] View HDL instantiation Tern... User Constraints Configure Target C Analyze Design Us) 2 Run ReRun Rerun All BE Stop View Text Report Force Process Up-to-Date Step 2: Select “Process Properties" from the pop up menu. In the dialog box, check “Create Binary Configuration File” Check box and click “Apply”. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Sool _ | Switch Name Property Name Value | = |-a Run Design Rules Checker (ORC) z Configuration Options i. = Startup Options 2 ecdbock Optons |-8inane Create Binary Configuration File Encryption Options jb 72 = Suspend/Wiake Options | steeassz Create IEE 1532 Configuration File Soe — | puuontarene |-aDebugBitstrears| Enable Debugging of Serial Mode BitStream [sca enable Cyt Reandecy Checking ERC Property display level: ‘Standard [~] [¥7] Display switch names [ Default | i Step 3: Click “OK” to close the dialog box. Right click on “Generate Programming File” option again and select “Run”, Now you will be able to find a .bin file in the project directory and that file can be used for Elbert V2 configuration. Powering Up Elbert V2 Elbert V2 can be powered directly from USB port so make sure that you are using a USB port that can power the board properly. It is recommended to connect the board directly to the PC instead using a hub. It is practically very difficult to estimate the power consumption of the board, as it depends heavily on your design and the clock used. XILINX provides tools to estimate the power consumption. In any case if power from USB is not enough for your application, an external supply can be applied to the board. Elbert V2 requires two different voltages, a 3.3V and a 1.2V supply. On- board regulators derive these voltages from the USB/Ext power supply. Configuring Elbert V2 The Elbert V2 Spartané module can be configured by two methods, a) Using Elbert V2 configuration tool through USB. b) Using the Xilinx programming cable... hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 42a 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Configuring Elbert V2 Using Configuration Tool Elbert V2 has an on-board micro-controller which facilitates easy reprogramming of on-board SPI flash through USB interface. The micro-controller receives bit stream from the host application and program it in to the SPI Flash and lets the FPGA boot from the flash. The Elbert V2 configuration application can be downloaded from www.numato.com (http://www. numato.com) for free. When Elbert V2 is connected to PC, it shows up as a COM port in Device Manager. Run configuration application, select proper COM Port before downloading bit stream. Click on “Open File” to select the bit stream file (.bin) and press “Program” button to download the bit stream. Wait till the download process is finished, Once the download process is over, the configuration controller will try to boot the FPGA from the SPI Flash automatically. Follow the below steps. Step 1: Open Elbert V2 Configuration Tool. Select the port no.(Refer “Driver installation” for more information on finding port no.) Click Open file and select the .bin file. Elbert V2 FPGA Configuration Tool V 1.0 =| ta Supported Boards: | Elbert V2(XC35S Series) 1.Select Port 3.download 2. Select Bin File Step 2: Click on “Program” button. Wait till “Done” appears on the screen. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 1523 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board - Numato Lab Help Center Elbert V2 FPGA Configuration Tool V 1.0 (uch io Supported Boards: - Elbert V2(XC3S Series) File selected “elbertv2topmodule. bin" Configuration download started... Erasing flash sectors Programming flash Verifying configuration. Configuration successful... Rebooting FPGA... Done... com69 . Open File Configuring Elbert V2 Using JTAG Elbert V2 Spartan6 module features an on-board JTAG connector which facilitates easy reprogramming of SRAM and on-board SPI flash through JTAG programmer like “XILINX Platform- cable usb". Programming Elbert V2 using JTAG requires “XILINX ISE iMPACT” software which is bundled with XILINX ISE Design Suite. To program the SPI flash we need a “.mes’ file needs to be generated from the “bit” file. Steps for generating “.mcs” file is discussed below. Programming FPGA SRAM does not require a mes file to be generated Generating *.mes" file for Elbert V2 Step 1: Open ISE iMPACT. Click on “Create PROM file(PROM file formatter)”.In the dialog box, select “Configure Single FPGA’ in storage device type. Then click on the green arrow at the right side. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 1623 2012/2018 Elbert 2 — Spartan 3A FPGA Development Board Numato Lab Help Center renee esse = ‘Aa Storoge Dewees) st EE) Sremceeroay fe =] Step 2: Select 16M in Storage Device (bits) list. Now click on “Add Storage Device”, then the green arrow at the right side Step 2. Add Storage Device(s) Storage Device (bits) Add Storage Device ‘Auto Select PROM hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! sea aorr20%6 Elbert V2 —Sparian 3A FPGA Development Board Numato a Help Center Step 3: Set an output file name and an output file location (the *.mcs' file will be generated at this location which will be required later for programming the FPGA), then click OK twice, then select the “ bit" file we already generated then click Open and click NO when it prompts to add another device file Step 3. Enter Data ‘General File Detat Value (Chedsum Fil Value —————— ‘Output File Name /Elbertv2 (Output File Pe :¥line\4.44ISE_DS\ Flash/PROM File Property Value (a) frre fe |Add Non-Configuration Data Files mode. 2d to calculate the checksum of the unused portions. 5 Jo format ole RROM nenarammeruirar uniouimit ance ___~ | [9 ) [caret zis Step 4: Double click on “Generate File”. “Generate Succeeded’ will be displayed as shown in fig below if the mes file is generated successfully. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 9123 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Programming FPGA Using ISE iMPACT Step 1: Open ISE iMPACT. Click on “Boundary Scan’ in the iMPACT flows window in the left top comer. Then right click on the window panel in the right side. Select “Initialize Chain”. hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 1923 2012/2018 Elbert 2 — Spartan 3A FPGA Development Board Numato Lab Help Center ae Dee Boxe eal ee ‘lath Operon ne 7 is owas Step 2: If the device is detected properly you will get a pop up window as shown below, Click OK. Then right click on the SPI/BPI (next to the black arrow in the below fig.), select Add SPI/BPI Flash. = aya 1 gone | ‘it Onno | hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 2ov2a 2012/2018 dialogue box appeared, then click OK. omcmnasv Elbert v2 — Spartan 3A FPGA Development Board Numato Lab Help Center Step 3: Select the “mcs” file we already created and click OK. Now choose “M25P16" in the SPI PROM Select the PROM attached to FPGA: 2 S| i ees ces] Step 4: Click on “Flash”, Double Click on Program, select OK. If the programming is successful, a confirmation message will be displayed. =| hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 2112 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center Technical Specifications Parameter * Basic Specifications Number of GPIOs Number of LEDs Number of Push Buttons SPI Flash Memory (M25P16) Power supply voltage (USB or external) FPGA Specifications Internal supply voltage relative to GND Auxiliary supply voltage relative to GND. Output drivers supply voltage relative to GND Mechanical Dimensions hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! Value 39 -0.5 to 1.25 -0.5 to 3.75 0.5 to 3.75 Unit 2212 2012/2018 Elbert V2 ~ Spartan 3A FPGA Development Board Numato Lab Help Center 122,000r0 31.00mm 382mm 4.260 oye 715.790mm | Lx Wx H : 122.00 mm x 86.00 mm x 17 mm. Mechanical Hole Diameter : 3.2 mm Schematics Elbert V2 Schematics (https://numato.com/blog/wp-content/uploads/2016/08/ElbertV2Sch.pdf) hps:inumato.comidacsielber2-sparlan-3a-fpga-cevelopment-board! 2ai2a

You might also like