TL;DR
This paper presents a three-phase project-based learning approach for teaching computer architecture (Comp-Arch) to undergraduate students. By having students design, simulate, and verify their own 16-bit processors, the authors demonstrate a significant increase in student motivation and understanding, addressing the common challenge of declining interest in hardware-focused courses.
What Problem Does This Paper Address?
Computer architecture (Comp-Arch) courses are facing a decline in student interest, with many students gravitating towards software-oriented subjects. This challenge is exacerbated in some departments where Comp-Arch courses are taught without practical lab components due to resource constraints. The authors aim to bridge this gap by proposing a hands-on, team-based project that makes the abstract concepts of computer architecture more tangible and engaging, thereby increasing student motivation and knowledge.
Methods
The core of this study is a 14-week, three-phase project designed to teach computer architecture.
- Phase 1: Processor Design: Students, working in teams, design a 16-bit MIPS-like processor with specific constraints on instruction set, data memory, and instruction memory. This phase encourages exploration of different design choices, leading to variations in instruction sets and cycle times.
- Phase 2: Desktop Simulator Implementation: Students develop a desktop simulator in a programming language of their choice to execute assembly code on their designed architecture, visualizing register and memory changes.
- Phase 3: HDL Verification: Students use Verilog Hardware Description Language (HDL) to simulate and verify the data-path designed in the initial phase.
The project also incorporates peer reviews and public presentations at each phase to foster collaborative learning and knowledge sharing. Student feedback was collected via a questionnaire with Likert scale questions.
Datasets
Not discussed in the paper. The study focuses on a pedagogical approach and student projects, rather than external datasets.
Key Insights and Ideas
- Hands-on learning is crucial for Comp-Arch: The study strongly suggests that practical, project-based learning significantly boosts student motivation and comprehension in computer architecture, a field often perceived as abstract and theoretical.
- Teamwork enhances learning: Collaborative group work and peer discussions were found to be beneficial, allowing students to leverage each other's strengths and gain diverse perspectives on processor design.
- Phased approach builds confidence: Introducing the MIPS simulator before the custom CPU design phase helped students build confidence and awareness for the more complex design tasks.
- HDL is a valuable verification tool, but challenging: While Verilog HDL proved effective for verifying processor designs, students with limited prior experience found it challenging, highlighting the need for adequate foundational knowledge.
- Adaptability of the approach: The proposed three-phase project model is presented as adaptable to other computer engineering courses requiring a solid understanding of low-level computer concepts.
Key Results
The survey results indicated a significant positive impact of the course on students' knowledge and skills:
- Knowledge and Experience: Average self-reported knowledge and experience in hardware design increased from 3.12 before the course to 7.02 after.
- Self-Learning Ability: Self-learning ability improved from an average of 4.64 to 7.52.
- Interest in Low-Level Systems: Interest in low-level systems and Computer Hardware Engineering saw a moderate increase from 3.92 to 4.92, though with higher standard deviations indicating varied individual responses.
- Simulator and Design Phases: Students emphasized the significance of the simulator (average rating of 4.04/5) and the processor design phases (average rating of 3.78/5).
- Enjoyment: Students generally expressed a high level of enjoyment with the course (average rating of 4.00/5).
Limitations and Future Work
- Physical Implementation: The study acknowledges the absence of a physical implementation phase due to the COVID-19 pandemic. The authors suggest integrating an FPGA implementation as a future enhancement to provide hands-on experience with embedded systems and allow for statistical evaluation of design performance.
- Workload: Students expressed concerns about the workload associated with the project, particularly the HDL implementation. Future investigations could analyze the workload-to-benefit ratio of each phase to optimize the approach.
- Tool-Related Difficulties: The authors suggest exploring more user-friendly tools, similar to the RISC-V Online Tutor, to address potential tool-related challenges.
- Diverse Content: Future work could explore incorporating other Comp-Arch topics, such as pipelining, within this project-based framework while maintaining student motivation.
Summary updated