memory 10/27/081ece 561 - lecture. memory memory types using memory to implement logic functions...

20
Memory 10/27/08 1 ECE 561 - Lecture

Upload: jasmine-dean

Post on 05-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Memory

10/27/08 1ECE 561 - Lecture

Page 2: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Memory

• Memory Types• Using memory to implement logic functions

10/27/08 2ECE 561 - Lecture

Page 3: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Memory Types

• “Any sequential circuit has memory of a sort, since each flip-flop or latch stores one bit of information”

• The term memory is usually reserved for that part of a system where bits of information is stored in a structured way. This is usually a 2-dimensional array in which one row of bits is accessed.

10/27/08 3ECE 561 - Lecture

Page 4: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Read Only Memory (ROM)

• ROM is a combinational circuit with n inputs and b outputs. The n inputs are the address and usually called A0 A1 A2 A3 * * *. The outputs are usually called D0 D1 * * *.

• At each of the 2n unique addresses permanently stores a b bit value

10/27/08 4ECE 561 - Lecture

Page 5: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

ROM as a logic element

• ROM is memory but it is also a combination element.

• As a combination element it can perform logic functions.

• Table 9-1 versus combination logic for implementation.

10/27/08 ECE 561 - Lecture 5

Page 6: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Table 9-1

• The truth table

10/27/08 ECE 561 - Lecture 6

Page 7: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Implementation

• Have Table 9-1• Work out logic equations and construct circuit• How many logic gates does it take?• What is the delay using logic gates?• What is the delay using ROM?• Data sheet for ROM show timing

10/27/08 ECE 561 - Lecture 7

Page 8: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

ROM Programming

• ROM – value at each storage location is “stored” when the ROM is manufactured.

• ROM is non-volatile memory• PROM – Programmable Read Only Memory– Using a programmer the values are written after

manufacture.– Types of PROMs

• One time programmable – fuseable links• UV EPROM – The E stands for Erasable• EEPROM – Electrically Erasable PROM

10/27/08 ECE 561 - Lecture 8

Page 9: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

ROMs for combination logic

• Section 9.1.1 ROMs for “random” combinational logic.

10/27/08 ECE 561 - Lecture 9

Page 10: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

The solution using ROM

10/27/08 ECE 561 - Lecture 10

• Use an 8 x 4 PROM• 3 inputs are A0, A1, and POL• 4 outputs are Y0, Y1, Y2, and Y3

• What is the programming table???

Page 11: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Another problem

• Build a 4 x 4 binary multiplier• Combination logic requirements

• Versus a ROM implementation• Remember our PROM and its timing?

10/27/08 ECE 561 - Lecture 11

Page 12: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Can implement in Gates

• Work out logic equations and then how many gates/units does it take?

• Time??• Or could implement in ROM

10/27/08 ECE 561 - Lecture 12

Page 13: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Resulting PROM Programming

10/27/08 ECE 561 - Lecture 13

Page 14: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Assignment

• Due Monday Nov 3rd – Go to www.wikipedia.com and look up PROM, EPROM, UV

EPROM and EEPROM. Write a ½ to 1 page write up summarizing the information you find there.

– Go to www.digikey.com and look up the price and features for 2 PAL chips, 2 PLA chips, and 2 FPGAs. Write a ½ to 1 page summary of this.

• Tuesday Nov 4th – VOTE!!!!!!!!!• Due Wednesday Nov 5th– Problem 9.1 but only do 6-37 and 6-73. Also, show the

signals on the address inputs and the data outputs.

10/27/08 ECE 561 - Lecture 14

Page 15: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

10/27/08 ECE 561 - Lecture 15

Page 16: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

10/27/08 ECE 561 - Lecture 16

Page 17: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

10/27/08 ECE 561 - Lecture 17

Page 18: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

10/27/08 ECE 561 - Lecture 18

Page 19: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

Solution

• The solution Table 9-2 and Fig 9-4

10/27/08 ECE 561 - Lecture 19

Page 20: Memory 10/27/081ECE 561 - Lecture. Memory Memory Types Using memory to implement logic functions 10/27/082ECE 561 - Lecture

10/27/08 ECE 561 - Lecture 20