计算机组成原理之CPU原理
LABORATORY REPORT
Microprogrammed CPU Design
Course Name: Computer Structure and Architecture
Page 1 of 21
Contents
1. Purpose……………………………………………………………… (3)
2. Task Requirements……………………………………………… (3)
3. Instruction Set Design……………………………………………(4)
4. ROM/RAM Design…………………………………………………(7)
5. Control Unit Design………………………………………………(10)
6. Description of Simulated Wave Forms……………………(11)
7. Simulation Results………………………………………………(11)
8. Conclusions and Discussions…………………………… ……(13)
9. Appendix……………………………………………………………(14)
Page 2 of 21
1. Purpose:
The purpose of this project is to design a simple CPU (Central Processing
Unit). This CPU has basic instruction set, and we will utilize its instruction set to
generate a very simple program to verify its performance. For simplicity, we will
only consider the relationship among the CPU, registers, memory and
instruction set. That is to say we only need consider the following items:
Read/Write Registers, Read/Write Memory and Execute the instructions.
At least four parts constitute a simple CPU: the control unit, the
internal registers, the ALU and instruction set, which are the main
aspects of our project design and will be studied.
2. Task Requirements:
(1)Altera’s MAX+plus II EDA tool is recommended and provided for design
work and simulation.
(2)Finish the instruction set of this simple CPU, given as follows:
(3)Finish the control unit, internal registers and ALU .
(4)Finish a ROM to store the source program with instruction sets and a
RAM to store the result of the program output.
Page 3 of 21
3. Instruction Set Design
Single-address instruction format is used in our simple CPU design. The
ins