Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP 2610 1.

Slides:



Advertisements
Similar presentations
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Advertisements

The LC-3 – Chapter 5 COMP 2620 Dr. James Money COMP 2620.
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
Overview Logic Combinational Logic Sequential Logic Storage Devices SR Flip-Flops D Flip Flops JK Flip Flops Registers Addressing Computer Memory.
Representing Information as Bit Patterns Lecture 4 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Overview Recall Combinational Logic Sequential Logic Storage Devices
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Chapter 1 Data Storage. 2 Chapter 1: Data Storage 1.1 Bits and Their Storage 1.2 Main Memory 1.3 Mass Storage 1.4 Representing Information as Bit Patterns.
Implementation of a Stored Program Computer
Chapter 1 Data Storage(1) Yonsei University 1 st Semester, 2015 Sanghyun Park.
Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture.
Bits and Data Storage. Basic Hardware Units of a Computer.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Building Functions.
EKT 221 Digital Electronics II
The von Neumann Model – Chapter 4 COMP 2620 Dr. James Money COMP
Introduction to Computing Systems from bits & gates to C & beyond Chapter 3 Digital Logic Structures Transistors Logic gates & Boolean logic Combinational.
Microprocessor Address Decoding.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 3 Digital Logic Structures Transistors Logic gates & Boolean logic Combinational.
Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB.
EKT 221 : Digital 2 Memory Basics
Introduction to Computing Systems from bits & gates to C & beyond Chapter 4 The Von Neumann Model Basic components Instruction processing.
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Combinational vs.
Digital Logic Structures MOS transistors logic gates functional units of a computer.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
The von Neumann Model – Chapter 4
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
Introduction to Computer Engineering ECE/CS 252, Fall 2010 Prof. Mikko Lipasti Department of Electrical and Computer Engineering University of Wisconsin.
COMP 1321 Digital Infrastructure Richard Henson University of Worcester October 2013.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Chapter 1 Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Introduction to Computing Systems from bits & gates to C & beyond Chapter 4 The Von Neumann Model Basic components Instruction processing.
Chapter 3 Digital Logic Structures. 3-2 Combinational vs. Sequential Combinational Circuit always gives the same output for a given set of inputs  ex:
1 Control Unit Operation and Microprogramming Chap 16 & 17 of CO&A Dr. Farag.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Electronic Analog Computer Dr. Amin Danial Asham by.
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP
Chapter 3 Digital Logic Structures. Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 3-2 Transistor: Building.
Data Storage © 2007 Pearson Addison-Wesley. All rights reserved.
Introduction to Computing Systems and Programming Digital Logic Structures.
Chapter 4 The Von Neumann Model
Designing a CPU –Reading a programs instruction from memory –Decoding the instruction –Executing the instruction –Transferring Data to/From memory / IO.
Computer Network Architecture Lecture 9: IP Addressing 13/1/
Lecture 9 Design of the Computer Instruction Set and the CPU Presented By Dr. Shazzad Hosain Asst. Prof. EECS, NSU.
Address alignment When a word (4-bytes) is loaded or stored the memory address must be a multiple of four. This is called an alignment restriction. Addresses.
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Logic Gates Dr.Ahmed Bayoumi Dr.Shady Elmashad. Objectives  Identify the basic gates and describe the behavior of each  Combine basic gates into circuits.
Lecture 14 State Machines II Topics State Machine Design Resolution with Text Design with D flip-flops Design with JK Readings: Chapter 7 November 11,
نظام المحاضرات الالكترونينظام المحاضرات الالكتروني System buses.
ECE Fall G. Byrd1 Register A register stores a multi-bit value. We use a collection of D-latches, all controlled by a common WE. When WE=1,
Appendix B The Basics of Logic Design
Chapter 1: Data Storage.
Computer Science 210 Computer Organization
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Dr. Rabie A. Ramadan Al-Azhar University Lecture 5
Computer Science 210 Computer Organization
REGISTER TRANSFER LANGUAGE AND DESIGN OF CONTROL UNIT
Chapter 1 Data Storage.
EE345: Introduction to Microcontrollers Memory
Computer Science 210 Computer Organization
Digital Logic Structures Logic gates & Boolean logic
Data Representation Bits
Topic 6 LC-3.
The Von Neumann Model Basic components Instruction processing
Recent from Dr. Dan Lo regarding 12/11/17 Dept Exam
ECE 352 Digital System Fundamentals
Presentation transcript:

Digital Logic Structures: Chapter 3 COMP 2610 Dr. James Money COMP

Gated D Latch Two inputs: D (data) and WE (write enable) – when WE = 1, latch is set to value of D S = NOT(D), R = D – when WE = 0, latch holds previous value S = R = 1

Register As we have seen before, it is usually convenient to work in quantities of more than one bit at a time Many times, we use 16 bits such as on the LC-3 computer We want to store and read these as self contained units

Register Let us consider an example, for simplicity, of a 4 bit register The four bit value stored in the register is Q 3, Q 2, Q 1, Q 0 The value D 3, D 2, D 1, and D 0 can be written if WE is asserted

Register

A common shorthand notation is to describe a sequence of bits that are numbered as above as Q[3:0] Each bit is assigned it’s own number The rightmost bit is bit [0] and the leftmost is bit [n-1] for n bits

Register Consider the 16 bit pattern Bit [15] is 0, bit [14] is 0, bit [13] is 1, and so on Bit [0] is 0, bit [1] is 1, and bit [2] is 1

Register We can also designate a subunit of the pattern by Q[l:r], where l is the leftmost bit and r is the rightmost bit We call such a unit a field

Register If A[15:0] is our example before of Then, – A[15:12] is 0011 – A[13:7] is – A[2:0] is 110 – A[1:1] is 1

Register Note that the numbering scheme from right to left is arbitrary We could of course number left to right In many cases, we use right to left in practice

Concept of Memory We now have all the tools to describe memory on a computer Memory is made up of a large number of locations, each uniquely identifiable Each location can store a value

Concept of Memory The unique identifier of each memory location is called an address We refer to the number of bits stored at each address as its addressability You might have 16MB of memory This means there is 16 million addresses(in base 2 at least) and each address is 8 bits

Address Space We refer to the total number of address as the memory’s address space With n bits for an address, we can have up to 2 n locations 16MB = 16 * (1024)*1024 = 2 24 bytes

Addressability The addressability is the number of bits stored at each address In our example before, the addressability was 8 bits or 1 byte Most computers are byte addressable for historic reasons

A 2 2 -by-3-bit Memory In the example, the memory has an address space of 4 locations and addressability of 3 bits Accessing memory requires decoding the address bits The address decoder takes A[1:0] and asserts one line

A 2 2 -by-3-bit Memory We say the word line is being addresses in this example Each row is a word line Memory can be read by using the correct value for A[1:0]