Microprog
Visualization Control |
Edit Memory and Register File |
Documentation "microprog" |
Misp Instruction Set |
Memory Content |
Register File Content
The following text explains the control and interaction of the component
"microprog". By a clicking on the right icon you can start
"microprog". If everything works
alright, an additional window will be opened with the loaded component and
you can give it a try directly here.
|
|
|
Certainly you can start the RaVi system on
your computer and you can load the component "microprog".
Loading the component means to open the subdesign file "microprog.hds"
in the RaVi directory. For further information about system start and loading a
component please have a look to
the page Starting RaVi System - Loading a RaVi
Component
After a successfully loading of the component "microprog" you will
see the schematic like the one shown in the illustraction 1. All signal lines are
undefined. For a detail description of the hardware structure please have a look to the
documentation page of this component.
|
Illustration 1: MISP-processor in the State "start"
|
|
The submenu and the hyperlinks give further
information
|
Visualization Control
For starting the application flow of the
component, first click twice on the switch "nreset".
After the first click it will appear grey colored and after the second click
it will appear red colored. The color "grey" represent the signal value '0'
and the color "red" represent the signal value '1'.
Every click on the switch changes the signal value from '0' to '1' or
inverse. If the switch "nreset" appears red colored, the controller is
enabled.
After enabling the controller you can control the application flow by using the switch
"clock". Every click of the switch corresponds to a single clock
transition. The switch is coloured red, if the clock signal is ‘1’. New
values are loaded into the registers at rising edges of the clock.
During the visualization flow the processor pass through the different cycles and
executes the instructions stored in the memory unit "Mem".
The actual state of the controller will be displayed at the label in the
upper right corner and the relevant signal lines of the cycle
will be highlighted. By moving the mouse over an element in the schematic
the actual values of the input and output pins of the datapath elements can be
seen. A popup window with the value will appear after a while.
The illustration 2 for example shows the datapath in the
state "and".
|
|
|
Illustration 2: MISP-processor in the State "and"
|
|
|
Edit Memory and Register File
The files "mem.bin" and "reg.bin" in the RaVi directory
contain the memory contents and the register file contents. These contents will
be used by the multimedia component by default, but the user can interactively
change the default content by specifying another
external file or by editing the given contents. This can be done by selecting
the memory unit or register file in the schematic and using the right mouse
menu item "edit". After the selection of the menu item
"edit" a window is opened which shows the contents of the unit. Within
this window the user can edit the contents or load another external file. Illustration
3 shows for example the edit window for the memory and register file contents.
|
|
|
Illustration 3: Edit Window for
Memory and Register File Content
|
|
|
To the Top |
Visualization Control |
Edit Memory and Register File |
Documentation "microprog" |
Misp Instruction Set |
Memory Content |
Register File Content
|
|
|