Tutorials

  1. ALU design (lab)
  2. CPU design (lab)
  3. Assembly for MC68332 (lab)
  4. C programming:
    Servo control
    (lab)
  5. Sensors and LCD ouput (lab)
  6. DC motor control (lab)
  7. Position control of differential-drive (lab)
  8. PSD, electromagnet (lab)
  9. Camera interface (lab)
  10. Image processing (lab)
  11. Final project (lab)
  12. Review

Embedded Systems 620.220

Tutorial 2: Central Processing Unit (CPU) Design

Introduction

This tutorial will show how to design a basic central processing unit (CPU). To simulate the operation of the CPU, the progam ReTrO will be used.

Von Neumann Architecture

The von Neumann architecture, named after its creator John von Neumann, is the basic model for a programmable, digital computer. Since its creation in 1945, this model has remained relatively stable and is still the basis for many microprocessors and microcontrollers.

von Neumann computer architecture

The two fundamental ideas put forth by von Neumann were

    1. The selection of the next instruction may depend on a result computed by the arithmetic unit.
    2. Data store and instruction store are the same.

These two innovations transformed computing machines from inflexible state machines, which could only follow one predetermined program execution, to flexible computers whose current state and inputs control the program flow. With a von Neumann computer, it is possible to create a program (i.e. an infinite loop) which would be impossible to run on earlier architectures such as the Babbage Analytical Engine.

 

  example CPU's

Questions? Email Josh Petitt

last updated January 29, 2003 - © University of Western Australia