June 12, 2005
June 12, 2005
June 15, 2005
10.54.1 - 10.54.9
A Microprogrammable Simulator for Logic Design
Dick K. Blandford University of Evansville
A class in logic design is a mainstay of most electrical and computer engineering programs and is typically taught in the sophomore year. Such courses cover Boolean algebra, combinational and sequential logic design, logic circuit analysis, and programmable logic devices. Many also provide an introduction to register level design and computer architecture. This paper presents the details of a simulation program that allows students to write microinstructions and some machine code for a simple machine. The program presents an easy-to-use graphical user interface and has options for a two-level and three-level pipelined machine. The program is currently in use in a sophomore level course in logic design as a mechanism to illustrate how a computer works and to introduce computer architecture concepts.
Microprogramming is a concept dating back to the early 1950's1 and is widely used in the design of modern computers. The concept is easy to understand and presents a general solution to the control problem for a central processing unit. Students who understand how microprogramming works from a logical point of view have insight into the inner workings and magic of digital computer systems that is difficult to obtain otherwise. An animated simulation of a microprogrammed computer in which a user can "see" the bits interacting with the hardware provides a vehicle for teaching what microprogramming is all about. The software described in this paper runs under the Windows XP operating system and is used in several projects in a sophomore-level electrical engineering class on logic design. It allows students to microprogram a simulated 8-bit computer and to visualize such architectural features as pipelining, the stored program, and the arithmetic and logic unit (alu) loop.
II. Characteristics of the simulated machine
The simulated machine is loosely based on the Intel 8080 8-bit cpu that dates back to the mid seventies. This machine has roughly the same register set, accumulator-based architecture, and ALU functions. It is however, microprogrammed (the 8080 was not) and it can be used in a pipelined mode (the 8080 had no pipeline). The architectural features of the machine are as follows: • 16-bit address bus • 8-bit data bus
Proceedings of the 2005 American Society for Engineering Education Annual Conference & Exposition Copyright © 2005, American Society for Engineering Education
Blandford, D. (2005, June), A Micro Programmable Simulator For Logic Design Paper presented at 2005 Annual Conference, Portland, Oregon. 10.18260/1-2--14868
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: © 2005 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