ELCT 501: Digital System Design

Similar documents
ELCT 912: Advanced Embedded Systems

Presentation 4: Programmable Combinational Devices

Lecture 13: Memory and Programmable Logic

Memory and Programmable Logic

Memory and Programmable Logic

PLAs & PALs. Programmable Logic Devices (PLDs) PLAs and PALs

Programmable Logic Devices UNIT II DIGITAL SYSTEM DESIGN

Memory and Programmable Logic

Unit 6 1.Random Access Memory (RAM) Chapter 3 Combinational Logic Design 2.Programmable Logic

PROGRAMMABLE LOGIC DEVICES

DIGITAL SYSTEM FUNDAMENTALS (ECE421) DIGITAL ELECTRONICS FUNDAMENTAL (ECE4220. PROGRAMMABLE LOGIC DEVICES (PLDs)

I 4 I 3 I 2 I 1 I 0 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 T-125. ROM Truth Table (Partial) 1997 by Prentice-Hall, Inc.

Fig. 6-1 Conventional and Array Logic Symbols for OR Gate

Programmable Logic Devices (PLDs)

CHAPTER 9 MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

ELCT 501: Digital System Design

Chapter 6 Selected Design Topics

Embedded Controller Design. CompE 270 Digital Systems - 5. Objective. Application Specific Chips. User Programmable Logic. Copyright 1998 Ken Arnold 1

Chapter 13 Programmable Logic Device Architectures

ECE 331 Digital System Design

LSN 6 Programmable Logic Devices

UNIT - V MEMORY P.VIDYA SAGAR ( ASSOCIATE PROFESSOR) Department of Electronics and Communication Engineering, VBIT

Read-only memory Implementing logic with ROM Programmable logic devices Implementing logic with PLDs Static hazards

CHAPTER X MEMORY SYSTEMS

Programmable Logic Devices

Evolution of Implementation Technologies. ECE 4211/5211 Rapid Prototyping with FPGAs. Gate Array Technology (IBM s) Programmable Logic

Programmable Logic Devices

FPGA for Dummies. Introduc)on to Programmable Logic

FYSE420 DIGITAL ELECTRONICS. Lecture 7

MEMORY AND PROGRAMMABLE LOGIC

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

FPGA for Complex System Implementation. National Chiao Tung University Chun-Jen Tsai 04/14/2011

FPGA Implementations

Semiconductor Memories: RAMs and ROMs

CMPE 415 Programmable Logic Devices FPGA Technology I

Design Methodologies. Full-Custom Design

Review: Chip Design Styles

PROGRAMMABLE MODULES SPECIFICATION OF PROGRAMMABLE COMBINATIONAL AND SEQUENTIAL MODULES

Outline. Field Programmable Gate Arrays. Programming Technologies Architectures. Programming Interfaces. Historical perspective

Digital Integrated Circuits

UNIT V (PROGRAMMABLE LOGIC DEVICES)

Injntu.com Injntu.com Injntu.com R16

Introduction to Digital Logic Missouri S&T University CPE 2210 Hardware Implementations

CSEE 3827: Fundamentals of Computer Systems. Storage

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

Lecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017

Computer Structure. Unit 2: Memory and programmable devices

ECE 636. Reconfigurable Computing. Lecture 2. Field Programmable Gate Arrays I

VALLIAMMAI ENGINEERING COLLEGE. SRM Nagar, Kattankulathur DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING EC6302 DIGITAL ELECTRONICS

FPGA. Logic Block. Plessey FPGA: basic building block here is 2-input NAND gate which is connected to each other to implement desired function.

(ii) Simplify and implement the following SOP function using NOR gates:

Principles of Digital Techniques PDT (17320) Assignment No State advantages of digital system over analog system.

Hardware Design with VHDL PLDs I ECE 443. FPGAs can be configured at least once, many are reprogrammable.

Model EXAM Question Bank

Code No: R Set No. 1

Programmable Logic. Any other approaches?

Design Methodologies and Tools. Full-Custom Design

Section 6. Memory Components Chapter 5.7, 5.8 Physical Implementations Chapter 7 Programmable Processors Chapter 8

ELCT 501: Digital System Design

COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING QUESTION BANK SUBJECT CODE & NAME: EC 1312 DIGITAL LOGIC CIRCUITS UNIT I

Digital Design, Kyung Hee Univ. Chapter 7. Memory and Programmable Logic

HANSABA COLLEGE OF ENGINEERING & TECHNOLOGY (098) SUBJECT: DIGITAL ELECTRONICS ( ) Assignment

END-TERM EXAMINATION

R07

Computer Architecture and Organization:

Programmable Logic Devices (PLDs) >Programmable Array Logic (PALs) >Programmable Logic Arrays (PLAs) PAL/GAL 16V8 CPLD: Altera s MAX 3064 & MAX V

Lecture 7. Standard ICs FPGA (Field Programmable Gate Array) VHDL (Very-high-speed integrated circuits. Hardware Description Language)

Code No: R Set No. 1

Basic FPGA Architectures. Actel FPGAs. PLD Technologies: Antifuse. 3 Digital Systems Implementation Programmable Logic Devices

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Topics. Midterm Finish Chapter 7

Programmable Logic Devices. Programmable Read Only Memory (PROM) Example

COMP3221: Microprocessors and. and Embedded Systems. Overview. Lecture 23: Memory Systems (I)

Programmable Logic Devices

CENG 4480 L09 Memory 3

SECTION-A

ECE/Comp Sci 352 Digital Systems Fundamentals Kewal K. Saluja and Yu Hen Hu Spring Logic and Computer Design Fundamentals.

Very Large Scale Integration (VLSI)

Concept of Memory. The memory of computer is broadly categories into two categories:

+1 (479)

ELCT201: DIGITAL LOGIC DESIGN

Lecture (1) Introduction to FPGA. 1. The History of Programmable Logic

Introduction to Programmable Logic Devices (Class 7.2 2/28/2013)

Programmable Logic Devices Introduction CMPE 415. Programmable Logic Devices

IT T35 Digital system desigm y - ii /s - iii

LOGIC DESIGN. Dr. Mahmoud Abo_elfetouh

R07. Code No: V0423. II B. Tech II Semester, Supplementary Examinations, April

Chapter 4 Main Memory

SHRI ANGALAMMAN COLLEGE OF ENGINEERING. (An ISO 9001:2008 Certified Institution) SIRUGANOOR, TIRUCHIRAPPALLI

Chapter 2 Logic Gates and Introduction to Computer Architecture

EECS150 - Digital Design Lecture 16 Memory 1

QUESTION BANK FOR TEST

Lecture 20: CAMs, ROMs, PLAs

EECS 150 Homework 7 Solutions Fall (a) 4.3 The functions for the 7 segment display decoder given in Section 4.3 are:

R10. II B. Tech I Semester, Supplementary Examinations, May

EECS 3201: Digital Logic Design Lecture 7. Ihab Amer, PhD, SMIEEE, P.Eng.

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

Code No: 07A3EC03 Set No. 1

Chapter 5 Internal Memory

UNIT I BOOLEAN ALGEBRA AND COMBINATIONAL CIRCUITS PART-A (2 MARKS)

Transcription:

ELCT 501: Digital System Lecture 3: Memory and Programmable Logic (continue) Dr. Mohamed Abd El Ghany,

Memory Model 32-bit address space can address up to 4 GB (2 32 ) different memory locations 0x00000000 0x00000001 0x00000002 0x0A 0xB6 0x41 Lower Memory Address 0x00000003 0xFC 0xFFFFFFFF Higher Memory 0x0D Address Flat Memory Model 2

Endianness [Danny Cohen 91] A byte ordering- How a multiple byte data word stored in memory Endianness (from Gulliver s Travels) Big Endian Most significant byte of a multi-byte word is stored at the lowest memory address E.g. Sun Sparc, PowerPC Little Endian Least significant byte of a multi-byte word is stored at the lowest memory address e.g. Intel x86 Some embedded & DSP processors would support both for interoperability 3

Endianness Examples Store 0x21436587 at address 0x0000 0x0000 0x0001 0x0002 0x87 0x65 0x43 Lower Memory Address 0x0000 0x0001 0x0002 0x21 0x43 0x65 Lower Memory Address 0x0003 0x21 0x0003 0x87 LITTLE ENDIAN Higher Memory Address BIG ENDIAN Higher Memory Address 4

Read Only Memory (ROM) Permanent binary information is stored Non-volatile memory Power off does not erase information stored K-bit address lines K ROM 2 k words N-bit per work N-bit Data Output N 5

32x8 ROM A4 A3 A2 A1 A0 5-to-32 Decoder 0 1 2 3 28 29 30 31 5 32x8 ROM 8 Each represents 32 wires Fuse can be implemented as a diode or a pass transistor D7 D6 D5 D4 D3 D2 D1 D0 6

Programming the 32x8 ROM A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 1 0 1 1 0 0 0 1 0 1 0 1 1 0 0 0 0 1 1 1 0 1 0 0 0 1 0 0 0 0 1 1 1 1 0 0 1 0 1 0 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 1 A4 A3 A2 A1 A0 5-to-32 Decoder 0 1 2 29 30 31 D7 D6 D5 D4 D3 D2 D1 D0 7

Example: Lookup Table a square lookup table for F(X)=X 2 using ROM X F(X)=X 2 0 0 1 1 2 4 3 9 4 16 5 25 6 36 7 49 X F(X)=X 2 000 000000 001 000001 010 000100 011 001001 100 010000 101 011001 110 100100 111 110001 8

Square Lookup Table using ROM X F(X)=X 2 000 000000 001 000001 010 000100 011 001001 100 010000 101 011001 X2 X1 X0 0 1 3-to-8 2 3 Decoder 4 5 6 7 110 100100 111 110001 F5 F4 F3 F2 F1 F0 9

Square Lookup Table using ROM X F(X)=X 2 000 000000 001 000001 010 000100 011 001001 100 010000 101 011001 X2 X1 X0 0 1 3-to-8 2 3 Decoder 4 5 6 7 110 100100 111 110001 F5 F4 F3 F2 F1 F0 Not used =X0 10

Square Lookup Table using ROM X F(X)=X 2 000 000000 001 000001 010 000100 011 001001 100 010000 101 011001 X2 X1 X0 0 1 3-to-8 2 3 Decoder 4 5 6 7 110 100100 111 110001 F5 F4 F3 F2 F1 F0 11

Classifying Three Basic PLDs INPUT INPUT Fixed AND plane (decoder) Programmable AND plane Programmable Connections Programmable OR plane (Programmable) Read-Only Memory (ROM) Programmable Connections Programmable Logic Array (PLA) Programmable OR plane OUTPUT OUTPUT INPUT Programmable AND plane Fixed OR plane Programmable Array Logic (PAL) Devices PAL: trademark of AMD, use PAL as an adjective or expect to receive a letter from AMD s lawyers F/F OUTPUT 12

Programmable Logic Array (PLA) A B Programmable OR Plane C Programmable AND Plane C C B B A A F2 13

Example using PLA F1(A,B, C) m(0,1,2,4) F2(A,B, C) m(0,5,6,7) F1 AB AC BC F1 AB AC BC F2 AB AC ABC 14

Example using PLA A B C C C B B A A F1 AB AC F2 AB AC BC ABC AB AC BC A B C F1 F2 15

PAL Device A A B B IO2 IO2 IO1 IO1 Programmable AND Plane A IO1 IO2 B Fixed OR Plane 16

PAL Device Example A A B B C C D D IO1 IO1 IO1 A Not programmed IO2 B IO1 ABC ABCD IO2 ABC ABCD ACD ABCD 17

CPLD and FPGA [brown & Rose 96] Complex Programmable Logic Device (CPLD) Multiple PLDs (e.g. PALs, PLAs) with Programmable interconnection structure Pioneered by Altera Field-Programmable Gate Array (FPGA) High logic capacity with large distributed interconnection structure Logic capacity= number of 2-input NAND gates Offers more narrow logic resources CPLD offers logic resources with a wide number of inputs (AND planes) Offer a higher ratio of Flip-flops to logic resources than CPLD High Capacity PLD (HCPLD) is often used to refer to both CPLD and FPGA 18

CPLD Structure Logic block PLD PLD PLD PLD I/O block Interconnects PLD PLD PLD PLD 19

FPGA Structure Logic block I/O block Interconnects 20

FPGA Programmability Floating gate transistor Used in EPROM and EEPROM SRAM-controlled switch-control Pass transistors Multiplexers (to determine how to route inputs) Antifuse Similar to fuse Originally an Open-Circuit One-Time Programmable (OTP) 21

References Logic and Computer Fundamentals by M. Morris Mano and Charles R. Kime. 4th edition, Prentice Hall. 2008. P. Marwedel: Embedded System, Springer, 2006 First Steps with Embedded Systems Byte Craft Limited 22