Lec11 - ECE 212 Digital Circuits II Monday, 3 March 2008 HW...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1 ECE 212 Digital Circuits II Monday, 3 March 2008 HW Set 11: Problem 1 Laura P. Problem 2 Rob S. Problem 3 Sheena S. Problem 4 Dan S. Problem 5 Colin T. Problem 6 No Presenter Problem 7 Ben T. For Wednesday Today's Goals To make the transition from an FPGA to a microcontroller. To introduce the 68HC12 architecture.
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Programmable Stack Calculator Memory Addr. Data 0000 01101 0001 01011 0010 01110 0011 11010 0100 11001 0101 10011 . . . . . . Machine language. Add memory to hold the program. Specify the instruction format: X[4] X[3] X[2] X[1] X[0] The Controller must access the memory to run the program. (We also need a way to enter a program.) State Machine Data Path (Stack, Logic Unit) clock Controller Registers. Program Counter Address Instruction Register Contents Pgm D B E + LSR . . . do FOREVER { } Controller Algorithm Read an instruction from memory. Memory contents Instruction Register Increment the Program Counter. Decode the machine code. What location? Prepare for the next instruction fetch. Instruction fetch. Execute the instruction. Memory Addr. Data 0000 01101 0001 01011 0010 01110 . . . . . . Instruction Register Contents Program Counter Address State Machine Data Path (Stack, Logic Unit) clock Controller Program Counter tells you.
Background image of page 2
3 do FOREVER { } Controller Algorithm Read an instruction from memory. Memory contents Instruction Register Increment the Program Counter. Decode the machine code. R e m e m b e r t h i s ! ! What location? Prepare for the next instruction fetch. Execute the instruction. Memory Addr. Data 0000 01101 0001 01011 0010 01110 . . . . . . Instruction Register Contents Program Counter Address State Machine Data Path (Stack, Logic Unit) clock Controller Program Counter tells you. Instruction fetch. General Purpose Digital Computer Input/Output Central Processing Unit (CPU) We CANNOT change the Data Path hardware. We CAN use the fixed Data Path by
Background image of page 3

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

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/17/2008 for the course ECE 212 taught by Professor Greco during the Spring '08 term at Lafayette.

Page1 / 13

Lec11 - ECE 212 Digital Circuits II Monday, 3 March 2008 HW...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online