Caltech CS184a Fall2000 -- DeHon1 CS184a: Computer Architecture (Structures and Organization) Day16: November 15, 2000 Retiming Structures.

Slides:



Advertisements
Similar presentations
Xilinx CPLDs and FPGAs Module F2-1. CPLDs and FPGAs XC9500 CPLD XC4000 FPGA Spartan FPGA Spartan II FPGA Virtex FPGA.
Advertisements

Caltech CS184a Fall DeHon1 CS184a: Computer Architecture (Structures and Organization) Day17: November 20, 2000 Time Multiplexing.
Penn ESE Spring DeHon 1 ESE (ESE534): Computer Organization Day 21: April 2, 2007 Time Multiplexing.
Lecture 2: Field Programmable Gate Arrays I September 5, 2013 ECE 636 Reconfigurable Computing Lecture 2 Field Programmable Gate Arrays I.
Caltech CS184a Fall DeHon1 CS184a: Computer Architecture (Structures and Organization) Day10: October 25, 2000 Computing Elements 2: Cascades, ALUs,
Penn ESE Spring DeHon 1 ESE (ESE534): Computer Organization Day 20: March 28, 2007 Retiming 2: Structures and Balance.
Caltech CS184a Fall DeHon1 CS184a: Computer Architecture (Structures and Organization) Day8: October 18, 2000 Computing Elements 1: LUTs.
HSRA: High-Speed, Hierarchical Synchronous Reconfigurable Array William Tsu, Kip Macy, Atul Joshi, Randy Huang, Norman Walker, Tony Tung, Omid Rowhani,
Penn ESE Fall DeHon 1 ESE (ESE534): Computer Organization Day 19: March 26, 2007 Retime 1: Transformations.
Penn ESE Spring DeHon 1 ESE (ESE534): Computer Organization Day 11: February 14, 2007 Compute 1: LUTs.
Penn ESE Spring DeHon 1 ESE (ESE534): Computer Organization Day 4: January 22, 2007 Memories.
CS294-6 Reconfigurable Computing Day 2 August 27, 1998 FPGA Introduction.
HSRA: High-Speed, Hierarchical Synchronous Reconfigurable Array William Tsu, Kip Macy, Atul Joshi, Randy Huang, Norman Walker, Tony Tung, Omid Rowhani,
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 18: February 21, 2003 Retiming 2: Structures and Balance.
CS294-6 Reconfigurable Computing Day 16 October 15, 1998 Retiming.
CS294-6 Reconfigurable Computing Day 14 October 7/8, 1998 Computing with Lookup Tables.
EDA (CS286.5b) Day 19 Covering and Retiming. “Final” Like Assignment #1 –longer –more breadth –focus since assignment #2 –…but ideas are cummulative –open.
CS294-6 Reconfigurable Computing Day 19 October 27, 1998 Multicontext.
CS294-6 Reconfigurable Computing Day 16 October 20, 1998 Retiming Structures.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Hao Ji.
Penn ESE Spring DeHon 1 FUTURE Timing seemed good However, only student to give feedback marked confusing (2 of 5 on clarity) and too fast.
EDA (CS286.5b) Day 18 Retiming. Today Retiming –cycle time (clock period) –C-slow –initial states –register minimization.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 8: February 13, 2008 Retiming.
LOPASS: A Low Power Architectural Synthesis for FPGAs with Interconnect Estimation and Optimization Harikrishnan K.C. University of Massachusetts Amherst.
Caltech CS184b Winter DeHon 1 CS184b: Computer Architecture [Single Threaded Architecture: abstractions, quantification, and optimizations] Day12:
Amalgam: a Reconfigurable Processor for Future Fabrication Processes Nicholas P. Carter University of Illinois at Urbana-Champaign.
Penn ESE534 Spring DeHon 1 ESE534: Computer Organization Day 7: February 6, 2012 Memories.
Memory Intro Computer Organization 1 Computer Science Dept Va Tech March 2006 ©2006 McQuain & Ribbens Built using D flip-flops: 4-Bit Register Clock input.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 24: April 18, 2011 Covering and Retiming.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 7: January 24, 2003 Instruction Space.
CALTECH CS137 Winter DeHon CS137: Electronic Design Automation Day 7: February 3, 2002 Retiming.
Caltech CS184a Fall DeHon1 CS184a: Computer Architecture (Structures and Organization) Day18: November 22, 2000 Control.
Penn ESE534 Spring DeHon 1 ESE534: Computer Organization Day 5: February 1, 2010 Memories.
CPS3340 COMPUTER ARCHITECTURE Fall Semester, /3/2013 Lecture 9: Memory Unit Instructor: Ashraf Yaseen DEPARTMENT OF MATH & COMPUTER SCIENCE CENTRAL.
ESS | FPGA for Dummies | | Maurizio Donna FPGA for Dummies Basic FPGA architecture.
CALTECH CS137 Spring DeHon 1 CS137: Electronic Design Automation Day 5: April 12, 2004 Covering and Retiming.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 13: February 6, 2003 Interconnect 3: Richness.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 8: January 27, 2003 Empirical Cost Comparisons.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 10: January 31, 2003 Compute 2:
07/11/2005 Register File Design and Memory Design Presentation E CSE : Introduction to Computer Architecture Slides by Gojko Babić.
Caltech CS184 Winter DeHon CS184a: Computer Architecture (Structure and Organization) Day 4: January 15, 2003 Memories, ALUs, Virtualization.
Lecture 17: Dynamic Reconfiguration I November 10, 2004 ECE 697F Reconfigurable Computing Lecture 17 Dynamic Reconfiguration I Acknowledgement: Andre DeHon.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 11: January 31, 2005 Compute 1: LUTs.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 20: October 25, 2010 Pass Transistors.
Penn ESE534 Spring DeHon 1 ESE534: Computer Organization Day 8: February 19, 2014 Memories.
Penn ESE534 Spring DeHon 1 ESE534: Computer Organization Day 22: April 16, 2014 Time Multiplexing.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 10: January 28, 2005 Empirical Comparisons.
Buffering Techniques Greg Stitt ECE Department University of Florida.
Caltech CS184 Winter DeHon 1 CS184a: Computer Architecture (Structure and Organization) Day 20: February 27, 2005 Retiming 2: Structures and Balance.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 25: April 17, 2013 Covering and Retiming.
Penn ESE534 Spring DeHon 1 ESE534: Computer Organization Day 21: April 12, 2010 Retiming.
ESE534: Computer Organization
ESE532: System-on-a-Chip Architecture
Computer Architecture & Operations I
XILINX FPGAs Xilinx lunched first commercial FPGA XC2000 in 1985
CS137: Electronic Design Automation
CS184a: Computer Architecture (Structure and Organization)
Morgan Kaufmann Publishers Memory & Cache
ECE 445 – Computer Organization
We will be studying the architecture of XC3000.
ESE534: Computer Organization
The Xilinx Virtex Series FPGA
ESE534: Computer Organization
CS184a: Computer Architecture (Structures and Organization)
The Xilinx Virtex Series FPGA
CS184a: Computer Architecture (Structures and Organization)
ESE534: Computer Organization
ESE534: Computer Organization
4-Bit Register Built using D flip-flops:
Presentation transcript:

Caltech CS184a Fall DeHon1 CS184a: Computer Architecture (Structures and Organization) Day16: November 15, 2000 Retiming Structures

Caltech CS184a Fall DeHon2 Last Time Saw how to formulate and automate retiming: –start with network –calculate minimum achievable c c = cycle delay (clock cycle) –make c-slow if want/need to make c=1 –calculate new register placements and move

Caltech CS184a Fall DeHon3 Today Systematic transformation for retiming –“justify” mandatory registers in design Retiming in the Large Retiming Requirements Retiming Structures

Caltech CS184a Fall DeHon4 HSRA Retiming HSRA –adds mandatory pipelining to interconnect One additional twist –long, pipelined interconnect  need more than one register on paths

Caltech CS184a Fall DeHon5 Accommodating HSRA Interconnect Delays Add buffers to LUT  LUT path to match interconnect register requirements Retime to C=1 as before Buffer chains force enough registers to cover interconnect delays

Caltech CS184a Fall DeHon6 Accommodating HSRA Interconnect Delays

Caltech CS184a Fall DeHon7 Retiming in the Large

Caltech CS184a Fall DeHon8 Align Data / Balance Paths Day3: registers to align data

Caltech CS184a Fall DeHon9 Systolic Data Alignment Bit-level max

Caltech CS184a Fall DeHon10 Serialization –greater serialization => deeper retiming –total: same per compute: larger

Caltech CS184a Fall DeHon11 Data Alignment For video (2D) processing –often work on local windows –retime scan lines E.g. –edge detect –smoothing –motion est.

Caltech CS184a Fall DeHon12 Image Processing See Data in raster scan order –adjacent, horizontal bits easy –adjacent, vertical bits scan line apart

Caltech CS184a Fall DeHon13 Wavelet Data stream for horizontal transform Data stream for vertical transform –N=image width

Caltech CS184a Fall DeHon14 Retiming in the Large Aside from the local retiming for cycle optimization (last time) Many intrinsic needs to retime data for correct use of compute engine –some very deep –often arise from serialization

Caltech CS184a Fall DeHon15 Reminder: Temporal Interconnect Retiming  Temporal Interconnect Function of data memory –perform retiming

Caltech CS184a Fall DeHon16 Requirements not Unique Retiming requirements are not unique to the problem Depends on algorithm/implementation Behavioral transformations can alter significantly

Caltech CS184a Fall DeHon17 Requirements Example For I  1 to N –t1[I]  A[I]*B[I] For I  1 to N –t2[I]  C[I]*D[I] For I  1 to N –t3[I]  E[I]*F[I] For I  1 to N –t2[I]  t1[I]+t2[I] For I  1 to N –Q[I]  t2[I]+t3[I] For I  1 to N –t1  A[I]*B[I] –t2  C[I]*D[I] –t1  t1+t2 –t2  E[I]*F[I] –Q[I]  t1+t2 left => 3N regs right => 2 regs Q=A*B+C*D+E*F

Caltech CS184a Fall DeHon18 Retiming Structure and Requirements

Caltech CS184a Fall DeHon19 Structures How do we implement programmable retiming? Concerns: –Area: 2 /bit –Throughput: bandwidth (bits/time) –Latency important when do not know when we will need data item again

Caltech CS184a Fall DeHon20 Just Logic Blocks Most primitive –build flip-flop out of logic blocks I  D*/Clk + I*Clk Q  Q*/Clk + I*Clk –Area: 2 LUTs (800K  1M 2 /LUT each) –Bandwidth: 1b/cycle

Caltech CS184a Fall DeHon21 Optional Output Real flip-flop (optionally) on output –flip-flop: 4-5K 2 –Switch to select: ~ 5K 2 –Area: 1 LUT (800K  1M 2 /LUT) –Bandwidth: 1b/cycle

Caltech CS184a Fall DeHon22 Output Flip-Flop Needs Pipeline and C-slow to LUT cycle Always need an output register Average Regs/LUT 1.7, some designs need 2--7x

Caltech CS184a Fall DeHon23 Separate Flip-Flops Network flip flop w/ own interconnect  can deploy where needed  requires more interconnect Assume routing goes as inputs  1/4 size of LUT  Area: 200K 2 each –Bandwidth: 1b/cycle

Caltech CS184a Fall DeHon24 Deeper Options Interconnect / Flip-Flop is expensive How do we avoid?

Caltech CS184a Fall DeHon25 Deeper Implication –don’t need result on every cycle –number of regs >bits need to see each cycle –=> lower bandwidth acceptable => less interconnect

Caltech CS184a Fall DeHon26 Deeper Retiming

Caltech CS184a Fall DeHon27 Output Single Output –Ok, if don’t need other timings of signal Multiple Output –more routing

Caltech CS184a Fall DeHon28 Input More registers (K  ) –7-10K 2 /register –4-LUT => 30-40K 2 /depth No more interconnect than unretimed –open: compare savings to additional reg. cost  Area: 1 LUT (1M+d*40K 2 ) get Kd regs  d=4, 1.2M 2 –Bandwidth: 1b/cycle –1/d th capacity

Caltech CS184a Fall DeHon29 HSRA Input

Caltech CS184a Fall DeHon30 Input Retiming

Caltech CS184a Fall DeHon31 HSRA Interconnect

Caltech CS184a Fall DeHon32 Flop Experiment #1 Pipeline and retime to single LUT delay per cycle –MCNC benchmarks to LUTs –no interconnect accounting –average 1.7 registers/LUT (some circuits 2--7)

Caltech CS184a Fall DeHon33 Flop Experiment #2 Pipeline and retime to HSRA cycle –place on HSRA –single LUT or interconnect timing domain –same MCNC benchmarks –average 4.7 registers/LUT

Caltech CS184a Fall DeHon34 Input Depth Optimization Real design, fixed input retiming depth –truncate deeper and allocate additional logic blocks

Caltech CS184a Fall DeHon35 Extra Blocks (limited input depth) AverageWorst Case Benchmark

Caltech CS184a Fall DeHon36 With Chained Dual Output AverageWorst Case Benchmark [can use one BLB as 2 retiming-only chains]

Caltech CS184a Fall DeHon37 HSRA Architecture

Caltech CS184a Fall DeHon38 Register File From MIPS-X –1K 2 /bit /port –Area(RF) = (d+6)(W+6)(1K 2 +ports* ) w>>6,d>>6 I+o=2 => 2K 2 /bit w=1,d>>6 I=o=4 => 35K 2 /bit –comparable to input chain More efficient for wide-word cases

Caltech CS184a Fall DeHon39 Xilinx CLB Xilinx 4K CLB –as memory –works like RF Area: 1/2 CLB (640K 2 )/16  40K 2 /bit –but need 4 CLBs to control Bandwidth: 1b/2 cycle (1/2 CLB) –1/16 th capacity

Caltech CS184a Fall DeHon40 Memory Blocks SRAM bit  (large arrays) DRAM bit  (large arrays) Bandwidth: W bits / 2 cycles –usually single read/write –1/2 A th capacity

Caltech CS184a Fall DeHon41 Disk Drive Cheaper per bit than DRAM/Flash –(not MOS, no 2 ) Bandwidth: 10-20Mb/s –For 4ns array cycle 1b/12.5

Caltech CS184a Fall DeHon42 Hierarchy/Structure Summary “Memory Hierarchy” arises from area/bandwidth tradeoffs –Smaller/cheaper to store words/blocks (saves routing and control) –Smaller/cheaper to handle long retiming in larger arrays (reduce interconnect) –High bandwidth out of registers/shallow memories

Caltech CS184a Fall DeHon43 Big Ideas [MSB Ideas] Can systematically justify registers in architecture (interconnect, FU pipeline)

Caltech CS184a Fall DeHon44 Big Ideas [MSB Ideas] Tasks have a wide variety of retiming distances Retiming requirements affected by high- level decisions/strategy in solving task Wide variety of retiming costs –100 2  1M 2 Routing and I/O bandwidth –big factors in costs Gives rise to memory (retiming) hierarchy