June 24, 2007
June 24, 2007
June 27, 2007
Computers in Education
12.1588.1 - 12.1588.16
VHDL Projects to Reinforce Computer Architecture Classroom Instruction
Exploration of various computer architecture constructs needs reinforcement beyond pencil and paper homework problems. Unfortunately, laboratory exercises based on microprocessor trainers are limited to a single architecture and a resolution of single assembly language instructions. A hardware description language, such as VHDL, can be used to provide simulation-based application of the classroom instruction regardless of the course text. Models of computer components such as registers, memory, and ALUs can be readily defined to match textbook examples and then combined to demonstrate multiple architectural concepts. Students with basic knowledge of VHDL from their prerequisite digital logic course are able to modify and use these models to simulate computer behavior at the register transfer level with data and control signal visibility at each clock cycle.
A program of instruction has been developed that uses VHDL homework exercises and a capstone design project to provide hands-on application of course concepts using modern design tools. Exercises include addressing modes, microprogrammed control, and computer arithmetic. The design project models a multi-bus architecture and hardwired control unit from the text to implement a basic instruction set. An example assembly language program can be loaded into memory and executed in simulation on the model computer. Results are verified by monitoring control signals, buses, and registers, as well as final dumps of memory and register contents.
Student feedback has been very positive that the VHDL exercises provided reinforcement of classroom concepts and allowed them to visualize results via simulation. Over two-thirds of the students were able to implement a completely functional design project computer model which successfully executed the test program. The methodology was to combine/modify instructor provided VHDL models, rather than turning the course into a “programming” class. This kept the focus on “hardware description” and did not rely on coverage of the language by the course text. The resulting combination of textbook and classroom instruction with VHDL modeling and simulation exercises provided students with a more robust learning experience and exposure to state-of-the-art design tools.
Teaching computer architecture effectively requires reinforcement beyond pencil and paper homework problems. Some form of hands-on laboratory exercises are desirable to provide practical observation of the classroom constructs. Microprocessor trainers are one option, but unless investment is made in multiple systems, exercises are limited to a single architecture. With a resolution of single assembly language instructions, the focus often shifts to assembly language programming of the target architecture, rather than allowing exploration of various computer architecture concepts.
Hayne, R. (2007, June), Vhdl Projects To Reinforce Computer Architecture Classroom Instruction Paper presented at 2007 Annual Conference & Exposition, Honolulu, Hawaii. 10.18260/1-2--1676
ASEE holds the copyright on this document. It may be read by the public free of charge. Authors may archive their work on personal websites or in institutional repositories with the following citation: © 2007 American Society for Engineering Education. Other scholars may excerpt or quote from these materials with the same citation. When excerpting or quoting from Conference Proceedings, authors should, in addition to noting the ASEE copyright, list all the original authors and their institutions and name the host city of the conference. - Last updated April 1, 2015