Top Banner
Merging Synthesis With Merging Synthesis With Layout For Soc Design Layout For Soc Design -- Research Status -- Research Status Jinian Bian and Hongxi Xue Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Dept. Of Computer Science and Technology, Tsinghua University, Beijing 100084 Tsinghua University, Beijing 100084 2002.3.28 2002.3.28
37

Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Merging Synthesis With Layout Merging Synthesis With Layout For Soc DesignFor Soc Design

-- Research Status-- Research StatusJinian Bian and Hongxi Xue Jinian Bian and Hongxi Xue

Dept. Of Computer Science and Technology, Dept. Of Computer Science and Technology,

Tsinghua University, Beijing 100084Tsinghua University, Beijing 100084

2002.3.282002.3.28

Page 2: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Contents

The progress status of our work. Delay-driven algorithm for logic re-synthesis

after placement Interconnect driven high-level synthesis.

– Data path synthesis– Control synthesis

Page 3: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Progress Status of Our Work

System specification– IIR into HDM

Internal Intermediate Representation– C to VHDL :

– HDM (IIR) to CDFG

FFT.vhd PackageFFT.c

Page 4: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Progress Status of Our Work

Interconnect synthesis– Delay-driven post-layout re-synthesis – Interconnect driven high-level synthesis

» Data path synthesis combining with floor-planning

» Delay driven control synthesis

Page 5: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Progress Status of Our Work

HW/SW partitioning– Partition modeling– Partition algorithm

» Simulated annealing algorithm» Tabu algorithm» Search space smoothing algorithm

– Partition system

Page 6: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Interconnect Driven Synthesis

Background

– Interconnect wires play the dominating role for circuit performance and area instead of function units.

Page 7: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Interconnect Driven Synthesis

Page 8: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Traditional Flow

Page 9: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Our Approach

Hardware Spec.

High-Level Synthesis

Floor-planningRT-Level Synthesis

Logic Synthesis Global Placement

Re-Synthesis

Incremental PlacementDetail Placement

Routing

Page 10: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Delay-driven Post-layout Re-synthesis

Page 11: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Re-synthesis

Logic Synthesis

Placement

Detail Placement and Routing

Re-Synthesis+

Incremental Placement

Page 12: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Our System Flow

Page 13: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Delay Calculation

Using the method in the placement When get a new gate, allocate it to an

ideal position

Page 14: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Buffer Insertion

A

(a) Before buffer insertion

BC

BC

A

(b) After buffer insertion

Page 15: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Gate Resizing gate_resize() foreach gate g in the circuit{ if (g is non-critical) continue; if (g’s better alternative gate n not exist) continue; replace g with n; re-calculate the delay of the circuit; if (delay is not reduced) recover g; }

Page 16: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Alternative Wire

a

c

b

a

c

b

abaccacbacca

Page 17: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Local Logic Substitution

a g3

c g4

b y

Uses the model mapping method to search for the local alternative circuit

a g1

c g3

y b g2

Page 18: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Local Logic Substitution

a

b

c

d

cdcbabbacdba )()(

a

b

c

d

Page 19: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Local Logic Substitution

The critical path may be shorten,– eg: if the wires marked red are critical p

ath, in the alternative circuit, the path is shorten, but the non-critical path (follows input c) is lengthen

a

b

c

d

a

b

c

d

Page 20: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Experimental Results

Page 21: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Result Graph

0

20

40

60

80

100

120

1 2

orgre- synthesi sed

Page 22: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Conclusion

Our system begins with the circuit after the initial placement and performs local re-synthesis to reduce the delay.

A final netlist and placement are then generated after the incremental placement.

The result shows the system is a fine combination of synthesis and physical design. The future work may be replacing the greedy algorithm with the heuristic algorithm.

Page 23: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Interconnect Driven High-level Synthesis

Page 24: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Behavior Description

Entity example is

Port( a,b,cin: in bit; S,cout: out bin);

End example;

Architecture behavior of example is

Begin

If a=‘1’ and b=‘1’ and cin=‘1’ then s <= ‘1’;

Elsif ……

……

End;

Page 25: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

BEHAVIORDESCRIPTION

VHDL

Behavior Synthesis

Data Path

Controller

CDFG

layoutlayout

HDM-IIR

Page 26: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Problems to Be Solved

How to get information of interconnection delay at higher level?

How to bind floor-planning with high-level synthesis together?

How to achieve an accurate result with limited time?

Page 27: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Our ApproachCDFG & Restriction

EstimateSteps & Resources

Make Grids Make CBL

Simulate Annealing

Result

Heuristic Algorithm SSS

Hardware Spec.From HW/SW

Page 28: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Representation of Scheduling and Binding Result Using a Two –Dimensional Table

Page 29: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Get a New Solution by Changing the Placement of the Table

Select one operation randomly, changes its column.

A B D

C

E

A B C

D

E

Page 30: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Select one operation randomly According to the step range of the operation

calculated by ASAP and ALAP algorithm, select a new row to place the operation randomly

Adjust the rows of the operations that violate the precedence constraints, finally, decide the columns of these operations .

A B D C E

A B D C E

Page 31: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Corner Block List

We use CBL(Corner Block List) to show the result of floorplan.

CBL is based-on non-slicing floorplan.

3

4

5 6

1

27

Example:Seq=(1234567)L=(010011)T=(10010010)

Example:Seq=(1234567)L=(010011)T=(10010010)

Page 32: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Corner Block List

The most important thing is – Any (S,L,T) is validate!!!

We can get new floorplan-solution by changing the (S,L,T) group.

Page 33: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Controller Synthesis

CDFG Data Path

FSM

State Simplification

State

Assignedplacement

Page 34: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

State Assigned

Various-length state assigned algorithm

e.g. 10 states: 4-10 bits,

The optimal solution:

How many bits?

How to encode?

Page 35: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Conclusions

By binding and floor-planning into a single phase: We can obtain more accurate information of

interconnections in high-level synthesis. The floor-planning can benefit from the

information of scheduling and binding There are still much work to be done on how to

use the information to avoid randomness of the simulated annealing approach.

Page 36: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

The Future Work

Combine HLS with the result of HW/SW. Use different algorithms instead of

simulated annealing algorithm.– Heuristic algorithms– Search space smoothing– Using re-timing technique

Page 37: Merging Synthesis With Layout For Soc Design -- Research Status Jinian Bian and Hongxi Xue Dept. Of Computer Science and Technology, Tsinghua University,

Thank You !!!