Resolution of Encoding Conflicts by Signal Insertion and Concurrency Reduction based on STG Unfoldings V. Khomenko, A. Madalinski and A. Yakovlev University.

Slides:



Advertisements
Similar presentations
Delay models (I) A B C Real (analog) behaviorAbstract behavior A B C Abstractions are necessary to define delay models manageable for design, synthesis.
Advertisements

Shortest Violation Traces in Model Checking Based on Petri Net Unfoldings and SAT Victor Khomenko University of Newcastle upon Tyne Supported by IST project.
Automated Evaluation of Runtime Object States Against Model-Level States for State-Based Test Execution Frank(Weifeng) Xu, Gannon University Dianxiang.
Andrey Mokhov, Victor Khomenko Danil Sokolov, Alex Yakovlev Dual-Rail Control Logic for Enhanced Circuit Robustness.
1 BalsaOpt a tool for Balsa Synthesis Francisco Fernández-Nogueira, UPC (Spain) Josep Carmona, UPC (Spain)
1 Advanced Digital Design Synthesis of Control Circuits by A. Steininger and J. Lechner Vienna University of Technology.
Efficient Reachability Analysis for Verification of Asynchronous Systems Nishant Sinha.
Merged Processes of Petri nets Victor Khomenko Joint work with Alex Kondratyev, Maciej Koutny and Walter Vogler.
TOWARDS EQUIVALENCE CHECKING BETWEEN TLM and RTL MODELS PRINCIPLES OF SEQUENTIAL EQUIVALENCE VERIFICATION Giray Kömürcü Boğaziçi University CMPE 58Q.
Hazard-free logic synthesis and technology mapping I Jordi Cortadella Michael Kishinevsky Alex Kondratyev Luciano Lavagno Alex Yakovlev Univ. Politècnica.
Hardware and Petri nets Synthesis of asynchronous circuits from Signal Transition Graphs.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
Logic Decomposition of Asynchronous Circuits Using STG Unfoldings Victor Khomenko School of Computing Science, Newcastle University, UK.
Logic Synthesis for Asynchronous Circuits Based on Petri Net Unfoldings and Incremental SAT Victor Khomenko, Maciej Koutny, and Alex Yakovlev University.
Detecting State Coding Conflicts in STGs Using Integer Programming Victor Khomenko, Maciej Koutny, and Alex Yakovlev University of Newcastle upon Tyne.
Hardware and Petri nets: application to asynchronous circuit design Jordi CortadellaUniversitat Politècnica de Catalunya, Spain Michael KishinevskyIntel.
Penn ESE 535 Spring DeHon 1 ESE535: Electronic Design Automation Day 13: March 4, 2009 FSM Equivalence Checking.
Introduction to asynchronous circuit design: specification and synthesis Part IV: Synthesis from HDL Other synthesis paradigms.
Using Interfaces to Analyze Compositionality Haiyang Zheng and Rachel Zhou EE290N Class Project Presentation Dec. 10, 2004.
Introduction to asynchronous circuit design: specification and synthesis Part III: Advanced topics on synthesis of control circuits from STGs.
1 Logic design of asynchronous circuits Part II: Logic synthesis from concurrent specifications.
RESYN'09 March 2009 Newcastle upon Tyne 1 Workcraft – a Framework for Interpreted Graph Models Ivan Poliakov, Arseniy Alekseyev, Victor Khomenko, Alex.
Behavioral Design Outline –Design Specification –Behavioral Design –Behavioral Specification –Hardware Description Languages –Behavioral Simulation –Behavioral.
Introduction to asynchronous circuit design: specification and synthesis Part II: Synthesis of control circuits from STGs.
Combining Decomposition and Unfolding for STG Synthesis (application paper) Victor Khomenko 1 and Mark Schaefer 2 1 School of Computing Science, Newcastle.
Hardware and Petri nets Partial order methods for analysis and verification of asynchronous circuits.
1 Logic synthesis from concurrent specifications Jordi Cortadella Universitat Politecnica de Catalunya Barcelona, Spain In collaboration with M. Kishinevsky,
Asynchronous Interface Specification, Analysis and Synthesis M. Kishinevsky Intel Corporation J. Cortadella Technical University of Catalonia.
1 Logic design of asynchronous circuits Part III: Advanced topics on synthesis.
Visualisation and Resolution of Coding Conflicts in Asynchronous Circuit Design A. Madalinski, V. Khomenko, A. Bystrov and A. Yakovlev University of Newcastle.
Bridging the gap between asynchronous design and designers Part II: Logic synthesis from concurrent specifications.
Behaviour-Preserving Transition Insertions in Unfolding Prefixes
STG-based synthesis and Petrify J. Cortadella (Univ. Politècnica Catalunya) Mike Kishinevsky (Intel Corporation) Alex Kondratyev (University of Aizu) Luciano.
Branching Processes of High-Level Petri Nets Victor Khomenko and Maciej Koutny University of Newcastle upon Tyne.
1 State Encoding of Large Asynchronous Controllers Josep Carmona and Jordi Cortadella Universitat Politècnica de Catalunya Barcelona, Spain.
Parallel LTL-X Model Checking of High- Level Petri Nets Based on Unfoldings Claus Schröter* and Victor Khomenko** *University of Stuttgart, Germany **University.
Synthesis of Asynchronous Control Circuits with Automatically Generated Relative Timing Assumptions Jordi Cortadella, University Politècnica de Catalunya.
1 Ivan Lanese Computer Science Department University of Bologna Italy Concurrent and located synchronizations in π-calculus.
Canonical Prefixes of Petri Net Unfoldings Walter Vogler Universität Augsburg in cooperation with V. Khomenko, M. Koutny (CAV 2002, Acta Informatica 2003)
UFO’07 26 June 2007 Siedlce 1 Use of Partial Orders for Analysis and Synthesis of Asynchronous Circuits Alex Yakovlev School of EECE University of Newcastle.
A New Type of Behaviour- Preserving Transition Insertions in Unfolding Prefixes Victor Khomenko.
Detecting State Coding Conflicts in STGs Using SAT Victor Khomenko, Maciej Koutny, and Alex Yakovlev University of Newcastle upon Tyne.
1 A Case for Using Signal Transition Graphs for Analysing and Refining Genetic Networks Richard Banks, Victor Khomenko and Jason Steggles School of Computing.
1 Petrify: Method and Tool for Synthesis of Asynchronous Controllers and Interfaces Jordi Cortadella (UPC, Barcelona, Spain), Mike Kishinevsky (Intel Strategic.
Automatic synthesis and verification of asynchronous interface controllers Jordi CortadellaUniversitat Politècnica de Catalunya, Spain Michael KishinevskyIntel.
Derivation of Monotonic Covers for Standard C Implementation Using STG Unfoldings Victor Khomenko.
Merged processes – a new condensed representation of Petri net behaviour V.Khomenko 1, A.Kondratyev 2, M.Koutny 1 and W.Vogler 3 1 University of Newcastle.
Asynchronous Circuit Verification and Synthesis with Petri Nets J. Cortadella Universitat Politècnica de Catalunya, Barcelona Thanks to: Michael Kishinevsky.
HELSINKI UNIVERSITY OF TECHNOLOGY *Laboratory for Theoretical Computer Science Helsinki University of Technology **Department of Computing Science University.
A Usable Reachability Analyser Victor Khomenko Newcastle University.
UK Asynchronous Forum, September Synthesis of multiple rail phase encoding circuits Andrey Mokhov, Crescenzo D’Alessandro, Alex Yakovlev Microelectronics.
Software Engineering Research paper presentation Ali Ahmad Formal Approaches to Software Testing Hierarchal GUI Test Case Generation Using Automated Planning.
FORMAL VERIFICATION OF ADVANCED SYNTHESIS OPTIMIZATIONS Anant Kumar Jain Pradish Mathews Mike Mahar.
Analysis of Concurrent Software Models Using Partial Order Views Qiang Sun, Yuting Chen,
Behavioral Comparison of Process Models Based on Canonically Reduced Event Structures Paolo Baldan Marlon Dumas Luciano García Abel Armas.
Equivalence checking Prof Shobha Vasudevan ECE 598SV.
2000 Research Overview Dr. Kim Mens Programming Technology Lab Vrije Universiteit Brussel.
Specification mining for asynchronous controllers Javier de San Pedro† Thomas Bourgeat ‡ Jordi Cortadella† † Universitat Politecnica de Catalunya ‡ Massachusetts.
Structural methods for synthesis of large specifications
Victor Khomenko Newcastle University
Synthesis from HDL Other synthesis paradigms
Asynchronous Interface Specification, Analysis and Synthesis
Synthesis of Speed Independent Circuits Based on Decomposition
Part IV: Synthesis from HDL Other synthesis paradigms
“Smart” State Spaces © Kurt Jensen Department of Computer Science University of Aarhus, Denmark "Smart" State.
ESE535: Electronic Design Automation
Synthesis of asynchronous controllers from Signal Transition Graphs:
ESE535: Electronic Design Automation
Synthesis of multiple rail phase encoding circuits
Fast Min-Register Retiming Through Binary Max-Flow
Presentation transcript:

Resolution of Encoding Conflicts by Signal Insertion and Concurrency Reduction based on STG Unfoldings V. Khomenko, A. Madalinski and A. Yakovlev University of Newcastle upon Tyne

2 Signal Transition Graph (STG) Device VME Bus Controller lds ldtack d Data Transceiver Bus dsr dsw dtack dtack- dsr+ lds+ d- lds-ldtack- ldtack+ d+ dtack+ dsr-

3 Encoding conflicts pairs of semantically different states with the same binary encoding not distinguishable at the circuit level encoding conflicts have to be resolved before we can proceed with synthesis Transformations: signal insertion: introduces additional internal signal (‘memory’) helping to trace the current state concurrency reduction: introduces additional ordering constraints making some of the conflicting states unreachable  both are needed to explore a larger design space!

4 dtack-dsr+ dtack-dsr+ dtack-dsr ldtack lds lds+ ldtack+ d+ dtack+dsr- d M’’M’ dtack-dsr+ dtack-dsr+ dtack-dsr ldtack lds lds+ ldtack+ d+ dtack+dsr- d Example: CSC conflict

5 M’’M’ CSC resolution: signal insertion dtack-dsr+ dtack-dsr+ dtack-dsr ldtack lds lds+ ldtack+ d+ dtack+dsr- d csc+ csc

6 M’’M’ dtack-dsr+ dtack-dsr+ dtack-dsr ldtack lds lds+ ldtack+ d+ dtack+dsr- d CSC resolution: concurrency reduction dtack-dsr+ lds

7 Framework for visualisation & interactive resolution of encoding conflicts manual vs. automatic resolution of coding conflicts automatic  can produce sub-optimal solutions manual  crucial for finding good (low-latency, compact & elegant) synthesis solutions interactivity is good! visualisation concepts: emphasise essential information avoid information overload

8 STG unfolding partial order model infinite acyclic net, simple structure finite complete prefix finite initial part of unfolding contains all the reachable states alleviates state space explosion problem more visual then state graphs proven efficient for model checking

9 core State Graphs vs. Unfoldings lds- e1e1 e2e2 e3e3 e4e4 e5e5 e6e6 e7e7 e9e9 e 11 e 12 e 10 e8e8 dsr+ ldtack+ dsr- ldtack- lds+ d+ dtack+ d- dtack- dsr+ lds+ M’ M’’ M’ M’’ dtack-dsr+ dtack-dsr+ dtack- dsr ldtack lds lds+ ldtack+ d+ dtack+ dsr- d

10 Visualisation of conflicts: Height map Core 1 Core 2 cores often overlap high-density areas are good candidates for signal insertion analogy with topographic maps A1 A2 A3 Core 3

11 Highest peak Height map: an example Core mapHeight map csc+

12 Resolution of encoding conflicts Core t+ t- Signal insertion: insert t+ in a core t- must be added outside the core preserving consistency inserted transitions must not trigger an input signal

13 Concurrency reduction addition of causal constraint, i.e. a new place u1u1 t (non-input) u2u2 Add a token if needed

14 Resolution of encoding conflicts Forward concurrency reduction: bringing forward the ending point of concurrency ‘dragging’ f into the core

15 Resolution of encoding conflicts Backward concurrency reduction: delaying starting point of concurrency ‘dragging’ f into the core

16 Resolution of encoding conflicts Concurrency reduction: an example p’ inputs: b,c,f; outputs: a,d,einputs: a,b; outputs: c,d,e forward backward

17 Overview of the resolution process concurrency reduction signal insertion phase 1 phase 2

18 Cost function cost = α 1 ·  + α 2 ·  logic – α 3 ·  core  : estimated delay caused by transformation  logic: estimated increase in complexity of logic  core: number of eliminated cores, α i : parameters chosen by the designer Calculated on the original unfolding prefix

19 Validity signal insertion: well-developed, e.g. weak bisimulation concurrency reduction: more challenging, e.g.: not even language-equivalent events can become dead introduction/disappearance of deadlocks

20 Validity aspects I/O interface preservation the interface between circuit and its environment should be preserved conformation no “wrong” behaviour should be introduced liveness no “interesting” behaviour should be completely eliminated technical restrictions boundedness, speed-independence, etc.

21 Validity notion natural to use partial order framework when speaking about concurrency reduction! plan: define a “valid realisation” relation on partial order analog of traces (processes) define “valid realisation” relation on systems

22 Validity notion: processes can easily eliminate silent actions (e.g. internal signals) preserving causality – abstraction ab c d  ab c d

23 Validity notion: processes step 1: increasing concurrency of inputs step 2: decreasing concurrency of outputs

24 step 1: increasing concurrency of inputs Validity notion: processes step 2: decreasing concurrency of outputs i1i1 i2i2 o i1i1 i2i2 o o1o1 o2o2 i o1o1 o2o2 i

25 Validity notion: processes i1i1 i2i2 o i1i1 i2i2 o o1o1 o2o2 i o1o1 o2o2 i i1i1 i2i2 o o1o1 o2o2 i i1i1 i2i2 o1o1 o2o2 i1i1 i2i2 o1o1 o2o2 i1i1 i2i2 o1o1 o2o2

26 Validity notion: systems valid realisation: e E E’ (transformed) (original) E e’ E’ (transformed) (original)

27 Validity notion: systems i2i2 i1i1 i1i1 i2i2 i2i2 i1i1 o2o2 o1o1 o1o1 o2o2 o2o2 o1o1 o o o o … … o o

28 Case study: AD converter controller signal insertion #phase 1phase 2cost 6|| Laf+ to Lr-->ready- 7Laf+ ->->ready-0 8->Ar-->ready-0 9-> Lr-->ready-1 10Laf+ ->start- ->1 11Laf+ ->|| ready+ to ready-1 concurrency reduction #causal constraintcost Core map

29 Conclusions combined framework for resolution of encoding conflicts based on cores in the STG unfolding larger design space – exploit the area/delay trade-off novel validity condition Future work more automation improving cost function performing transformation directly on the unfolding prefix rather than the STG