1 / 14

Tool to Support Computer Architecture Teaching and Learning

Bruno Nova Preparação da Dissertação Supervisor: António Araújo MIEIC – FEUP. Tool to Support Computer Architecture Teaching and Learning. Agenda. Context The problem Some existing tools Proposed solution Technology to be used Work plan. Context. Computer architecture

mingan
Download Presentation

Tool to Support Computer Architecture Teaching and Learning

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. Bruno Nova Preparação da Dissertação Supervisor: António Araújo MIEIC – FEUP Tool to Support Computer Architecture Teaching and Learning

  2. Agenda • Context • The problem • Some existing tools • Proposed solution • Technology to be used • Work plan Preparação da Dissertação - MIEIC - FEUP

  3. Context • Computer architecture • Subject of courses like: • Informatics Engineering • Electrical Engineering • Students learn topics like: • Data representation and circuits • Composition of a CPU • Programming in assembly • Processor performance • MIPS usually used Preparação da Dissertação - MIEIC - FEUP

  4. The problem • Students have difficulties understanding: • CPU datapath and control • Processor pipelining • General operation • Advantages • Hazards • Performance calculation • … Preparação da Dissertação - MIEIC - FEUP

  5. The problem • Why do students have these difficulties? • Absence of tools that: • Are geared towards education • Show the CPU state in each execution step • Represent the datapath graphically • Simulate both unicycle and pipeline versions • Are simple to use and understand • Some tools exist, but none covers all these aspects Preparação da Dissertação - MIEIC - FEUP

  6. Some existing tools • MARS • No pipeline • No visual datapath Source: [1] Preparação da Dissertação - MIEIC - FEUP

  7. Some existing tools • ProcSim • Few instructions • No pipeline • Sequential animation Source: [2] Preparação da Dissertação - MIEIC - FEUP

  8. Some existing tools • MIPS-Datapath • Few instructions • Bad state visualization • Lim. hazards detection Source: [3] Preparação da Dissertação - MIEIC - FEUP

  9. Some existing tools • WebMIPS • Static datapath • Click for inputs/outputs Source: [4] Preparação da Dissertação - MIEIC - FEUP

  10. Proposed solution • Create a simulator of a MIPS CPU that: • Integrates various features: • Simulate unicycle and pipelined versions • Show detailed information step-by-step • Displaying the datapath graphically • Execute programs or single instructions • Identify the critical path and performance • Allow configuration of the datapath • By parameterizing blocks • Reuses or interacts with existing tools • Is intuitive and simple to use Preparação da Dissertação - MIEIC - FEUP

  11. Technology to be used • MIPS architecture • Developed in Java • Cross-platform language • Simplified version for Android tablets • Which use Java too • Nothing like this exists • Reuse work already done Preparação da Dissertação - MIEIC - FEUP

  12. Work plan • Requirements specification (1 week) • Interface specification (1 week) • Non-functional prototype • Implementation (13 weeks) • Internal CPU representation (3 weeks) • Editor and simulation (4 weeks) • Unicycle • Pipeline • Datapath configuration (2 weeks) • Android version (4 weeks) • Documentation and report (2 weeks) Preparação da Dissertação - MIEIC - FEUP

  13. References [1] Dr. Kenneth Vollmar and Dr. Pete Sanderson. MARS: An Education-Oriented MIPS Assembly Language Simulator. March 2006. Accessed on January 7, 2013. http://www.cs.missouristate.edu/~vollmar/MARS/fp288-vollmar.pdf. [2] James Garton. ProcessorSim – A Visual MIPS R2000 Processor Simulator, 2005. Accessed on January 7, 2013. http://jamesgart.com/procsim. [3] Andrew Gascoyne-Cecil. MIPS-Datapath. Accessed on January 7, 2013. http://mi.eng.cam.ac.uk/~ahg/MIPS-Datapath. [4] Irina Branovic, Roberto Giorgi, and EnricoMartinelli. WebMIPS: A New Web-Based MIPS Simulation Environment for Computer Architecture Education. Workshop on Computer Architecture Education, 31st International Symposium on Computer Architecture, 2004. Accessed on January 8, 2013. http://www4.ncsu.edu/~efg/wcae/2004/submissions/giorgi.pdf. Preparação da Dissertação - MIEIC - FEUP

  14. Questions? Preparação da Dissertação - MIEIC - FEUP

More Related