Unformatted text preview:

Graphical editor for the Metropolis meta model Jiagen Ding and Hongjing Zou Fall 2001 Overview of the project Mouse click keyboard input User Immediate and relevant feedback about properties of the system Graphical editor Metropolis meta model In our presentation Review the Metropolis meta model Present the structure of the graphical editor Demo the editor Design methodology Functional decomposition into a set of processesadaptation modeled as Behavior Communication processes by defining media node Communication refinement refine media node P1 M1 P High M2 levelPabstraction M3 2 of a system P M4 refine Computation and communication are separated P M P Mi Mi M P3 Design methodology Mapping Function and architecture are separated System Function System Architecture Mapping Refine Implementation of systems Optimization get better implementation Infrastructure coordination computation f X Z constraints on concurrent actions firing rule algorithms to enforce the constraints communication state methods to store data retrieve data scheduler medium process process P1 port pX pZ thread condition to read X an algorithm for f X condition to write Z P1 pX pZ M M P2 pX pZ medium M int storage int space M void write int z int read S P1 pZ write P2 pX read Graphical editor P1 pX pZ M M P2 pX pZ M S Functions of the editor Manipulation on three kinds of nodes process media and scheduler Create modify and delete Connection and netlist generation Refinement Requirement for the editor Dynamic and interactive Structure of the editor User Mouse clicks View Mouse Clicks Display Figure Controller Add Modify Delete Model Notify with Events Create figures Renderers Java programming Key classes BasicGraphModel GraphEvent GraphListener ProcessRenderer MediumRenderer SchedulerRenderer JGraph GraphPane SchematicGraphController BasicNodeController EdgeController How it works User Click on a node View Send the click to the controller Display figure been selected Controller Create figures Model Renderers How it works User Press P for property View Send the press to the controller Display a dialog showing the property for corresponding node Controller Send command to Model Model Send the property information of the selected node Create figures Renderers How it works User Change the code for the node OK View Send the changes OK to the controller Display modified code Controller Modify the code stored in the model database Model Create figures Renderers Netlist generation Objects of process medium scheduler and their derived types belong to netlist Create node addcomponent NodeObject NetlistOblect A connection between two objects is always through a port Port specification for node connect SrcObject SrcPortName DestObject P1 M M P2 for each port M S for each process node and scheduler node connect SrcObject SrcPortName DestObject Acknowledgment Thanks to our mentors Yosinori Watanabe and Luciano Lavagno And thanks to Stephen Andrew Neuendorffer for help on Diva


View Full Document

Berkeley ELENG C249A - Graphical editor for the Metropolis meta-model

Documents in this Course
Load more
Loading Unlocking...
Login

Join to view Graphical editor for the Metropolis meta-model and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Graphical editor for the Metropolis meta-model and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?