23_architecture - 4/23/08 The TOY Machine 6.5 TOY Machine...

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

View Full Document Right Arrow Icon
4/23/08 Copyright 2000, Kevin Wayne 1 Introduction to Computer Science Robert Sedgewick and Kevin Wayne Copyright © 2005 http://www.cs.Princeton.EDU/IntroCS 6.5 TOY Machine Architecture 2 The TOY Machine Combinational circuits. ALU. Sequential circuits. Memory. Machine architecture. Wire components together to make computer. TOY machine. 256 16-bit words of memory. 16 16-bit registers. 1 8-bit program counter. 16 instruction types. TOY-Lite machine. 16 10-bit words of memory. 4 10-bit registers. 1 4-bit program counter. 16 instruction types. Fetch 3 How To Design a Device How to design a device. Design interface: input buses, output buses, control wires. Determine major components. Determine datapath requirements: "flow" of bits. Establish sequencing of control. Goal. Design TOY-Lite computer. Warmup. Design a program counter. 4 Build a Counter: Interface Counter. Holds value that represents a binary number. Load: set value from input bus. Increment: add one to value. Value doesn't change until write enable is asserted. Ex. TOY-Lite program counter (4-bit).
Background image of page 1

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

View Full DocumentRight Arrow Icon
4/23/08 Copyright 2000, Kevin Wayne 2 5 Build a Counter: Identify Components Components. Register. Incrementer. Challenge: needs connections to two different inputs. Multiplexer. Combinational circuit that selects among input buses. Exactly one select line i is activated. Copies bits from input bus i to output bus. load and increment 6 Build a Counter: Identify Components Components.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/21/2009 for the course COMPUTER computer 1 taught by Professor Abedauthman during the Fall '08 term at Aarhus Universitet.

Page1 / 8

23_architecture - 4/23/08 The TOY Machine 6.5 TOY Machine...

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

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