Project 4


    Project 4 - Computer Architecture

In this part of the course you will have to read chapter 4 of the book (Computer Architecture), after reading the chapter you will have to read the following instructions to be able to implement project 4.

Instructions

Objective: Build the overall computer architecture, using the combinational and sequential chips built in previous projects.

Each chip in this project is specified by a skeletal *.hdl program with a missing implementation part.  In addition, each chip is accompanied by a supplied *.tst script file that tells the hardware simulator how to test it, and a supplied *.cmp file that lists the expected output of the *.hdl program and *.bin files (input for the Computer chip), as mandated by the *.tst script file.  All these files are available in a single zip file, which you should download to your computer (explained below).

The contract: when loaded into the hardware simulator, your chip design (*.hdl program modified by you), tested on the script specified in the supplied *.tst file, should deliver the behavior specified in the supplied *.cmp file.  If that is not the case, the simulator will let you know.

Build the following gates, using solely previously-built gates.  

Chip(HDL) Function Test Scripts Compare Files

CPU

Memory

Computer

 

Central Processig Unit.

Complete memory unit.

Complete computer (CPU, RAM,ROM, and I/O units)

 

 

CPU.tst 

Memory.tst 

ComputerAdd.tst

 

ComputerMax.tst  

 

ComputerRect.tst

 

 

CPU.cmp

Memory.cmp

ComputerAdd.cmp

add.bin

ComputerMax.cmp

max.bin

ComputerRect.cmp

rect.bin

 

 

Resources

  • project4.zip  (download): Extract to an empty directory, and keep the default directory structure as is.

  • Chapter 4 of the book - "Computer Architecture". 

  • Appendix A - HDL.

  • Appendix B - Test Script Language.

  • Hardware Simulator Tutorial ( PPT,Software)

  • Guidelines for submitting.

  • Submission is done through the Administratives page.