Release notes DPS
Software architecture
↑
Source is located in folder src.
Folder includes following files:
- dps.pde − contains draw phase of objects
- add.pde − contains source for instruction ADD
- alu.pde − contains class Alu that allows drawing alu
- banco.pde − contains class Banco that allows drawing bank register
- figura.pde − contains class Figura that represents every figure with contour
- gui.pde − contains source to draw and to manage user interface
- linea.pde− contains class Linea that allows drawing lines
- load.pde − contains source for instruction LOAD
- multiplatore.pde − contains class Multiplatore that allows drawing multiplexers
- oggetto.pde − contains class Oggetto that represents every drawing and allows its color changing
- registro.pde − contains class Registro that allows drawing registers
- rettangolo.pde − contains class Rettangolo that eases drawing of objects based on rectangles
- scritta.pde − contains class Scritta che that allows drawing free writings and figures
- store.pde − contains source for instruction STORE
- trapezio.pde − contains class Trapezio that eases drawing of objects based on trapezoids
For detailed information refer to Javadoc
Programming techniques
↑
This simulator is developed according to Object-Oriented Paradigm.
DPS uses G4P library to create and manage GUI.
It uses an event system based on the prior library.
Time is divided into frames of 30 second intervals.If no valid instruction is inserted ,there is no frame change
otherwise frames go on one-by-one and stop when animation ends.
Window can be resised and adapted to monitor.
Tests
↑
This simulator was tested in following platforms:
Operating Systems |
Version |
Results |
Windows |
8.1 |
OK |
GNU/Linux |
Mint Rebecca 32 bit |
OK |
Mac OS X |
Mac OS Sierra |
OK |
Ideas for further development
↑
Advice for possible improvements:
- Improve graphical interface
- Create new animations that represents datapath
- Add new languages
- Add support to new instructions
- Add support to new addressing modes
- Add sounds to explain datapath step by step.
- Extend datapath adding control signals.
- Create a datapath with pipeline.