George Mason University ECE 448 – FPGA and ASIC Design with VHDL Overview of Modern FPGAs ECE 448 Lecture 14
2ECE 448 – FPGA and ASIC Design with VHDL Resources Clive “Max” Maxfield, The Design Warrior’s Guide to FPGAs.
3ECE 448 – FPGA and ASIC Design with VHDL Resources Xcell Journal available for FREE on Electronic Engineering Journal available for FREE by after or on the
4ECE 448 – FPGA and ASIC Design with VHDL FPGA Vendors & Families
5ECE 448 – FPGA and ASIC Design with VHDL Major FPGA Vendors SRAM-based FPGAs Xilinx, Inc. Altera Corp. Lattice Semiconductor Atmel Achronix Tabula Flash & antifuse FPGAs Actel Corp. (Microsemi SoC Products Group) Quick Logic Corp. ~ 51% of the market ~ 34% of the market ~ 85%
6ECE 448 – FPGA and ASIC Design with VHDL Xilinx FPGA Families High-performance families Virtex (220 nm) Virtex-E, Virtex-EM (180 nm) Virtex-II (130 nm) Virtex-II PRO (130 nm) Virtex-4 (90 nm) Virtex-5 (65 nm) Virtex-6 (40 nm) Virtex-7 (28 nm) Low Cost Family Spartan/XL – derived from XC4000 Spartan-II – derived from Virtex Spartan-IIE – derived from Virtex-E Spartan-3 (90 nm) Spartan-3E (90 nm) – logic optimized Spartan-3A (90 nm) – I/O optimized Spartan-3AN (90 nm) – non-volatile, Spartan-3A DSP (90 nm) – DSP optimized Spartan-6 (45 nm) Artix-7 (28 nm)
TechnologyLow-costHigh- performance 120/150 nmVirtex 2, 2 Pro 90 nmSpartan 3Virtex 4 65 nmVirtex 5 45 nmSpartan 6 40 nmVirtex 6 Xilinx FPGA Devices
Altera FPGA Devices TechnologyLow-costMid-rangeHigh- performanc e 130 nmCycloneStratix 90 nmCyclone IIStratix II 65 nmCyclone IIIArria IStratix III 40 nmCyclone IVArria IIStratix IV
ECE 448 – FPGA and ASIC Design with VHDL LUTs & ALUTs
10ECE 448 – FPGA and ASIC Design with VHDL 4-bit LUTs vs. 6-bit LUTs 6-bit LUTs introduced in Virtex 5
11 Major Differences between Xilinx Families Number of CLB slices per CLB Number of LUTs per CLB slice Look-Up Tables Spartan 3 Virtex 4 Virtex 5, Virtex 6, Spartan 6 4-input6-input
12 Major Differences between Xilinx Families Maximum Shift Register Size per LUT Maximum Single-Port Memory Size per LUT Number of adder stages per CLB slice Spartan 3 Virtex 4 Virtex 5, Virtex 6, Spartan 6 16 x 164 x 1 16 bits 2 32 bits 4
Altera Cyclone III Logic Element (LE) – Normal Mode
14 Altera Stratix III Adaptive Logic Modules (ALM) – Normal Mode
ECE 448 – FPGA and ASIC Design with VHDL FPGA Embedded Resources
ECE 448 – FPGA and ASIC Design with VHDL Embedded Multipliers
18 ECE 448 – FPGA and ASIC Design with VHDL Multipliers in Spartan 3 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. (
19 Number of Multipliers per Spartan 3 Device
20 Combinational and Registered Multiplier ECE 448 – FPGA and ASIC Design with VHDL
21 ECE 448 – FPGA and ASIC Design with VHDL Dedicated Multiplier Block
Cyclone II
Embedded Multiplier Block Overview Each Cyclone II has one to three columns of embedded multipliers. Each embedded multiplier can be configured to support One 18 x 18 multiplier Two 9 x 9 multipliers
Number of Embedded Multipliers
Multiplier Block Architecture
Two Multiplier Types Two 9x9 multiplier 18x18 multiplier
Multiplier Stage Signals signa and signb are used to identify the signed and unsigned inputs.
28 3 Ways to Use Dedicated Hardware Three (3) ways to use dedicated (embedded) hardware –Inference –Instantiation –CoreGen in Xilinx MegaWizard Plug-In Manager in Altera
ECE 448 – FPGA and ASIC Design with VHDL DSP Units
30 Xilinx XtremeDSP Starting with Virtex 4 family, Xilinx introduced DSP48 block for high-speed DSP on FPGAs Essentially a multiply-accumulate core with many other features Now also in Spartan-3A, Spartan 6, Virtex 5, and Virtex 6
31 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Multiplier-Accumulator - MAC
32 Mathematical Functions DSP 48 can perform mathematical functions such as: Add/Subtract Accumulate Multiply Multiply-Accumulate Multiplexer Barrel Shifter Counter Divide (multi-cycle) Square Root (multi-cycle) Can also create filters such as: Serial FIR Filter (Xilinx calls this MACC filters) Parallel FIR Filter Semi-Parallel FIR Filter Multi-rate FIR Filters
33 DSP48 Slice: Virtex 4
34 Simplified Form of DSP48 Adder Out = (Z ± (X + Y + CIN))
35 Choosing Inputs to DSP Adder P = Adder Out = (Z ± (X + Y + CIN))
36 DSP48E Slice : Virtex5
37 New in Virtex 5 Compared to Virtex 4
38 Xilinx DSP48
Stratix III DSP Unit
ECE 448 – FPGA and ASIC Design with VHDL Embedded Memories
41 Memory Types Memory RAMROM Single portDual port With asynchronous read With synchronous read Memory
42 Memory Types in Xilinx Memory Distributed (MLUT-based) Block RAM-based (BRAM-based) InferredInstantiated Memory Manually Using Core Generator
43 Memory Types in Altera Memory Distributed (ALUT-based, Stratix III onwards) Memory block-based Inferred Instantiated Memory Manually Using MegaWizard Plug-In Manager Small size (512) Large size (144K, 512K) Medium size (4K, 9K, 20K)
The embedded memory structure consists of columns of M4K memory blocks that can be configured as RAM, first-in first-out (FIFO) buffers, and ROM Cyclone II Memory Blocks
The M4K memory blocks support the following modes: Single-port RAM (RAM:1-Port) Simple dual-port RAM (RAM: 2-Port) True dual-port RAM (RAM:2-Port) Tri-port RAM (RAM:3-Port) Single-port ROM (ROM:1-Port) Dual-port ROM (ROM:2-Port) Memory Modes
Single-Port ROM The address lines of the ROM are registered The outputs can be registered or unregistered A.mif file is used to initialize the ROM contents
Stratix II TriMatrix Memory
Stratix III & Stratix IV TriMatrix Memory
Stratix II & III Shift-Register Memory Configuration
51ECE 448 – FPGA and ASIC Design with VHDL Supply Voltage
52ECE 448 – FPGA and ASIC Design with VHDL Change in Supply Voltages Year Technology (nm)Core Supply Voltage (V)
53ECE 448 – FPGA and ASIC Design with VHDL Gigabit Transceivers
54 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Using a Bus to Communicate Between Devices
55ECE 448 – FPGA and ASIC Design with VHDL The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Using High-Speed Tranceivers to Communicate Between Devices
56 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Using High-Speed Tranceivers to Communicate Between Devices
57 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Effect of Noise on Single Wire and Differential Pair
58 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Generating a Differential Pair
59 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Multiple Standards for High-Speed Serial Communication Fibre Channel InfiniBand PCI Express (developed by Intel) RapidIO SkyRail (developed by MindSpeed Technologies) 10-gigabit Ethernet
60 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Using FPGA to Interface Between Multiple Standards
61 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Ganging Multiple Transceivers Together
62 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( An Ideal Signal vs. Signal Seen by Receiver
63 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( The Effects of Transmitting a Series of Identical Bits
64 The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Main Elements of the Transceiver Block
65 Recovering Clock Signal
66 Sampling the Incoming Signal
67 Xilinx ML605 Evaluation Kit $1795
68 PLDA XpressV6 Design Kit $3990
69 HiTech Global PCI Express Gen 2 / SFP+ / USB 3.0 Development Board $2995
70 HiTech Global HXT 8-lane PCI Express/4- port SFP+ Optical Network Card $8995
71 HiTech Global HXT 16-lane PCI Express Optical Network Card $8995
72 Altera Stratix IV GX FPGA Development Kit $4495
73 PLDA XpressGX4LP Design Kit $4990
74 HiTech Global GT/GX PCI Express Gen 2 / 3 & Optical Development Platform/Networking Card $5995
75 Terasic DE4 Development and Education Board $2995
76 Gutz Logic PCI Express x1 Demo Board (Actel FPGA)
77 LatticeSC PCI Express x4 Evaluation
78 Board Overview ManufacturerNameFPGAMemoryApplicationPCIeThroughputBase Price Boards based on Xilinx Virtex-6 XilinxML605 Evaluation KitLX240T-12GB (max)General Purpose1.1 x8 / 2.0 x42 GB/s$1795 PLDAXpressV6 Design KitLX550T (max)8GB (max)General Purpose2.0 x84 GB/s$3990 HiTech GlobalPCI Express / USB 3.0LX550T (max)8GB (max)General Purpose2.0 x84 GB/s$2995 HiTech GlobalHXT 8-lane OpticalHX565T (max)16GB (max)High Speed Eth.2.0 x84 GB/s$8995 HiTech GlobalHXT 16-lane OpticalHX565T (max)16GB (max)High Speed Eth.2.0 x168 GB/s$8995 Boards based on Altera Stratix IV AlteraStratix IV GX KitGX530 (max)512MBGeneral Purpose2.0 x84 GB/s$4495 PLDAXpressGX4LPGX530 (max)2GB (max)High Speed Eth.2.0 x84 GB/s$4990 HiTech GlobalGT/GX PCIe & Optical100G5 (max)4GB (max)High Speed Eth.3.0 x88 GB/s$5995 TerasicDE4 BoardGX530 (max)8GB (max)General Purpose2.0 x84 GB/s$2995 Boards based on Actel ProASIC3 Gutz LogicPCI e x1 Demo BoardA3P10001MBPCIe Evaluation1.1 x1250 MB/sN/A Boards based on Lattice Semiconductor LatticeSC LatticeLatticeSC PCIe x4 BoardECP2M-5032MBPCIe Evaluation1.1 x41 GB/sN/A
79ECE 448 – FPGA and ASIC Design with VHDL Embedded Microprocessors
80ECE 448 – FPGA and ASIC Design with VHDL The Design Warrior’s Guide to FPGAs Devices, Tools, and Flows. ISBN Copyright © 2004 Mentor Graphics Corp. ( Embedded Microprocessor Cores
81ECE 448 – FPGA and ASIC Design with VHDL Virtex-II Pro Architecture Features: 1.Processor Block 2.RocketIO Multi-Gigabit Transceivers 3.CLB and Configurable Logic 4.SelectIO-Ultra 5.Digital Clock Managers 6.Multipliers and Block SelectRAM
82ECE 448 – FPGA and ASIC Design with VHDL
83ECE 448 – FPGA and ASIC Design with VHDL PowerPC Cores PowerPC System
84ECE 448 – FPGA and ASIC Design with VHDL Embedded Development Kit (EDK) Processor IP, Microprocessor Peripheral Description Files System Constraint File PlatGen Data2MEM Download to FPGA Libraries Microprocessor Software Specification File Microprocessor Hardware Specification File Executable Linker C / C++ Code Compiler Bitstream VHDL / Verilog Hardware Flow ISE / Xflow Software Flow Synthesizer Object Files EDIF IP Netlists LibGen
85ECE 448 – FPGA and ASIC Design with VHDL Zynq - Extensible Processing Platform
86ECE 448 – FPGA and ASIC Design with VHDL Zynq – 7000 EPP
87ECE 448 – FPGA and ASIC Design with VHDL Zynq – 7000 Product Table