eitf35 introduction to structured
play

EITF35: Introduction to Structured VLSI Design Introduction to FPGA - PowerPoint PPT Presentation

EITF35: Introduction to Structured VLSI Design Introduction to FPGA design Rakesh Gangarajaiah Rakesh.gangarajaiah@eit.lth.se Slides from Chenxin Zhang and Steffan Malkowsky Department of Electrical and Information Technology, Lund University


  1. EITF35: Introduction to Structured VLSI Design Introduction to FPGA design Rakesh Gangarajaiah Rakesh.gangarajaiah@eit.lth.se Slides from Chenxin Zhang and Steffan Malkowsky Department of Electrical and Information Technology, Lund University

  2. WWW.FPGA • What is FPGA? – Field Programmable Gate Array Configurable Interconnects logic blocks IO blocks Configuration memory Department of Electrical and Information Technology, Lund University

  3. WWW.FPGA • What is FPGA? – Field Programmable Gate Array – Configurable logic blocks + interconnects + IOs + memory • Why do we use it? – High performance & Flexible – Shorter time to market Department of Electrical and Information Technology, Lund University

  4. WWW.FPGA Department of Electrical and Information Technology, Lund University

  5. WWW.FPGA • What is FPGA? – Field Programmable Gate Array – Configurable logic blocks + interconnects + IOs + memory • Why do we use it? – High performance & Flexible – Shorter time to market • Where do we use it? – Prototyping – Computer vision – Medical imaging – Software-defined radio – … Department of Electrical and Information Technology, Lund University

  6. FPGA vs. Microprocessor Intel Itanium 2 Xilinx Virtex-II Pro (XC2VP100) Technology 0.13 µm 0.13 µm Clock speed 1.6 GHz 180 MHz Internal memory bandwidth 102 GBytes/S 7.5 TBytes/S # Processing units 5 FPU (2 MACs+1 FPU) 212 FPU or 6 MMU 300+Integer units or … 6 Integer units Power consumption 130 W 15 W Peak performance 8 GFLOPs 38 GFLOPs Sustained performance ~2GFLOPs ~19 GFLOPs IO/External memory 6.4 GBytes/S 67 GBytes/S bandwidth (Courtesy: Nallatech) Department of Electrical and Information Technology, Lund University

  7. FPGA devices • Manufactures: – Xilinx : Virtex, Kintex, Artix, Spartan – Altera : Cyclone, Arria, Stratix – Lattice Semiconductor: flash, low power – Microsemi (Actel): antifuse, mix-signal – Achronix: high speed – QuickLogic: application-specific (handheld) Department of Electrical and Information Technology, Lund University

  8. Some FPGA boards • ERICSSON F500 Department of Electrical and Information Technology, Lund University

  9. Some FPGA boards • ERICSSON F500 • Nexys™4 Artix -7 FPGA Board – http://www.digilentinc.com/Products/Detail.cfm?Prod=NEXYS4 Department of Electrical and Information Technology, Lund University

  10. Some FPGA boards • ERICSSON F500 • Nexys™4 Artix -7 FPGA Board – http://www.digilentinc.com/Products/Detail.cfm?Prod=NEXYS4 • Xilinx Virtex-5 OpenSPARC Evaluation Platform – http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,795&Prod=XUPV5 Department of Electrical and Information Technology, Lund University

  11. Some FPGA boards • ERICSSON F500 • Nexys™4 Artix -7 FPGA Board – http://www.digilentinc.com/Products/Detail.cfm?Prod=NEXYS4 • Xilinx Virtex-5 OpenSPARC Evaluation Platform – http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,795&Prod=XUPV5 • Xilinx Kintex-7 FPGA KC705 Evaluation Kit – http://www.xilinx.com/products/boards-and-kits/EK-K7-KC705-G.htm Department of Electrical and Information Technology, Lund University

  12. Some FPGA boards VGA port USB Keyboard • ERICSSON F500 • Xilinx Virtex-5 OpenSPARC Evaluation Platform – http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,795&Prod=XUPV5 Power • Xilinx Kintex-7 FPGA KC705 Evaluation Kit & Prog – http://www.xilinx.com/products/boards-and-kits/EK-K7-KC705-G.htm Reset & • Nexys ™4 Artix -7 FPGA Board Done – Processor http://www.digilentinc.com/Products/Detail.cfm?Prod=NEXYS4 – FPGA PART NUMBER • XC7A100TCSG324 -1 Push Speed grade Buttons Artix-7 series Packaging type and IO count User IO, LEDs & 7SEG Number of logic cells Department of Electrical and Information Technology, Lund University

  13. FPGA architectures • Early FPGAs – N x N array of unit cells (CLB + routing) – Configurable Logic Blocks – Special routing along center axis • Next Generation FPGAs – M x N unit cells – Small block RAMs around edges • More recent FPGAs – Added block RAM arrays – Added multiplier cores – Added processor cores Department of Electrical and Information Technology, Lund University

  14. FPGA architecture trends • Memories – Single & Dual-port RAMs • Digital Signal Processor Engines • Embedded Processors – Hardcore (dedicated processors) – Soft core (synthesized from a HDL) • High speed/performance I/O connectivity – PCIe interface block – I/O transceiver – Gigabit Ethernet – HPC and LPC interfaces • Clock management blocks Department of Electrical and Information Technology, Lund University

  15. Programming technology Feature SRAM Antifuse Flash/E2PROM One or more One or more Technology State-of-the-art generations behind generations behind Yes Yes Reprogrammable No (in system) (in system or offline) Reprogramming Fast --- 3x slower than SRAM speed Volatile Yes No No Instant-on No Yes Yes Security Acceptable Very Good Very Good Large Medium-small Size of Config. Cell Very small (Six transistors) (Two transistors) Power consumption Medium Low Medium Department of Electrical and Information Technology, Lund University

  16. Xilinx FPGA architecture SRAM-based FPGA Department of Electrical and Information Technology, Lund University

  17. Configurable logic block (CLB) (I) • One CLB contains two slices (7 series Xilinx FPGA) Department of Electrical and Information Technology, Lund University

  18. Configurable logic block (CLB) (II) • One CLB contains two slices • Each slice: – Four Look-up tables (LUTs) – Eight D Flip-Flops (DFFs) – Multiplexers and arithmetic gates – Carry logic • 2/3 of all slices are SLICEL and 1/3 SLICEM – Distributed RAM and Shift registers in SLICEM – Higher Interconnect density in 7 series Department of Electrical and Information Technology, Lund University

  19. Look-up table (LUT) (I) LUT Output Inputs Config. memory Department of Electrical and Information Technology, Lund University

  20. Look-up table (LUT) (II) • Inputs are used as a pointer into a LUT. • Decoded using a hierarchy of transmission- gate MUXs. • Transmission- gate: “pass” or “high - impedance”. Department of Electrical and Information Technology, Lund University

  21. LUT based RAM (Distributed RAM) • Normal LUT performs “read” operation. • For “write” operation, address decoders + write enable. • Can be concatenated to created larger RAMs. • Can also be used as shift registers (some of the LUTs). Department of Electrical and Information Technology, Lund University

  22. Programmable Interconnects (I) CLB Department of Electrical and Information Technology, Lund University

  23. Programmable Interconnects (II) • Programmable swich, also called programmable interconnect points (PIP). • Implemented using transmission gates. • Several types of PIPs: Department of Electrical and Information Technology, Lund University

  24. Xil ilinx inx Art rtix ix-7 FPGA GA • XC7A100T: – ~8000 CLBs – ~5000 kb of BRAMs – ~1200 Kb Distributed RAM – 240 DSP units Department of Electrical and Information Technology, Lund University

  25. FPGA Design flow • Synthesis Create design – Parses HDL design – Infers Xilinx primitives – Generates design netlist Synthesis • Translate – Merges incoming netlists and Simulation User constraints Improvements constraints into a design file • Map Implementation – Maps (places) design into the available resources on the target device Results analyses • Place and Route – Places and routes design Program Department of Electrical and Information Technology, Lund University

  26. Design constraints Department of Electrical and Information Technology, Lund University

  27. Are FPGAs perfect? Department of Electrical and Information Technology, Lund University

  28. FPGAs are inefficient • Compared to ASICs, penalties in FPGAs: – Area: 17 – 54x – Speed: 3 – 7x – Power: 6 – 62x • Main culprit: INTERCONNECT! Department of Electrical and Information Technology, Lund University

  29. Tabula Spacetime • Ultra-rapid full/partial reconfiguration with makes it possible to fold more functions onto the same hardware: multi-GHz rates • Their claim: – 2.5x logic density – 3.7x DSP performance www.tabula.com Department of Electrical and Information Technology, Lund University

  30. Coarse-grained reconfigurable architecture • Currently in FPGA – Dedicated building blocks: multiplier, DSP core, processor – Partial configuration • Moving torwards coarse-grained architecture: – Block-level instead of bit manipulations – Lower area and power consumption – High-level programming: e.g. xilinx vivado – Run-time configuration Department of Electrical and Information Technology, Lund University

  31. Introduction to Xilinx Software • Xilinx Vivado – Integrated tool for design, simulation, synthesis, implementation and FPGA debug • IP generator – Tool used to instantiate Xilinx and third-party IPs into your design – Clock generator, Dividers, BRAM etc. • Integrated Logic Analyzer – Used for real time debugging Department of Electrical and Information Technology, Lund University

  32. Introduction to Xilinx Software • Xilinx Vivado Department of Electrical and Information Technology, Lund University

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend