CENG 241 Digital Design 1 Lecture 12

Slides:



Advertisements
Similar presentations
Random-Access Memory (RAM)
Advertisements

Digital Design: Combinational Logic Blocks
Programmable Logic PAL, PLA.
Charles Kime & Thomas Kaminski © 2004 Pearson Education, Inc. Terms of Use (Hyperlinks are active in View Show mode) Terms of Use Chapter 3 – Combinational.
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
Chapter 7 Memory and Programmable Logic
Memory and Programmable Logic
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.

ECE 301 – Digital Electronics
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.
CS 151 Digital Systems Design Lecture 31 Read Only Memory (ROM)
Programmable Array Logic (PAL) Fixed OR array programmable AND array Fixed OR array programmable AND array Easy to program Easy to program Poor flexibility.
Chapter 6 Memory and Programmable Logic Devices
Read Only Memory (ROM) Number of words Size of word A block diagram of a ROM consisting of k inputs and n outputs is shown below. The inputs provide the.
Memory Basics Chapter 8.
Memory and Programmable Logic
Random-Access Memory (RAM)
Memory and Programmable Logic Dr. Ashraf Armoush © 2010 Dr. Ashraf Armoush.
Logic and Computer Design Dr. Sanjay P. Ahuja, Ph.D. FIS Distinguished Professor of CIS ( ) School of Computing, UNF.
CSET 4650 Field Programmable Logic Devices
Digital Electronics Chapter 7 Memory and Programmable Logic.
Memory and Programmable Logic Memory device: Device to which binary information is transferred for storage, and from which information is available for.
ROM & PLA Digital Logic And Computer Design
Programmable Logic Devices
CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES
Digital Logic Design Instructor: Kasım Sinan YILDIRIM
ECE DIGITAL LOGIC DESIGN CHAPTER – VI PART 2 PLA AND MEMORY DEVICES
1 Memory Design EE 208 – Logic Design Chapter 7 Sohaib Majzoub.
Princess Sumaya University
1 CSE370, Lecture 11 Lecture 11  Logistics  HW3 due now  Lab4 goes on as normal next week  Tuesday review 6pm, place TBD  Last lecture  "Switching-network"
Programmable Logic Devices (PLDs)
EE207: Digital Systems I, Semester I 2003/2004
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.
IC design options PLD (programmable logic device)
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.
CSET 4650 Field Programmable Logic Devices
Programmable logic devices. CS Digital LogicProgrammable Logic Device2 Outline PLAs PALs ROMs.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
CEC 220 Digital Circuit Design Decoders, Encoders, & ROM Wed, February 19 CEC 220 Digital Circuit Design Slide 1 of 18.
Gunjeet Kaur Dronacharya Group of Institutions. Outline I Random-Access Memory Memory Decoding Error Detection and Correction Read-Only Memory Programmable.
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.
Programmable Logic Devices
CENG 241 Digital Design 1 Lecture 13
Memory and Programmable Logic
Digital Design Lecture 14
Recap DRAM Read Cycle DRAM Write Cycle FAST Page Access Mode
Dr. Clincy Professor of CS
EE345: Introduction to Microcontrollers Memory
Dr. Clincy Professor of CS
FIGURE 7.1 Conventional and array logic diagrams for OR gate
حافظه و منطق قابل برنامه ریزی
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
Programmable Logic Devices (PLDs)
حافظه و منطق قابل برنامه ریزی
Chapter 7 Memory and Programmable Logic
Unit -06 PLDs.
Dr. Clincy Professor of CS
Princess Sumaya University
Lecture 11 Logistics Last lecture Today HW3 due now
CSCE 211: Digital Logic Design
CSCE 211: Digital Logic Design
FIGURE 5-1 MOS Transistor, Symbols, and Switch Models
Presentation transcript:

CENG 241 Digital Design 1 Lecture 12 Amirali Baniasadi amirali@ece.uvic.ca

Memory Memory unit: Stores binary information A collection of cells Two types of memory: RAM-Random Access Memory ROM-Read Only Memory RAM: Can read and write ROM:Programmable Logic Device (PLD)

Programmable Logic Device: PLD Programming: hardware procedure to insert bits into the configuration. Different PLDs: ROM, Program Logic Array (PLA), Program Array Logic (PAL), Field Programmable Field Array (FPGA) PLD may include hundreds of millions of gates To show logic we use concise forms

Conventional and Concise Symbols

Random Access Memory The time to transfer data in and out the device is the same Information stored in group of bits called words. Each word is assigned an address.

Memory Content Example 1024 memory locations: 10 bit address 16 bit data

Write and Read Operation Write Operation: 1.Apply the binary address to address lines 2.Apply the data to the data lines 3.Activate the write input Read Operation: 1.Apply the binary address to the address lines 2.Activate the read input

Memory Decoding Memory Decoding: Select the memory word specified by the address A memory with m words and n bits per word consists of m x n storage cells and decoding logic.

Memory Cell

4 x 4 RAM

Coincident Decoding Regular decoding is costly: A decoder with k inputs and 2K outputs requires 2K AND gates with k inputs per gate. Total number of gates can be reduced by using two-dimensional decoding: Basic idea: arrange memory cells in a ( as close as possible to) square configuration. Use two k/2 input decoders instead of one k input decoder

Two-Dimensional Decoding Instead of using a single 10 x 1024 decoder we use two 5x32 decoders. One decoder picks the row, one the column

Two-Dimensional Decoding Needs 64 5-input AND gates instead of 1024 10-input gates. Address is divided to two equal parts What if impossible?

Address Multiplexing Two types of RAM: Static RAM (SRAM) & Dynamic RAM (DRAM) DRAM needs refreshing but has less number of transistors DRAMs have four times the density of SRAMs. DRAM is almost 4 times cheaper than SRAM. DRAM consumes less power. Since DRAM are large in size, they are arranged in two-dimensional arrays.

Address Multiplexing Note that the same line is used for both row and column. Therefore address decoding is done in two steps

Read-Only Memory

32x8 ROM Each OR gate has 32 inputs

ROM Programming 1’s are connected ( x) 0’s are not. At 00000, 10110110 is stored. At 11111, 00110011 is stored.

Combinational Circuit Implementation We can assume that each output bit can be considered as a Boolean function. Combinational circuits can be used. Example A7(I4,I3,I2,I1,I0)= Σ(0,2,3,……29)

Example 7-1 Design a circuit using a ROM that accepts a 3-bit number and generates the square.

Combinational PLDs A combinational PLD consists of gates divided into AND array and OR array gates to provide an AND-OR sum of product implementation. Program Logic Array (PAL): Most flexible PLD, both AND and OR arrays are programmable

Programmable Logic Array Two differences of PLA with PROM: 1-PLA does not provide full decoding 2-PLA does not generate all minterms

Program Logic Array (PLA) Each input goes through a buffer and an inverter F1= AB’+AC+A’BC’ F2= (AC+BC)’

PLA Programming Table inputs Output T C Product Term A B C F1 F2 AC 2 1 - 1 1 1 BC 3 - 1 1 - 1 A’BC’ 4 0 1 0 1 -

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

Example 7-2

Program Array Logic (PAL) PAL: PLD with a fixed OR array and programmable AND array.

Fuse Map for PAL w=ABC’+A’B’CD’ x =A+BCD y =A’B+CD+B’D’ w(A,B,C,D)= Σ (2,12,13) x (A,B,C,D)= Σ (7,8,9,10,11,12,13,14,15) y (A,B,C,D)= Σ (0,2,3,4,5,6,7,8,10,11,15) z (A,B,C,D)= Σ (1,2,8,12,13) w=ABC’+A’B’CD’ x =A+BCD y =A’B+CD+B’D’ z =ABC’+A’B’CD’+AC’D’+A’B’C’D =w+AC’D’+A’B’C’D Has four inputs, by using w, we reduce inputs to 3.

Fuse Map for PAL w=ABC’+A’B’CD’ x =A+BCD y =A’B+CD+B’D’ z =ABC’+A’B’CD’+AC’D’+A’B’C’D =w+AC’D’+A’B’C’D

2003 final exam

Summary Memory & Programmable Logic