Topics Sram-Based Fpgas: Sram-Based Fpga Fabrics: Program Logic Functions, Interconnect Using Sram. Advantages
Topics Sram-Based Fpgas: Sram-Based Fpga Fabrics: Program Logic Functions, Interconnect Using Sram. Advantages
SRAM-based FPGAs
Program logic functions, interconnect using SRAM. Advantages:
Disadvantages:
SRAM burns power. Copyright 2004 Prentice Hall PTR FPGA-Based System Design: Chapter 3to steal, disrupt configuration Possible bits.
Logic elements
Logic element includes combinational function + register(s). Use SRAM as lookup table for combinational function.
inputs
1 out
Example
111
1, 1, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1 0
0 1
N-input LUT can handle function of 2n inputs. All logic functions take the same amount of space. All functions have the same delay. SRAM is larger than static gate equivalent of function. Burns power at idle. Want to selectively add register to LE:
Other LE features
Multiple logic functions in an LE. Addition logic:
carry chain.
LE out
LUT
D Q
COUT
BX CE CLK
FPGA-Based System Design: Chapter 3 Copyright 2004 Prentice Hall PTR
CIN
Each lookup table can be used as a 16-bit synchronous RAM or 16-bit shift register. Arithmetic logic includes an XOR gate. Each slice includes a mux to ocmbine the results of the two functino generators in the slice. Register can be configured as DFF or latch. Has three-state drivers (BUFTs) for on-chip busses.
Copyright 2004 Prentice Hall PTR
Arithmetic:
Carry block includes XOR gate. Use LUT for carry, XOR for sum.
Each slice uses F5 mux to combine results of multiplexers. F6 mux combines outputs of F5 muxes. Registers can be FF/latch; clock and clock enable. Includes three-state output for on-chip bus.
Copyright 2004 Prentice Hall PTR
carry in
cascade in
load
clear
carry chain
cascade chain
Apex II LE modes
Modes of operation:
Normal. Arithmetic. Counter.
carry in data1 data2 data3 data4 cascade in enable
out D Q out
cascade out
cascade in
enable
cascade in
enable
data2
out D Q out
carry out
FPGA-Based System Design: Chapter 3 Copyright 2004 Prentice Hall PTR FPGA-Based System Design: Chapter 3
carry out
Copyright 2004 Prentice Hall PTR
Programmable interconnect
local interconnect
FPGA-Based System Design: Chapter 3 Copyright 2004 Prentice Hall PTR FPGA-Based System Design: Chapter 3 Copyright 2004 Prentice Hall PTR
Interconnect strategies
Some wires will not be utilized. Congestion will not be same throughout chip. Types of wires:
Short wires: local LE connections. Global wires: long-distance, buffered communication. Special wires: clocks, etc.
FPGA-Based System Design: Chapter 3 Copyright 2004 Prentice Hall PTR
Paths in interconnect
Interconnect architecture
Connections from wiring channels to LEs. Connections between wires in the wiring channels.
Wiring channel
Wiring channel
LE
LE
Interconnect richness
Segmented wiring
Within a channel:
How many wires. Length of segments. Connections from LE to channel.
Length 1 Length 2
Between channels:
Number of connections between channels. Channel structure.
Offset segments
channel
Switchbox
channel
channel
channel
Spartan-II interconnect
Types of interconnect:
local; general-purpose; dedicated; I/O pin.
Spartan-II routing
CLB
CLB
APEX II interconnect
row interconnect MegaLAB interconnect
row column
column interconnect local interconnect
LE LE
column interconnect
LE LE LE LE LE LE LE LE LE
LE LE
local interconnect
LE LE LE LE LE LE LE
Spartan-II I/O
Provides registers. Programmable delay for pin-dependent hold time. Programmable weak keeper circuit.
Configuration
Configuration ROM
Spartan-II configuration
Scan chain
Scan chain: shift register used to access internal state. Logic-sensitive scan design (LSSD): scan structure that uses some hardware for normal mode and scan.
Configuration modes:
Master serial for first chip in chain. Slave serial for follow-on chips. Slave parallel. Boundary-scan.
Copyright 2004 Prentice Hall PTR
Chip-on-board testing
Boundary scan decouples chips:
provide scan chain at pins; allow control of chip interior; decouple chip from rest of board for test.
board
TAP controller recognizes pins, controls boundary scan registers. Instruction register defines boundary scan mode.