190 likes | 339 Views
Ivan Poliakov, Arseniy Alekseyev, Victor Khomenko, Alex Yakovlev. Workcraft – a Framework for Interpreted Graph Models. Interpreted Graph Models. Static graph structure Nodes Arcs Additional entities Tokens Node states Arc states Etc Examples: Petri Nets Static Data Flow Structures
E N D
Newcastle upon Tyne Ivan Poliakov, Arseniy Alekseyev, Victor Khomenko, Alex Yakovlev Workcraft – a Framework for Interpreted Graph Models
Newcastle upon Tyne Interpreted Graph Models • Static graph structure • Nodes • Arcs • Additional entities • Tokens • Node states • Arc states • Etc • Examples: • Petri Nets • Static Data Flow Structures • Gate-level circuits
Newcastle upon Tyne Petri Nets as a low-level 'language' • Many high-level models do not have sufficiently developed theory and associated tools • Petri Nets have exensive theory and many efficient tools • Approach: convert high-level models into PNs for analysis/verification
Newcastle upon Tyne Verification workflow
Newcastle upon Tyne Workcraft • A tool for working with IGMs • Visual editing • Interactive simulation • Automated verification • For researchers: • define new Interpreted Graph Models • inherit visual editing and simulation features of the framework • For system designers • a consistent framework for different formalisms • convenient analysis and verification functions
Newcastle upon Tyne Workcraft GUI overview
Newcastle upon Tyne Working with models • Creating new model
Newcastle upon Tyne Working with models • Simulation • Modes: • Automatic • Interactive • Trace-replay • Step-by-step
Newcastle upon Tyne Model interoperability
Newcastle upon Tyne More complex interoperability
Newcastle upon Tyne Use case — Static Data Flow Verification Original state 29 steps Deadlock state
Newcastle upon Tyne Use case — Asynchronous circuit verification Hazard caused by wire delay
Newcastle upon Tyne Summary • Workcraft is a framework for Interpreted Graph Models • Provides visual editing and simulation features • Provides automated verification features • Workcraft has been used in several real-life cases • SDFS verification • Circuit verification (e.g. the design of a multiresource arbiter by Golubcovs et al.) • CPOG-based synthesis • Available free for academic use at • async.org.uk/workcraft
Newcastle upon Tyne Workcraft 2 • Almost complete rewrite of Workcraft 1: • No longer OpenGL dependent • visualisation engine switched from custom-written to Java2D • much better portability • Customisable multi-window interface • Persistent docking layout • Hideable utility windows
Newcastle upon Tyne Workcraft 2 (cont.) • Logical model data and visual data are separate • Logical models can exist without visual data • Import from files without visual data is allowed (such as .g) • Visual data can be attached on-the-fly • Console mode • JavaScript-based command line • Scriptable batch processing
Newcastle upon Tyne Use case – Balsa circuit re-synthesys • Visualisation of Balsa net-lists • Generation of STGs for individual HS components • STG composition of the entire HS circuit
Newcastle upon Tyne Individual component STGs "SequenceOptimised" component STG "Concur" component STG
Newcastle upon Tyne Resulting STG composition out0 out1 activate out2 out3
Newcastle upon Tyne • (tool demo)