1 / 23

Simulators for computer architecture classes

Anastas Misev Marjan Gusev http://twins.ii.edu.mk/. Simulators for computer architecture classes. The need. Computer architecture is a foundational subject for the entire CS education Learning computer architecture can be frustrating if left in theory

reed
Download Presentation

Simulators for computer architecture classes

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Anastas Misev Marjan Gusev http://twins.ii.edu.mk/ Simulators for computer architecture classes

  2. The need • Computer architecture is a foundational subject for the entire CS education • Learning computer architecture can be frustrating if left in theory • Visualization explains the architectural concepts in more acceptable way to the students • Using visual simulators is becoming an irreplaceable element in CS education • Simulators makes the devices more the accessible

  3. The simulators • Different products available • Development of own tools • Student projects • Most important • SuperSim2 – a visual PostRISC simulator • Tomasulo – web based visual simulator of the popular algorithm • Scoreboard – visual and configurable simulator for the scoreboard algorithm • 8051 simulator • VDD for an external programmable device • The advantages of home production

  4. SuperSim 2.0 • User code, pseudo assembler • Syntax checking, error indication • Extensive configuration • Simulation varying from simple RISC to advanced PostRISC • Step by step execution • Visualization of the pipeline • Non visual mode for high performance • Vast logging capabilities for performance analysis • Detailed statistics

  5. Code editor • Editing • File management • Syntax check

  6. RISC runtime • Basic features • One pipeline • Registers • Data cache

  7. Configuration 1 • Execution units • Number and type • Rates • Issue • Dispatch

  8. Configuration 2 • Usage of shelving • Reservation stations • Type • Size

  9. Configuration 3 • Usage of register renaming • Number of registers • Access

  10. Configuration 4 • Usage of out-of-order • Reorder buffer • Size

  11. Configuration 5 • Usage of branch processing • Speculation • Static and dynamic • Explicit and implicit • Global

  12. PostRISC runtime • Pipeline stages • Animated instruction flow • Step-by-step execution • Superscalar features

  13. ROB • Sequential consistency • Circular buffer • Head • Tail • Instructions by stage

  14. Registry file • Architecture registers • Rename registers • Mapping • Value • Latest • Visualizes 32+32 registers

  15. Branch tables • Explicit prediction • BHT • Implicit prediction • BTAC • Global 2-bit

  16. Data cache • 1024 locations • Word addressible • To be extended to multilevel

  17. Statistics • Detailed statistics • Usage % • IPC per stage • Prediction • Renaming • Memory dependencies • ...

  18. SuperSim 2.0 • Visualy explains ILP concepts • Configurable • Programmable • Easy to use and students like it http://twins.ii.edu.mk/supersim/

  19. Tomasulo • Student project • Web based • Highly graphical • Configurable • Self explanatory • 1-1 mapping of the tables used

  20. Scoreboard • Also students project • Windows application • Fully configurable • Can run user code • Animated or step-by-step execution • Configurable operation latencies

  21. 8051 simulator • 8031/8051 simulator • Student project • Includes • IDE • Code highlighting • Debugging • Step-by-step execution • Modular design

  22. Virtual Device Driver • Student project • Replaces a single external ISA device (8255 based) • Used for I/O assembler programming classes • Uses windows VDD and a front end application as I/O

  23. Conclusion • The simulators used in several courses covering computer architecture • Students interest and motivation is much higher • “One device per student” environment • Motivation to continue the development of new tool, mainly as student projects

More Related