An object framework for teaching ALU component design in architecture courses

  • Authors:
  • Norman Neff;G. Sampath

  • Affiliations:
  • Department of Computer Science, The College of New Jersey, Ewing, N.J.;Department of Computer Science, The College of New Jersey, Ewing, N.J.

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

An object-based framework for teaching the design of ALU components in a computer architecture course is described. An object-oriented pseudocode description of the component's behavior is developed and then transformed into an implementation. The pseudocode represents subcomponents as objects, and relationships between subcomponents as constraint sets. A hardware implementation of the pseudocode is created by mapping objects to subcomponents and constraints to connections, and by a standard hardware implementation of the pseudocode program counter. In many applications, our framework gives to the hardware design process desirable characteristics of object-oriented software design: modularity, hierarchical design, and control over the level of abstraction. Our pseudocode notation makes explicit some of the underlying "intuition" guiding the design process. In the software realm we all teach students to create code only after completing a thorough design phase. Our approach to hardware design similarly shifts much of the process from the lab to an earlier, language-based design stage.