Presentation is loading. Please wait.

Presentation is loading. Please wait.

Ch. 10 Central Processing Unit Designs - CISC. Two CPU designs CISC –Non-pipelined datapath with a micro- programmed control unit RISC –Pipelined datapath.

Similar presentations


Presentation on theme: "Ch. 10 Central Processing Unit Designs - CISC. Two CPU designs CISC –Non-pipelined datapath with a micro- programmed control unit RISC –Pipelined datapath."— Presentation transcript:

1 Ch. 10 Central Processing Unit Designs - CISC

2 Two CPU designs CISC –Non-pipelined datapath with a micro- programmed control unit RISC –Pipelined datapath with a hardwired pipelined control unit

3 The Complex Instruction Set Computer Instruction set architecture –Memory-to-memory access for data manipulation –8 addressing modes –Two instruction format lengths –Instruction with many operations Datapath –Non-pipelined Control unit –Microprogrammed control

4 Register Set 0

5

6 Instruction Formats # of operands determine the addr. of operands amount of shifts New addr. placed in PC

7 Addressing Modes offset S=0: SRC uses addressing mode S=1: DST uses addressing mode

8 Datapath Organization modification

9 Register file R0~R7: User accessible registers R8~R15: temporary storage for use by microprogram R12~R15: registers for specifying standard locations

10 B addr. : for source A A,D addr. : for source B or destination

11 Modification to Shifter Modification for arithmetic shift and rotate operations Sign bit Logical shift Arithmetic shift Rotate: circular shift 0 0 s 3 s 2 s 1 s 0

12 PC, SP PSR Memory Through Bus D Through MUX A, Bus A Through MUX B, Bus B Datapath Microstatus register - store PSR values for microprogram level - cf) PSR register: for program level

13 Microprogrammed Control Design Sequencing –Microsequencer Next-address generator + control address register (CAR) SBR: subroutine branch register Micro-routine –Subroutine for microprogram Single-level cf) multi-level call in program level –SBR Store the next address for CAR at the time a micro- subroutine is entered.

14

15 Microinstruction Formats Format A: data transfer, manipulation decode instruction return from microsubroutine Format B: change the flow of the microprogram (branches and microsubroutine call) To datapath

16 Microinstruction Formats Related to “carry” Zero-filled constant from SB field

17 Microinstruction Formats Opcode  Instruction decoder  CAR

18 Microinstruction Formats

19 Microsequencer Q) When is SBR loaded with CAR++? Branch (MC=11)  prevent the writing of register file

20 Microinstruction Formats MM field –Define which field of instruction is involved in determining the addr. Provided MR field –Provide distinct sets of addresses for the same IR fields 5 4 3 2 1 0

21 Microinstruction Formats MR : region 구분 1regin: 64 addresses

22 Microinstruction Formats

23 Microprogram Structure

24

25

26

27

28

29

30

31

32

33


Download ppt "Ch. 10 Central Processing Unit Designs - CISC. Two CPU designs CISC –Non-pipelined datapath with a micro- programmed control unit RISC –Pipelined datapath."

Similar presentations


Ads by Google