- 1、本文档共31页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Computer Organization and Architecture
Course Design
Microprogrammed CPU Design
School of Information Science and Engineering
Southeast University
2012-04-07
CONTENTS
1. Purpose 2
2. Tasks 2
2.1 Instruction Set 2
Table 1 List of instructions and relevant opcodes
2.2 Internal Registers and Memory 3
2.3 ALU 3
Table 2 ALU Operations
2.4 Microprogrammed Control Unit 4
Table 3 The meaning of each bit of the microinstruction
Table 4 The Sequence of Microinstructions(appendix)
Table 5 The meaning of each bit of the 8-bit flag.
3. Top-Level Structure 6
3.1 Symbols of internal registers ,ALU,CU and memory 6
3.2 Top-Level Structure of CPU 7
4. The Simulation Input Waveforms 10
5. Test 9
Test problem 1: test LOAD, STORE, AND, SHR, SHL, SAR, SAL 9
Table 7 Test of program of problem 1
Test problem 2: test SUB, ADD, JMPGEZ, HALT 11
Table 8 Test of program to calculate 1+2+……100
Test problem 3: test JMP,MPY, OR,NOT 13
Table 9 Test of program to calculate ((543-800)3)OR((543 +125)),not 543
6. Conclusions and Discussions 16
7. Appendix 17
Microprogrammed CPU Design
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.
2. Tasks:
At least four parts constitute a simple CPU: the instruction set, the internal registers, the ALU and the control unit.
2.1 Instruction Set
Single-address instruction format is used in my simple CPU design. The instruction word contains two sections: the operation code (opcode), which defines the function of instructions (addition, subtraction, logic operations, etc.); the address part, in most instructions, the address part contains the memo
文档评论(0)