Design of 4-Bit Cpu

 Design of 4-Bit Cpu Research Paper

Designing a 4-bit Computer

For submitting to Mr. Manoj Ghimire

Kishor Adhikari(063bex416) Priya Agrawal(063bex425) Sanuj Shakya(063bex433)| 5/11/2010

Items

Introduction2

Preliminary Block Diagram2

Instructions to be Implemented3

Decoder section4

Timing Section5

Tour bus Control5

four bit BAUXITE AND COMPLEMENTER6

Executions6

Control Logic10

Introduction

A computer style is the hardware design procedure of a computer on the basis of the specifications necessary i. electronic. the recommendations to be maintained the computer. It provides the determination of what hardware must be used and just how the parts must be interconnected for the pc to operate because intended.

This kind of report consists of a brief debate on the design procedure of the very basic pc organization. The look has been completed while an project for the course Computer system Architecture and Design and has been published to our lecturer Manoj Ghimire.

The design method is as comes after.

Initial Stop Diagram

I want to consider a obstruct diagram for a 4 little computer since shown listed below. It will have 4 registers A, B, C and M, an type register, an output sign-up, two temporary registers X and Con, carry bit register E, an ALUMINE and a bus, all 4 bits(except E which can be of a one bit). It will likewise contain Bus Control, Control Logic and a Sequence Counter (SC). Series Counter

Register1 (A)

Register2 (B)

Register3 (C)

Register4 (D)

OUTR

INPR

Shuttle bus Control

ALU

X

Sumado a

Control Common sense

IR

Ex girlfriend or boyfriend

Control Alerts

Inputs

T0

T3

E

Fig. you: Block Plan for Style Initialization

Guidelines to be Implemented

1 .

2 . Input to A, W, C, D:

LDA, LDB, LDC, LDD

3. Move to A:

a. MOV A, B

b. MOV A, C

c. MOV A, D

some. Move to W:

d. MOV B, A

e. PORT B, C

f. MOV B, D

5. Proceed to C:

g. MOV C, A

they would. MOV C, B

i actually. MOV C, D

six. Move to M:

j. PORT D, A

k. PORT D, N

l. PORT D, C

7. Increase A:

meters. ADD A, W

n. PUT IN A, C

um. ADD A, Deb

8. Enhance B:

s. ADD N, A

queen. ADD W, C

3rd there’s r. ADD W, D

being unfaithful. Add to C:

s. ADD C, A

t. PUT C, N

u. PUT C, Deb

10. Increase D:

sixth is v. ADD D, A

watts. ADD D, B

times. ADD D, C

eleven. Add to A with take:

y. ADC A, B

z. ADC A, C

. ADC A, D

12. Add to B with carry :

. ADC B, C

~. ADC B, D

13. Enhance C with carry:

. ADC C, A

пїЅ. ADC C, B

пїЅ. ADC C, D

13. Add to D with bring:

пїЅ. ADC D, A

пїЅ. ADC D, N

пїЅ. ADC D, C

15. Take away from A:

пїЅ. SUB A, M

пїЅ. SUB A, C

пїЅ. SUB A, D

16. Take away from W:

пїЅ. BASS SPEAKER B, A

пїЅ. BASS SPEAKER B, C

пїЅ. SUBWOOFER B, G

17. Subtract from C:

пїЅ. SUB C, A

пїЅ. SUBWOOFER C, W

пїЅ. BASS SPEAKER C, G

18. Take away from M:

пїЅ. SUBWOOFER D, A

пїЅ. SUB D, N

пїЅ. SUB D, C

19. Take away from A with acquire:

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN A, B

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN A, C

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN A, M

20. Subtract from N with acquire:

пїЅ. SBB B, A

пїЅ. SBB B, C

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN B, Deb

21. Subtract from C with borrow:

пїЅ. SBB C, A

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN C, M

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN C, M

22. Subtract from M with borrow:

пїЅ. SBB D, A

пїЅ. SCHWEIZERISCHE BUNDESBAHNEN D, W

пїЅ. SBB D, C

23. Put Immediate info:

ADI A, ADI B, ADI C, ADI D

twenty four. Add Immediate data with carry:

ACI A, ACI B, ACI C, ACI D

twenty-five. Subtract Immediate data via:

SUI A, SUI B, SUI C, SUI M

26. Subtract with get Immediate data from:

SBI A, SBI B, SBI C, SBI D

twenty seven. Increase:

INC A, INC B, INCORPORATION C, INCORPORATION D

28. Decrease:

DCR A, DCR B, DCR C, DCR D

29. Complement:

CMP A, CMP B, CMP C, CMP D

30. Out:

OUT A, OUT B, OUT C, AWAY D

23. No procedure: NOP

Decoder section

Seeing that we have an overall total of 30 different types of operations, we demand a minimum of your five...

Related