L1101 - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

L1101

Description:

Clock Buffers. PLL. What can we build? Resource. DE2-70. DE3. 802.11ag. SMIPS V2. Logic Elements ... Clock Buffers. 16. 32. 7. 5. PLL. 4. 8. 1. 0. Lines of Code ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 19
Provided by: Nik1
Category:
Tags: buffers | l1101

less

Transcript and Presenter's Notes

Title: L1101


1
  • FPGAs
  • K. Elliott Fleming
  • Computer Science Artificial Intelligence Lab
  • Massachusetts Institute of Technology

2
FPGA A Sea of Resources
Logic Blocks
PLL
Processor
Multiplier
SRAM
I/O Pads
Clock Buffers
3
What can we build?
  • - Very complex systems

4
Logic Block Building functionality
Carry In
Look-up Table

Combinational Input
Combinational Output
Muxing Logic
Look-up Table

Carry Out
5
SliceLook-up Table
  • Arbitrary Logic
  • Program flipflops
  • Use inputs to select
  • Can we make a ROM?
  • Can we make a RAM?
  • Just add enable logic

Combinational Output
Muxing Logic
Enable Demux
Combinational Input
6
Reconfigurable Wiring
  • 2D Mesh Grid
  • Local connections made by driving powerful
    transistors
  • Switches route across dimensions
  • Heterogeneous wire length
  • Many wires to nearby cells
  • Few long-length wires

7
SMIPS System
8
SMIPS Infrastructure
9
SMIPS Infrastructure
  • Bus Interface Logic
  • Avalon Master/Slave
  • Cbus Devices
  • mkCBusWideRegRW(addr,reg)
  • Many interfaces (Get, RegFile, etc.)
  • Mechanism for building memory map automatically
  • Some C drivers included

10
Demonstration
  • Synplify Pro
  • Quartus II
  • Nios-II IDE

11
Cryptosort Think Different
  • Large (.5 GB) encrypted database
  • Decrypt Database
  • Sort Database on key
  • Encrypt Database
  • Do it fast, on an FPGA
  • Design principals differ from ASIC
  • Must be aware of FPGA hardware
  • Joint with Myron King, Man Cheuk Ng

12
From Problem
DRAM
Cryptosorter
  • Encrypted Records in External Memory
  • Decrypt Database with AES
  • Sort Records in Ascending Order
  • Encrypt Sorted Records with AES

13
Cryptosort Architecture
PLB
PPC
PLB Master
DRAM
Feeder
Function Unit Sort Tree
  • Use Merge Sort O(n log(n))

L11-13
14
Engineering the Merge Tree
Easy to para-meterize and build tree
Probably optimal for ASIC
Each level merges 2n streams into n streams
15
Refining the Module
  • Naïve implementation exponential resource usage
  • Each comparator takes 3 of slices
  • At most, fit 3 levels
  • Key observation
  • Throughput is rate-limited by final 2-to-1 merge
    step

This means each level only needs to perform one
comparison per cycle
16
Sharing the Comparator Idea
Loop Choose non-empty input pair corresponding
to output fifo with room (scheduling) Compare the
fifo heads Dequeue the smaller one and put it on
output fifo
lt
We save area by having one comparator per level
But we introduce a comparator scheduling problem
17
Sharing the Comparator Physical Implementation
Issues
  • Not enough regs
  • Each BRAM contains multiple FIFOs
  • Aggressive clock
  • Single cycle scheduling is impossible
  • Enq happens several cycles after scheduling
  • Credit based flow control

18
Layout
Write a Comment
User Comments (0)
About PowerShow.com