Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS (2010-2014) School of Computing, UNF.

Slides:



Advertisements
Similar presentations
MEMORY popo.
Advertisements

RAM (RANDOM ACCESS MEMORY)
Memory Section 7.2. Types of Memories Definitions – Write: store new information into memory – Read: transfer stored information out of memory Random-Access.
Memory Basics. 8-1 Memory definitions Memory is a collection of cells capable of storing binary information. Two types of memory: –Random-Access Memory.
MOHD. YAMANI IDRIS/ NOORZAILY MOHAMED NOOR 1 Sequential Circuit: Register Introduction N-bit register contains n flip-flop and several logic gates and.
Chapter 9 Memory Basics Henry Hexmoor1. 2 Memory Definitions  Memory ─ A collection of storage cells together with the necessary circuits to transfer.
ENGIN112 L30: Random Access Memory November 14, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 30 Random Access Memory (RAM)
Memory and Programmable Logic
1 Lecture 16B Memories. 2 Memories in General Computers have mostly RAM ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Overview Memory definitions Random Access Memory (RAM)
Overview Recall Combinational Logic Sequential Logic Storage Devices
Registers  Flip-flops are available in a variety of configurations. A simple one with two independent D flip-flops with clear and preset signals is illustrated.
CS 151 Digital Systems Design Lecture 30 Random Access Memory (RAM)
Memory Devices Wen-Hung Liao, Ph.D..
CENG 241 Digital Design 1 Lecture 12
Memory Key component of a computer system is its memory system to store programs and data. ITCS 3181 Logic and Computer Systems 2014 B. Wilkinson Slides12.ppt.
1 Lecture 16B Memories. 2 Memories in General RAM - the predominant memory ROM (or equivalent) needed to boot ROM is in same class as Programmable Logic.
Chapter 8 Memory Basics ( 메모리 기초 ) 8-1 Memory 의 정의 8-2 RAM 8-3 SRAM IC ( 집적회로 ) 8-4 SRAM IC 의 배열 8-5 DRAM IC 8-6 DRAM 유형 8-7 SRAM IC 의 배열.
Basic Computer Organization CH-4 Richard Gomez 6/14/01 Computer Science Quote: John Von Neumann If people do not believe that mathematics is simple, it.
Chapter 6 Memory and Programmable Logic Devices
Physical Memory and Physical Addressing By: Preeti Mudda Prof: Dr. Sin-Min Lee CS147 Computer Organization and Architecture.
CS1104-8Memory1 CS1104: Computer Organisation Lecture 8: Memory
MEMORY.
EKT 221 Digital Electronics II
Memory Basics Chapter 8.
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 27.1 Implementing Digital Systems  Introduction  Semiconductor Memory 
Memory and Programmable Logic
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
EKT 221 : Digital 2 Memory Basics
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 9 – Part 1.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
Memory and Storage Dr. Rebhi S. Baraka
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use ECE/CS 352: Digital Systems.
Memory System Unit-IV 4/24/2017 Unit-4 : Memory System.
CPEN Digital System Design
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
ECE DIGITAL LOGIC DESIGN CHAPTER – VI PART 2 PLA AND MEMORY DEVICES
Memory Cell Operation.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits II.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 6 – Part 2 Tom Kaminski & Charles.
Memory Devices 1. Memory concepts 2. RAMs 3. ROMs 4. Memory expansion & address decoding applications 5. Magnetic and Optical Storage.
Random Access Memory (RAM).  A memory unit stores binary information in groups of bits called words.  The data consists of n lines (for n-bit words).
Wnopp Memory device Introduction n Memory Cell n Memory Word n Byte n Capacity n Address n Read Operation n Write Operation n Access Time n Volatile.
Digital Circuits Introduction Memory information storage a collection of cells store binary information RAM – Random-Access Memory read operation.
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 8 – Memory Basics Logic and Computer Design.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 22 Memory Definitions Memory ─ A collection of storage cells together with the necessary.
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
07/11/2005 Register File Design and Memory Design Presentation E CSE : Introduction to Computer Architecture Slides by Gojko Babić.
Cpe 252: Computer Organization1 Lo’ai Tawalbeh Lecture #3 Flip-Flops, Registers, Shift registers, Counters, Memory 3/3/2005.
Gunjeet Kaur Dronacharya Group of Institutions. Outline I Random-Access Memory Memory Decoding Error Detection and Correction Read-Only Memory Programmable.
RAM RAM - random access memory RAM (pronounced ramm) random access memory, a type of computer memory that can be accessed randomly;
Chapter 7 Memory and Programmable Logic
1 Chap 6. Memory and Programmable Devices Memory & Programmable Logic Device Definitions Memory –a collection of cells capable of storing binary.
CENG 241 Digital Design 1 Lecture 13
Memory and Programmable Logic
Module IV Memory Organization.
Electronics Technology
EE345: Introduction to Microcontrollers Memory
Subject Name: Embedded system Design Subject Code: 10EC74
Module IV Memory Organization.
Digital Logic & Design Dr. Waseem Ikram Lecture 40.
Introduction to Computing Chapter 0
Chapter 7 Memory and Programmable Logic
Memory Basics Chapter 8.
Princess Sumaya University
Memory Basics Chapter 7.
Presentation transcript:

Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF

Logic Gates

Registers and Counters A register is a set of flips-flops (ffs) with each ff capable of storing one bit of information. An n-bit register is built from n-ffs and stores n-bits of data.

4-bit Register with Parallel Load having clock skew due to clock gating

4-bit Register with Parallel Load

Shift Register

Shift Register with Parallel Load

Bidirectional Shift Register with Parallel Load

Ripple and Synchronous Counters

4-Bit Ripple Counter

4-Bit Binary Ripple Counter with T-FFs

Memory and Programmable Logic Devices Memory is a collection of binary storage cells together with associated circuits needed to transfer information into and out of the cells. Two memory types: 1. RAM Supports read and write operations Volatile 2. ROM Supports only read operations Non-volatile A PLD is an integrated circuit (IC) with internal logic gates/connections that can be changed in some way by a programming process. E.g. having fuses. A PLD may have 100s to millions of gates.

Programmable Logic Devices (PLD) A PLD is an integrated circuit (IC) with internal logic gates/connections that can be changed in some way by a programming process (e.g. having fuses). A PLD may have 100’s to millions of gates.

Block Diagram of Memory Binary information is stored in groups of bits called words. 8-bit word is a byte; 16-bit word has 2 bytes; 32-bit word has 4-bytes Each word is assigned an address. Addresses range from 0 to 2 k -1 where k is the number of address lines.

Memory: Write and Read Operations Steps for Write: 1. Apply binary address of desired word to the address lines. 2. Apply the data bits that must be stored in memory to the data input lines. 3. Activate the Write input. Steps for Read: 1. Apply binary address of desired word to the address lines. 2. Activate the Read input. Memory is made up of RAM ICs plus additional logic circuits. Most RAM ICs have two control inputs: 1. A Chip Select (CS) that selects the chip to be read from/written to. 2. A Read/Write to determine the particular operation.

Memory: Access Time and Write Cycle Time Access Time of a memory read operation is the maximum time from the application of the address to the appearance of the data at the data output lines. Write Cycle Time is the maximum time from the application of the address to the completion of all internal memory operations required to store a word. The number of clock pulses required for a memory request is the integer value greater than or equal to the maximum of the access time and the write cycle time, divided by the clock period. Number of clock pulses = maximum (access time, write cycle time) cycle period Example: For a CPU clock frequency of 50 MHz, the period = 1 / 50 x 10 6 = 20 nseconds For a memory access time = 65 nseconds and memory write cycle time = 75 nseconds, maximum (75, 65) = nseconds = 4 clock pulses devoted to each memory request. 20 nseconds

Memory: SRAM vs DRAM RAM ICs can be either static or dynamic. SRAM consists of internal flip-flops that store the binary information. The stored information remains valid as long as power is applied to the RAM. DRAM stores binary information in the form of electric charges on capacitors. The stored charge tends to discharge with time, and the capacitors must be periodically recharged by refreshing the DRAM. Advantages of DRAM: 1. Reduced power consumption 2. Larger storage capacity in a single memory chip (roughly 3 times of SRAM), 3. Cheaper (less than 1/3 rd of cost/bit of SRAM) 4. Used in main memory Advantages of SRAM: 1. Has shorter read/write cycles, i.e. is faster 2. No refresh required for SRAM 3. Used in cache memory 4. Easier to user

Memory: RAM ICs Internally a RAM chip of m words and n bits/word has an array of mn binary storage cells and circuitry. The circuitry is made of decoders to select the word, read circuits, write circuits and output logic.

Static RAM Cell

Array of RAM ICs

PLDs

ROM (size 32 x 8): has 5:32 decoder and 8 OR gates Each OR gate has 32 programmable connections and there are 8 OR gates for a total of 32 x 8 = 256 programmable connections (fuses). In general, a 2 k x n ROM has a k:2 k decoder and n OR gates each with 2 k inputs connected via fuses to the 2 k outputs of the decoder.

Programmable Logic Array (PLA) F1 = AB + AC + ABC F2 = AC + BC

PLA Implement the following two Boolean functions with a PLA. F1 (A,B,C) = ∑m (0, 1, 2, 4) F2 (A,B,C) = ∑m (0, 5, 6, 7)

Programmable Array Logic (PAL)