1 / 18

FRAIGs: Functionally Reduced And-Inverter Graphs

FRAIGs: Functionally Reduced And-Inverter Graphs. By Ashesh Rastogi. Adapted from the paper “FRAIGs: A Unifying Representation for Logic Synthesis and Verification”, by Mishchenko, Chatterjee, Jiang, Brayton, UCB Technical Report 2005. Outline. Background on AIGs FRAIGs

metea
Download Presentation

FRAIGs: Functionally Reduced And-Inverter Graphs

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. FRAIGs: Functionally Reduced And-Inverter Graphs By Ashesh Rastogi Adapted from the paper “FRAIGs: A Unifying Representation for Logic Synthesis and Verification”, by Mishchenko, Chatterjee, Jiang, Brayton, UCB Technical Report 2005

  2. Outline • Background on AIGs • FRAIGs • Applications of FRAIGs • Experimental Results • Conclusions

  3. a a a + b b b a a b b Background • AND-INVERTER Graphs (AIGs) • Boolean Network composed on 2-input AND gates and Inverters • Representations: NAND OR

  4. Background • Properties of AIGs • Function fn(x) of AIG node n – logic cone rooted at node n with base as PI • Nodes of AIG – Number of AND gates • Levels of AIG – Number of AND gates on the longest path from PI to PO • Number of nodes  Number of literals in factored form

  5. Background • Properties of AIGs • Not Canonical • Note: These AIGs are FRAIGs

  6. Background • AIG Construction • Given a SOP  • Convert it into factored form  • Convert all 2-input OR gates into 2-input AND gates using DeMorgan Rule

  7. Background • AIG Construction • Given a circuit • Perform recursive construction for each PO • At each step add new AND gate and • Perform Structural Hashing (Strashing) • One-Level Strashing: Check for AND gate with same fan-ins by looking at hash table • No Strashing: Don’t check – leads to redundant nodes • If a PI node: Create an AIG variable • Else construct AIG node for factored form node

  8. Background • AIG with redundant nodes • Has 11 Nodes and 5 Levels

  9. FRAIGs • Properties of FRAIGs • For any two nodes n1, n2 • and • “Semi-Canonical”: No two functions have same PIs but still have different structures • Possess same properties of AIGs

  10. FRAIGs • FRAIG Construction • Perform one-level strashing • Perform functional equivalent test • Do random simulation for each node by calling SAT solver • Store results in a look-up table • Check new node functionally equivalent to old node

  11. Applications of FRAIGs • Traditional Logic Synthesis • Helps create compact circuits • Uniform representation of DAGs and algebraic factored forms • “Lossless” Logic Synthesis • Collect all logic representations obtained over several optimization steps

  12. Applications of FRAIGs • Technology Mapping • More structural mapping choices (Lossless Synthesis) • Improved mapping quality • Formal Verification • Improved Combinational Equivalence Checking (CEC) • Ensures transformation at each step of synthesis is functionally correct

  13. Experiment Results • fraig -n: No strashing • fraig -r: One-level strashing • fraig: One-level strashing with functional reduction

  14. Experiment Results • fraig -f: SAT solver feedback not used • fraig -s: No functional equivalence check for sparse functions

  15. Experiment Results • With and without structural choices

  16. Experiment Results • Runtimes in MVSIS environment and on 2.4GHz Xeon CPU

  17. Conclusions • FRAIGs help in unifying all steps of logic synthesis • Optimized functional representation • Enhanced technology mapping with help of lossless synthesis • Transparent CEC: Guarantees all transformations correct • More robust than BDDs • FRAIG is available for use in ABC Package

  18. QUESTIONS ?

More Related