Step 1: Add a Bus and a Third Processor |
A.) Open the GUI to your hardware architecture.
Either type gui architecture.sim and hit enter at the command line, or select File/Open from within the GUI.B.) Zoom-Out so you can add new boxes. C.) Replicate one of the processors, by:
Set it's instance name to be Bus. E.) Move the link connecting processor_A and processor_B so that it connects processor_A to the Bus. Do this in Select/Move mode by grabbing the vertex (arrow) attached to processor_B and swinging it over to the BusF.) Replicate the link to connect the other two processors to the bus.
The diagram should appear as shown here:
H.) Save your diagram: File / Save You have now expanded the hardware architecture model.
|
Step 2: Build Hardware |
Select: Tools / Build Simulation
Watch the text window from which you launched the GUI for messages about the status of the build-processing.
|
Step 3: Update Routing Table |
Select: Tools / Build Routing Table
Because you changed the hardware architecture, it is necessary to re-build the routing table.
|
Step 4: Expand Software Application Graph |
A.) Open the GUI to your software Data Flow Graph.
Either type gui DFG_1.dfg and hit enter at the command line, or select File/Open from within the GUI. You should see your old graph. B.) Add two new nodes to your data flow graph. Connect the nodes with arcs. C.) Set the properties of the new boxes to be:
For the arc connecting the START box and the Task_X box:
E.) Save your diagram: File / Save You have now expanded your application Data Flow Graph (DFG).
|
Step 5: Build Software |
Select: Tools / Build DFG SW
Watch the text window from which you launched the GUI for messages about the status of the build-processing.You can plot the ideal timeline by: Tools / Plot Ideal Timeline. It should look like:
Note that the ideal time-line does not consider actual data transfer delays nor the effects of contentions on such transfers. Only task computation sequences and concurrencies are considered.
|
Step 6: Run the Simulation |
Select: Tools / Run Simulation
The simulation control panel window will pop up. |
Step 7: View Time-Line Results |
Select: Tools / Plot Comm+Proc TLine
The graph should appear as: |
(Questions, Comments, & Suggestions: admin@csim.com)