Download presentation
Presentation is loading. Please wait.
Published byLucas Oliver Modified over 8 years ago
1
1 Field-programmable Gate Array Architectures and Algorithms Optimized for Implementing Datapath Circuits Andy Gean Ye University of Toronto
2
2 Motivation: Datapath Regularity Larger FPGAs –Larger applications on FPGAs –More datapath logic in larger applications –Datapath logic is highly regular In custom ASIC regularity is routinely utilized to increase logic density Can regularity also be utilized to improve the logic density of FPGAs?
3
3 Previous Work Datapath-FPGA (DP-FPGA) study [cher96] –Yes, datapath regularity can be utilized to reduce FPGA area by as much as 50% –Based on a partially specified FPGA architecture Major simplifying assumptions –All transistors are minimum width –Datapaths are completely regular –No inefficiency from the CAD tools
4
4 This Work – An In-depth Study on Datapath Regularity Designed a new datapath-oriented FPGA architecture –With detailed architectural specifications –With correctly sized transistors Utilized realistic datapath benchmarks –From the Pico-java processor from SUN Created a complete set of CAD tools to support the new architecture –Taking CAD inefficiency into account
5
5 Multi-bit FPGA (MB-FPGA) Architected to utilize datapath regularity to generate area savings Architectural features –Capture regularity using special logic blocks called super-clusters –Increase logic density through configuration memory sharing routing resources
6
6 MB-FPGA – Overview LLLL S Conf. Mem. Shar. Routing Tracks Conventional Routing Tracks Routing Channels S Switch Block L Logic Block
7
7 MB-FPGA – Logic Block Cluster 4Cluster 3Cluster 2Cluster 1 MUX LUT DFF M A Basic Logic Element (BLE) BLE Local Routing Network BLE Cluster = Bit-Slice LRN
8
8 Capturing Datapath Regularity BLE Bit-Slice 1Bit-Slice 2Bit-Slice 3
9
9 MB-FPGA – Routing Architecture Switch Block Logic Block Cluster M M Conf. Mem. Shar. Routing M MMMM Conventional Routing
10
10 Utilizing Datapath Regularity to Save Area LLLL M Conf. Mem. Shar. Tracks
11
11 Area Estimation Using Correct Transistor Sizing Based on the fully specified MB-FPGA architecture Detailed Assumptions –SRAM transistors are min. width –Tri-state buffers are 5x min. width –75% FPGA area is routing area Simplified Assumptions –Datapaths are completely regular (all conf. mem. shar. tracks) –No inefficiency from the CAD tools
12
12 Area Estimation Using Correct Transistor Sizing Datapath regularity can only be used to reduce the MB-FPGA area by 25% Down from the 50% area savings prediction of the DP-FPGA study [cher96]
13
13 Benchmark Regularity Fifteen benchmark circuits –From the Pico-java processor –Implemented on the MB-FPGA Measurements after synthesis –Logic regularity –Net regularity
14
14 Logic Regularity Classify LUTs and DFFs into two types –Irregular type LUTs and DFFs that do not belong to any 4-bit wide datapath components –Regular type LUTs or DFFs that belong to a 4-bit wide datapath component More regular type of LUTs and DFFs –More regular nets –Greater area savings
15
15 A Datapath Component S1S2S3S4 A Datapath Component – A Group of 4 identical LUTs or DFFs Identical LUTs or DFFs
16
16 #LUT + #DFF#LUT + #DFF in Datapath Components %LUT & DFF in Datapath Components dcu_dpath1254118895% ex_dpath2917274094% icu_dpath3590346096% imdr_dpath1388129293% pipe_dpath68957583% smu_dpath68361890% ucode_dat1528144895% ucode_reg15613285% code_seq_dp43920446% exponent_dp56538468% Incmod93983689% mantissa_dp107096490% multmod_dp1827154084% prils_dp38832484% rsadd_dp30528192% Total177381598690% Logic Regularity
17
17 Net Regularity Classify two-terminal connections in each circuit into three types –Regular 4-bit wide buses –Regular 4-bit wide control group –Irregular Two-terminal connections do not belong to either a bus or a control group
18
18 Definition – Net Regularity A 4-bit wide bus S1S2S3S4 S1S2S3S4 S1S2S3S4 A 4-bit wide control group Note: Only 4-bit wide buses can be used to increase the area efficiency of MB-FPGA through conf. mem. shar. routing tracks
19
19 Net Regularity Total Two-Terminal Connections % of Two-Terminal Connections in 4- Bit Wide Buses % of Two-Terminal Connections in Fan-Out 4 Groups dcu_dpath223249%43% ex_dpath654752%39% icu_dpath804747%36% imdr_dpath310050%36% pipe_dpath104948%42% smu_dpath116748%25% ucode_dat314352%41% ucode_reg19472%21% code_seq_dp79958%18% exponent_dp136232%23% incmod201342%33% mantissa_dp253347%36% multmod_dp338039%25% prils_dp86441%32% rsadd_dp72252%27% Total3715248%35%
20
20 Area Estimation Based on Correct Net Regularity Assumptions –SRAM transistors are min. width –Tri-state buffers are 5x min. width –75% FPGA area is routing area –50% of routing tracks are conf. mem. shar. –No inefficiency from the CAD tools Result –Datapath regularity can be utilized to reduce FPGA area by 12% (again down from 25%)
21
21 Datapath-oriented CAD Flow – Overview Enhanced Module Compaction Synthesis Coarse-grain Node Graph Packing Coarse-grain Resource Routing Multi-bit FPGA Placement
22
22 Can Regularity Be Utilized to Improve Logic Density? To achieve best area –What should be the best number of clusters per logic block? –What should be the best number of conf. mem. shar. routing tracks per routing channel? What is the performance this datapath-oriented FPGA?
23
23 Experiments Fifteen benchmark circuits –From the Pico-java processor –Implemented on the MB-FPGA Experiments –Granularity (the number of clusters per logic block) vs. Area –% conf. mem. shar. tracks vs. area –% conf. mem. shar. tracks vs. performance
24
24 Granularity Vs. Area Explored a 2-D architectural space –First vary granularity –For each granularity: vary % of conf. mem. shar. routing tracks per routing channel For each architecture, find the average area required to implement the benchmark circuits Plot best area for each granularity
25
25 Granularity Vs. Area
26
26 % C.M.S. Tracks Vs. Area Assume four clusters per logic block for the MB-FPGA For each circuit –Set a fixed number of conf. mem. shar. tracks –Search for minimum number of additional conv. tracks Classify into eight percentile ranges Use the minimum area obtainable for each circuit to calculate average area
27
27 % C.M.S. Tracks Vs. Area Also implement the same benchmarks on a comparable conventional FPGA MB-FPGA area is normalized against the conventional FPGA area
28
28 % C.M.S. Tracks Vs. Area Normalized Avg. Area 10% % Conf. Mem. Shar. Tracks
29
29 Area (40% - 50% Tracks Are C.M.S.) Conventional FPGA Area (10e5) Datapath-oriented FPGA Area (10e5) Datapath-oriented FPGA Area (Normalized) icu_dpath56.048.90.87 ex_dpath50.838.80.76 multmod_dp22.425.01.10 imdr_dpath20.017.20.86 ucode_dat18.616.10.86 mantissa_dp15.514.80.96 dcu_dpath13.211.50.87 incmod9.8911.61.17 exponent_dp7.027.661.10 smu_dpath6.726.691.00 pipe_dpath5.375.190.97 prils_dp4.774.670.98 code_seq_dp4.774.510.95 rsadd_dp4.163.560.86 ucode_reg1.001.041.00 Avg. Area16.014.50.90
30
30 Performance (Crit. Path Delay) Assume carry network delay equal to local routing network delay –Over-estimated carry delay –Results are pessimistic Normalized average crit. path delay over 15 benchmark circuits with respect to conventional FPGA
31
31 % C.M.S. Tracks Vs. Crit. Path Normalized Avg. Delay
32
32 Crit. Path Delay (40%- 50% Tracks Are CMS) Conv. FPGA Crit. Path Delay (ns) D.P. FPGA Crit. Path Delay (ns) D.P. FPGA Crit. Path Delay (Normalized) code_seq_dp16.715.50.93 dcu_dpath8.2710.51.3 ex_dpath42.147.61.1 exponent_dp21.022.51.1 icu_dpath24.934.71.4 imdr_dpath46.047.21.0 Incmod45.542.80.94 mantissa_dp13.912.30.88 multmod_dp33.336.11.1 pipe_dpath13.417.21.3 prils_dp23.025.51.1 rsadd_dp35.839.61.1 smu_dpath29.335.31.2 ucode_dat11.311.61.0 ucode_reg3.584.251.2 Avg. Area20.222.31.1
33
33 Conclusions Investigated the question –Can regularity be effectively utilized to improve logic density? Presented –A datapath-oriented FPGA architecture Fully specified to the level of transistor sizing –An analysis on datapath regularity –A brief description of the CAD flow for the architecture
34
34 Conclusions Detailed architectural specification and CAD implementation is very important Best MB-FPGA architecture –Granularity = 4 –40%-50% of tracks are C.M.S. Architectural Results –10% smaller in area than conv. FPGA –Much less than the 50% area savings prediction [cher96] –Has a 10% performance penalty
35
35 Discussions Under what circumstances will MB- FPGA be more area efficient? –Applications with more buses than our benchmarks –Wider datapath applications –Larger than 1x min. width transistors in SRAM cells –Smaller than 5x min. width transistors in tri-state buffers –SRAM reduction is more important than area reduction
36
36 Future Work Architecture –Sharing configuration memory in logic –Improve performance CAD tools –Proper modeling of carry network delay –Improve performance –Power modeling
37
37 Detailed Datapath-oriented CAD Implementation Issues Andy Gean Ye University of Toronto
38
38 Datapath-oriented CAD Flow – Overview Enhanced Module Compaction Synthesis Coarse-grain Node Graph Packing Coarse-grain Resource Routing Multi-bit FPGA Placement
39
39 Input to CAD Flow Netlists of datapath components in Verilog or VHDL From a pre-defined library –Arithmetic operators –Logic operators –Multiplexers Datapath regularity of the input is preserved throughout the CAD flow
40
40 An Example Input Datapath Circuit c out sel c in mux a0a0 b0b0 + c0c0 d0d0 s0s0 a1a1 b1b1 + c1c1 d1d1 s1s1 a2a2 b2b2 + c2c2 d2d2 s2s2 a3a3 b3b3 + c3c3 d3d3 s3s3
41
41 Synthesis Synopsys FPGA compiler has 38% area inflation when instructed to preserve datapath regularity Two major causes of area inflation –Duplicated logic across bit-slices –Bit-slices are too small Augmented FPGA compiler with new algorithms –Reduced the area inflation to 3%
42
42 Packing Based on the T-VPACK [betz99] algorithm Like T-VPACK – timing driven New feature – ability to preserve datapath regularity
43
43 After Synthesis and Packing BLE a0a0 b0b0 c0c0 sela2a2 b2b2 c2c2 a3a3 b3b3 c3c3 d0d0 d1d1 d2d2 d3d3 s0s0 s1s1 s2s2 s3s3 c in c out a1a1 b1b1 c1c1 sel bus
44
44 Placement and Routing Based on the VPR tools [betz99] –Placer: simulated annealing [kirk83] –Router: congestion negotiation- based pathfinder [ebel95] New feature of the placer –Ability to move individual clusters if they do not contain datapath –Move entire logic block if they contain datapath to preserve datapath regularity
45
45 Router Contains a new set of expansion cost functions –Designed to ease the task of comparing the cost of using conv. tracks against the cost of using conf. mem. shar. tracks –Composed of delay and congestion metrics (similar to the conventional expansion cost)
46
46 Overall Routing Flow Route Buses Route Non-bus Signals Update Cost Functions
47
47 Routing Buses Route entire buses through conf. mem. shar. routing tracks Route the first bit through conv. routing tracks – test for delay and congestion Compare expansion costs Select the option with the lowest expansion cost
48
48 Routing Non-bus Signals Consider the options of routing the signal through conv. as well as conf. mem. shar. tracks Compare the expansion cost Select the option with the lowest expansion cost
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.