1 / 22

Appearance-Based Equivalence Checking

Appearance-Based Equivalence Checking. Speaker: Daw-Ming Lee Advisor: Chun-Yao Wang 2009.02.27. Outline. Introduction Our Ideas False negative. Introduction. Traditional approaches of equivalence checking Building BDDs SAT solving Exponential growth of required memory and runtime.

bracha
Download Presentation

Appearance-Based Equivalence Checking

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Appearance-Based Equivalence Checking Speaker: Daw-Ming Lee Advisor: Chun-Yao Wang 2009.02.27

  2. Outline • Introduction • Our Ideas • False negative

  3. Introduction Traditional approaches of equivalence checking Building BDDs SAT solving Exponential growth of required memory and runtime

  4. Flow chart Transform N1 and N2 to 2-input NAND-NOT circuit N1 and N2 are equivalent True Are both N1 and N2 are empty? Find the LCCS between circuits N1 and N2 False Apply the IRRA technique, transform the LCCS to the LCCPIS,and compute the cost of IRRA Whether the rest part of N1 and N2 are equivalent? True False terminate IRRA? True False negative? False False Delete the LCCPIS from N1 and N2, and add the LCCPIS to I N1 and N2 are not equivalent

  5. 2-input NAND-NOT Circuit(1/2) C1 X1 X2 X3 Y1 C2 Y2 Y3

  6. 2-input NAND-NOT Circuit(2/2) C1 X1 X2 X3 C2 Y1 Y2 Y3

  7. Example ... ... N1_0 N2_0 .. .. .. .. N2: N1: N1_1 N2_1 N1_2 N2_2 .. .. … … N1_3 N2_3 … … Find the largest common connected subgraph

  8. Example ... ... N1_0 N2_0 .. .. .. .. N2: N1: N1_1 N2_1 N1_2 N2_2 .. .. … … N1_3 N2_3 … … Apply the IRRA technique, transform the LCCS to the LCCPIS

  9. Example ... ... N2_0 N2_0 .. .. .. .. N1_1 N1_1 N2_2 N2_2 .. .. … … N2_3 N2_3 … … Delete the LCCPIS from N1 and N2, and add the LCCPIS to I

  10. Example ... ... N2_0 N2_0 .. .. N1_1 N1_1 … … Find the LCCPIS between N1 and N2, and iterate the procedure untill N1 and N2 can not be smaller

  11. Cost function ... ... N2_0 N2_0 .. .. .. .. N1_1 N1_1 N2_2 N2_2 .. .. … … N2_3 N2_3 N2_4 … … LCCPIS+ IRR circuit - rectify

  12. False negative • CLEVER: Divide and Conquer Combinational Logic Equivalence Verification with False Negative Elimination • John Moondanos • CAV 2001

  13. False negative C1 X1 Y1 W X2 W=A⊕B Y2 X3 free variable C2 X1 Z1 W X2 W=A+B Z2 X3 A⊕B ≠ A+B A=(Y1,Z1) B=(Y2,Z2)

  14. Re-convergent C1 X1 Y1 W X2 W=A⊕B Y2 X3 C2 X1 Z1 W X2 W=A+B Z2 X3

  15. Method • using normalized function instead of using free variables

  16. Definition • V is a cut-point, and g(r,n) represents signal V • r variables correspond to cut-points with fanout re-converging outside the cone of V • n variables correspond to cut-points that do not have fanout re-converging outside the cone of V

  17. Example C1 X1 Y1 W X2 Y2 X3 gi(ri,ni) Yi=gi(Xi)

  18. Example C1 X1 Y1 W r X2 n Y2 X3 r={X2} n={X1,X3} gi(ri,ni) Yi=gi(Xi)

  19. Defination • Forced term • for every value combination of the n variables, V becomes 1 • Fg=Fg(r)= n.g(r,n) • Possible term • for all those r values that make g(r,n)=0 • Pg=Pg(r)= n.g(r,n) A E

  20. Defination • eigenvariable • variable v that on cut-point • Normalized function • vPg+Fg

  21. Example Pg=X2’ Fg=0 g(v,r)=v1X2’+0=v1X2’ X1 Y1 W X2 Y2 X3 Pg=X2 Fg=0 g(v,r)= v2X2+0=v2X2

  22. Example C1 X1 Y1 W X2 W=v1X2’⊕v2X2 Y2 X3 C2 X1 Z1 W=v1X2’+v2X2 W X2 Z2 X3 C1 and C2 are equivalent

More Related