49
Retiming and Resynthesis with Sweep Are Complete for Sequential Transformations Hai Zhou EECS Northwestern University Nov. 18, 2009 Hai Zhou EECS Northwestern University () Retiming and Resynthesis with Sweep Are Complete for Sequential Transformations Nov. 18, 2009 1 / 19

Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Retiming and Resynthesis with Sweep Are Complete forSequential Transformations

Hai ZhouEECS

Northwestern University

Nov. 18, 2009

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 1 / 19

Page 2: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

The Transformations

Retiming

Relocate registers from fanins of a subcircuit to fanouts, or vice versa.

Resynthesis (aka Combinational Synthesis)

Restructure combinational circuit without changing its function.

Sweep (aka Register Sweep)

Remove registers not observable by output.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 2 / 19

Page 3: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

The Transformations

Retiming

Relocate registers from fanins of a subcircuit to fanouts, or vice versa.

Resynthesis (aka Combinational Synthesis)

Restructure combinational circuit without changing its function.

Sweep (aka Register Sweep)

Remove registers not observable by output.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 2 / 19

Page 4: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

The Transformations

Retiming

Relocate registers from fanins of a subcircuit to fanouts, or vice versa.

Resynthesis (aka Combinational Synthesis)

Restructure combinational circuit without changing its function.

Sweep (aka Register Sweep)

Remove registers not observable by output.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 2 / 19

Page 5: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

The Transformations

Retiming

Relocate registers from fanins of a subcircuit to fanouts, or vice versa.

Resynthesis (aka Combinational Synthesis)

Restructure combinational circuit without changing its function.

Sweep (aka Register Sweep)

Remove or insert registers not observable by output.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 2 / 19

Page 6: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Power of Retiming and Resynthesis (RnR)

Iterative retiming and resynthesis [Malik et al. 90] provide a powerfulstructural transformation

Retiming gives combinational synthesis larger subcircuit to restructure

Resynthesis gives retiming more signals to put registers on

How Powerful are Retiming and Resynthesis?

Are they complete for all sequential transformations?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 3 / 19

Page 7: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Power of Retiming and Resynthesis (RnR)

Iterative retiming and resynthesis [Malik et al. 90] provide a powerfulstructural transformation

Retiming gives combinational synthesis larger subcircuit to restructure

Resynthesis gives retiming more signals to put registers on

How Powerful are Retiming and Resynthesis?

Are they complete for all sequential transformations?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 3 / 19

Page 8: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Power of Retiming and Resynthesis (RnR)

Iterative retiming and resynthesis [Malik et al. 90] provide a powerfulstructural transformation

Retiming gives combinational synthesis larger subcircuit to restructure

Resynthesis gives retiming more signals to put registers on

How Powerful are Retiming and Resynthesis?

Are they complete for all sequential transformations?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 3 / 19

Page 9: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Power of Retiming and Resynthesis (RnR)

Iterative retiming and resynthesis [Malik et al. 90] provide a powerfulstructural transformation

Retiming gives combinational synthesis larger subcircuit to restructure

Resynthesis gives retiming more signals to put registers on

How Powerful are Retiming and Resynthesis?

Are they complete for all sequential transformations?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 3 / 19

Page 10: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Leiserson & Saxe 83

A circuit transformed by retiming is steady state equivalent to originalcircuit.

Malik et al. 90

Asking whether reverse is true, proved that any state re-encoding can bedone by RnR.

Malik 90

Proved (wrongly) that any cycle-preserving (CP) transformation can bedone by RnR.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 4 / 19

Page 11: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Leiserson & Saxe 83

A circuit transformed by retiming and resynthesis is steady state equivalentto original circuit.

Malik et al. 90

Asking whether reverse is true, proved that any state re-encoding can bedone by RnR.

Malik 90

Proved (wrongly) that any cycle-preserving (CP) transformation can bedone by RnR.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 4 / 19

Page 12: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Leiserson & Saxe 83

A circuit transformed by retiming and resynthesis is steady state equivalentto original circuit.

Malik et al. 90

Asking whether reverse is true, proved that any state re-encoding can bedone by RnR.

Malik 90

Proved (wrongly) that any cycle-preserving (CP) transformation can bedone by RnR.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 4 / 19

Page 13: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Leiserson & Saxe 83

A circuit transformed by retiming and resynthesis is steady state equivalentto original circuit.

Malik et al. 90

Asking whether reverse is true, proved that any state re-encoding can bedone by RnR.

Malik 90

Proved (wrongly) that any cycle-preserving (CP) transformation can bedone by RnR.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 4 / 19

Page 14: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Zhou, Singhal, Aziz 98

Showed that there are equivalent (and CP) circuits that cannot betransformed by RnR.

Ranjan et al. 98

Corrected Malik’s result to transformations only by 1-step merging,splitting, or switching.

Jiang & Brayton 06

RnR are exactly transformations by a sequence of 1-step merging andsplitting.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 5 / 19

Page 15: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Zhou, Singhal, Aziz 98

Showed that there are equivalent (and CP) circuits that cannot betransformed by RnR.Somenzi suggested sweep to get it done.

Ranjan et al. 98

Corrected Malik’s result to transformations only by 1-step merging,splitting, or switching.

Jiang & Brayton 06

RnR are exactly transformations by a sequence of 1-step merging andsplitting.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 5 / 19

Page 16: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Zhou, Singhal, Aziz 98

Showed that there are equivalent (and CP) circuits that cannot betransformed by RnR.Somenzi suggested sweep to get it done.

Ranjan et al. 98

Corrected Malik’s result to transformations only by 1-step merging,splitting, or switching.

Jiang & Brayton 06

RnR are exactly transformations by a sequence of 1-step merging andsplitting.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 5 / 19

Page 17: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

A Little Bit History

Zhou, Singhal, Aziz 98

Showed that there are equivalent (and CP) circuits that cannot betransformed by RnR.Somenzi suggested sweep to get it done.

Ranjan et al. 98

Corrected Malik’s result to transformations only by 1-step merging,splitting, or switching.

Jiang & Brayton 06

RnR are exactly transformations by a sequence of 1-step merging andsplitting.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 5 / 19

Page 18: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Main Result

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 6 / 19

Page 19: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Main Result

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations if one-cycle reachability is allowed insynthesis.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 6 / 19

Page 20: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Verification Side of Story

Zhou, Singhal, Aziz 98

Proved that steady state equivalence checking is PSPACE-complete; butconjectured RnR checking is easier.

Jiang & Brayton 06

Proved that RnR checking is also PSPACE-complete, disproving theconjecture.

We point out in paper

Re-encoding checking is PSPACE-hard, but the complexity of RnRchecking is still open.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 7 / 19

Page 21: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Verification Side of Story

Zhou, Singhal, Aziz 98

Proved that steady state equivalence checking is PSPACE-complete; butconjectured RnR checking is easier.

Jiang & Brayton 06

Proved that RnR checking is also PSPACE-complete, disproving theconjecture.

We point out in paper

Re-encoding checking is PSPACE-hard, but the complexity of RnRchecking is still open.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 7 / 19

Page 22: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Verification Side of Story

Zhou, Singhal, Aziz 98

Proved that steady state equivalence checking is PSPACE-complete; butconjectured RnR checking is easier.

Jiang & Brayton 06

Proved that RnR checking is also PSPACE-complete, disproving theconjecture.

We point out in paper

Re-encoding checking is PSPACE-hard, but the complexity of RnRchecking is still open.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 7 / 19

Page 23: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Circuits Demonstrating Incompleteness of RnR

s

sa

ab

b

0

1

0

1

0

1

first pair

second pair

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 8 / 19

Page 24: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Sweep is Necessary

00 01 1110

0 01 1

00 01 11 10

0 01 1

0 101

RnR sweep

(re-encoding)

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 9 / 19

Page 25: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Is Sweep Sufficient?

s

sa

ab

b

0

1

0

10

1

sa

0

1b

0

1

re-encoding sweep

0

1

00 01

11 10

0,--

0,--0,--

0,--0 0

01

000 001

111 010

0,--

0,--0,--

0,--0 0

01

1 00,--01

1,11

1,11

1,00 1,01

1,11 1,10

1,00 1,01

1,11 1,10

Warning

Re-encoding with different length is needed!

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 10 / 19

Page 26: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Is Sweep Sufficient?

s

sa

ab

b

0

1

0

10

1

sa

0

1b

0

1

re-encoding sweep

0

1

00 01

11 10

0,--

0,--0,--

0,--0 0

01

000 001

111 010

0,--

0,--0,--

0,--0 0

01

1 00,--01

1,11

1,11

1,00 1,01

1,11 1,10

1,00 1,01

1,11 1,10

Warning

Re-encoding with different length is needed!

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 10 / 19

Page 27: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Is Sweep Sufficient?

s

sa

ab

b

0

1

0

10

1

sa

0

1b

0

1

re-encoding sweep

0

1

00 01

11 10

0,--

0,--0,--

0,--0 0

01

000 001

111 010

0,--

0,--0,--

0,--0 0

01

1 00,--01

1,11

1,11

1,00 1,01

1,11 1,10

1,00 1,01

1,11 1,10

Warning

Re-encoding with different length is needed!

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 10 / 19

Page 28: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Is RnR Complete for Re-encoding with Different Length?

Proof Sketch

f

f-1

CI

O

f

f-1

CI

OD

I

On bits

m bits

n bitsm

n

m

n

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 11 / 19

Page 29: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Is RnR Complete for Re-encoding with Different Length?

Proof Sketch

f

f-1

CI

O

f

f-1

CI

OD

I

On bits

m bits

n bitsm

n

m

n

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 11 / 19

Page 30: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Re-encoding with Different Code Length

Extra shadow states are introduced:

100 101

011 110

0,--

0,--0,--

0,--1 1

10

000 001

111 010

0,--

0,--0,--

0,--0

01

1,00 1,01

1,11 1,10

0

They cannot be generated by 1-step mergings or splittings!

Contradicting w/ Jiang & Brayton 06

What is wrong?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 12 / 19

Page 31: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Re-encoding with Different Code Length

Extra shadow states are introduced:

100 101

011 110

0,--

0,--0,--

0,--1 1

10

000 001

111 010

0,--

0,--0,--

0,--0

01

1,00 1,01

1,11 1,10

0

They cannot be generated by 1-step mergings or splittings!

Contradicting w/ Jiang & Brayton 06

What is wrong?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 12 / 19

Page 32: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Re-encoding with Different Code Length

Extra shadow states are introduced:

100 101

011 110

0,--

0,--0,--

0,--1 1

10

000 001

111 010

0,--

0,--0,--

0,--0

01

1,00 1,01

1,11 1,10

0

They cannot be generated by 1-step mergings or splittings!

Contradicting w/ Jiang & Brayton 06

What is wrong?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 12 / 19

Page 33: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Encoding Representation Is Important

f

f-1

CI

O

f

f-1

CI

OD

I

On bits

m bits

n bitsm

n

m

n

Observation

Treating Boolean functions as abstract discrete functions turns to boastthe power of synthesis!A discrete function may have a range of 2n + 1 symbols, but acorresponding Boolean one will have 2n+1 values.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 13 / 19

Page 34: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Solution

f

f-1

CI

O

f

f-1

CI

OD

I

On bits

m bits

n bitsm

n

m

n

One-Cycle Reachability (OCR)

We need to look into previous cycle to find the domain of f −1 which wasthe range of f !

Lemma

Without OCR, RnR is not complete for transforming between two givencircuits that are re-encodings with different code lengths.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 14 / 19

Page 35: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Solution

f

f-1

CI

O

f

f-1

CI

OD

I

On bits

m bits

n bitsm

n

m

n

One-Cycle Reachability (OCR)

We need to look into previous cycle to find the domain of f −1 which wasthe range of f !

Lemma

Without OCR, RnR is not complete for transforming between two givencircuits that are re-encodings with different code lengths.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 14 / 19

Page 36: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Inspiration by Abadi & Lamport 91

The existence of refinement mappings, TCS, 82(2), 1991

Under three general hypotheses about the specifications, if S1 implementsS2 then one can add auxiliary history and prophecy variables to S1 to formequivalent specification Shp

1 and find a refinement mapping from Shp1 to S2.

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 15 / 19

Page 37: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if OCR is allowed.

Proof.

1. Circuits C and D are steady state equivalent ⇒ every steady state of Cmaps to at least one D state.2. Use sweep (inverse) to add registers in C to make an “onto” refinementfunction F from C states to D states (Abadi & Lamport 91)3. Bypass signals to make F into a bijection4. Resynthesis F−1 ◦ F at the register output of C5. Retime registers to outputs of F6. Resynthesis with OCR7. Sweep to remove unobservable registers to get D

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 16 / 19

Page 38: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if ORC is allowed.

C

Vc

I

O

C

Vc

I

O

H

Vh

C

Vc

O

H

Vh

F

F-1

C

Vc

O

H

Vd

F

F-1

C

Vc

I

O

D

Vd

I

D

Vd

I

O

sweep-1 resynthesis retiming resynthesis-OCR sweep

I I

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 17 / 19

Page 39: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if ORC is allowed.

C

Vc

I

O

C

Vc

I

O

H

Vh

C

Vc

O

H

Vh

F

F-1

C

Vc

O

H

Vd

F

F-1

C

Vc

I

O

D

Vd

I

D

Vd

I

O

sweep-1 resynthesis retiming resynthesis-OCR sweep

I I

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 17 / 19

Page 40: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if ORC is allowed.

C

Vc

I

O

C

Vc

I

O

H

Vh

C

Vc

O

H

Vh

F

F-1

C

Vc

O

H

Vd

F

F-1

C

Vc

I

O

D

Vd

I

D

Vd

I

O

sweep-1 resynthesis retiming resynthesis-OCR sweep

I I

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 17 / 19

Page 41: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if ORC is allowed.

C

Vc

I

O

C

Vc

I

O

H

Vh

C

Vc

O

H

Vh

F

F-1

C

Vc

O

H

Vd

F

F-1

C

Vc

I

O

D

Vd

I

D

Vd

I

O

sweep-1 resynthesis retiming resynthesis-OCR sweep

I I

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 17 / 19

Page 42: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if ORC is allowed.

C

Vc

I

O

C

Vc

I

O

H

Vh

C

Vc

O

H

Vh

F

F-1

C

Vc

O

H

Vd

F

F-1

C

Vc

I

O

D

Vd

I

D

Vd

I

O

sweep-1 resynthesis retiming resynthesis-OCR sweep

I I

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 17 / 19

Page 43: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Completeness for Sequential Transformation

Theorem

Retiming and Resynthesis with Sweep are complete for steady stateequivalent sequential transformations, if ORC is allowed.

C

Vc

I

O

C

Vc

I

O

H

Vh

C

Vc

O

H

Vh

F

F-1

C

Vc

O

H

Vd

F

F-1

C

Vc

I

O

D

Vd

I

D

Vd

I

O

sweep-1 resynthesis retiming resynthesis-OCR sweep

I I

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 17 / 19

Page 44: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Implications and Future Work

RnR-Sweep provide powerful sequential transformations, thus need tobe developed as a main sequential optimization tool.

OCR needs to be used commonly.

Efficiently verifiable subset of RnR-Sweep transformations?

How powerful are RnR-Sweep without OCR?

What is complexity of RnR equivalence checking?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 18 / 19

Page 45: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Implications and Future Work

RnR-Sweep provide powerful sequential transformations, thus need tobe developed as a main sequential optimization tool.

OCR needs to be used commonly.

Efficiently verifiable subset of RnR-Sweep transformations?

How powerful are RnR-Sweep without OCR?

What is complexity of RnR equivalence checking?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 18 / 19

Page 46: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Implications and Future Work

RnR-Sweep provide powerful sequential transformations, thus need tobe developed as a main sequential optimization tool.

OCR needs to be used commonly.

Efficiently verifiable subset of RnR-Sweep transformations?

How powerful are RnR-Sweep without OCR?

What is complexity of RnR equivalence checking?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 18 / 19

Page 47: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Implications and Future Work

RnR-Sweep provide powerful sequential transformations, thus need tobe developed as a main sequential optimization tool.

OCR needs to be used commonly.

Efficiently verifiable subset of RnR-Sweep transformations?

How powerful are RnR-Sweep without OCR?

What is complexity of RnR equivalence checking?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 18 / 19

Page 48: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Implications and Future Work

RnR-Sweep provide powerful sequential transformations, thus need tobe developed as a main sequential optimization tool.

OCR needs to be used commonly.

Efficiently verifiable subset of RnR-Sweep transformations?

How powerful are RnR-Sweep without OCR?

What is complexity of RnR equivalence checking?

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 18 / 19

Page 49: Retiming and Resynthesis with Sweep Are Complete for ... · Resynthesis gives retiming more signals to put registers on How Powerful are Retiming and Resynthesis? Are they complete

Q & A

Hai Zhou EECS Northwestern University ()Retiming and Resynthesis with Sweep Are Complete for Sequential TransformationsNov. 18, 2009 19 / 19