{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lec_06_datapath_and_control_4_spr08_s

lec_06_datapath_and_control_4_spr08_s - Lecture 6...

Info icon This preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon
EE-449 Lec. 06 of 41 Lecture 6 – Multicycle Datapath & Control EE-449 Computer Organization Spring 2008 Salvador Fallorina CSULA 04-14-08 1 Fallorina | CSULA
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
EE-449 Lec. 06 of 41 Review: Extending the Datapath & Control Fallorina | CSULA 2 Instr. O p5 O p 4 O p 3 O p 2 O p 1 O p 0 RegDst ALUSrc Memto- Reg RegWrite Mem Read Mem Write Branch ALUOp 1 ALUOp 0 R- format 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 lw 1 0 0 0 1 1 0 1 1 1 1 0 0 0 0 sw 1 0 1 0 1 1 X 1 X 0 0 1 0 0 0 beq 0 0 0 1 0 0 X 0 X 0 0 0 1 0 1 Each instruction generates one set of outputs for the entire execution cycle Each instruction generates a sequence of outputs from each cycle of the execution
Image of page 2
EE-449 Lec. 06 of 41 Fallorina | CSULA 3 Instr. O p 5 O p 4 O p 3 O p 2 O p 1 O p 0 RegDst ALUSrc Memto- Reg RegWrit e Mem Read Mem Write Branch ALUOp 1 ALUO p0 R- format 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 lw 1 0 0 0 1 1 0 1 1 1 1 0 0 0 0 sw 1 0 1 0 1 1 X 1 X 0 0 1 0 0 0 beq 0 0 0 1 0 0 X 0 X 0 0 0 1 0 1 Review: Extending the Datapath & Control
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
EE-449 Lec. 06 of 41 Fallorina | CSULA 4 Instr. O p 5 O p 4 O p 3 O p 2 O p 1 O p 0 RegDst ALUSr c Memto- Reg RegWrit e Mem Read Mem Write Branc h ALUOp 1 ALUO p0 New  Ctrl  Out R- format 0 0 0 0 0 0 1 0 0 1 0 0 0 1 0 1 lw 1 0 0 0 1 1 0 1 1 1 1 0 0 0 0 0 sw 1 0 1 0 1 1 X 1 X 0 0 1 0 0 0 1 beq 0 0 0 1 0 0 X 0 X 0 0 0 1 0 1 0 new 0 1 1 1 1 1 1 0 1 0 1 0 1 0 1 0 Each new instructions add a row to the truth table (may need to add minterms to the existing output functions) Each new control signal add a column to the truth table (need new output function) New control signals may need to be added to appropriate states New instructions add states to the FSM New = 0 New = 1 Review: Extending the Datapath & Control
Image of page 4
EE-449 Lec. 06 of 41 examples Fallorina | CSULA 5
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
EE-449 Lec. 06 of 41 FSM Control Implementation Fallorina | CSULA 6 FSM Diagram PLA  or ROM
Image of page 6
EE-449 Lec. 06 of 41 Mealy - Outputs are functions of both the present state and inputs -The Next States are a function of both the present state and inputs - Circuit block diagram: -Notation: Moore -Outputs are functions of present state only -The Next States are a function of both the present state and inputs -Circuit block diagram: - Notation: FSM: Mealy & Moore Models Fallorina | CSULA 7 We’re using this model Present State 00 Input X Next State 01 Output Y
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
EE-449 Lec. 06 of 41 Fallorina | CSULA 8 Deriving Output Functions • Output depends only on present state • Therefore, output function = states where output is asserted (i.e. “1”) Shortcut:
Image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern