memory 10/27/081ece 561 - lecture. memory memory types using memory to implement logic functions...
TRANSCRIPT
Memory
10/27/08 1ECE 561 - Lecture
Memory
• Memory Types• Using memory to implement logic functions
10/27/08 2ECE 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
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
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
Table 9-1
• The truth table
10/27/08 ECE 561 - Lecture 6
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
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
ROMs for combination logic
• Section 9.1.1 ROMs for “random” combinational logic.
10/27/08 ECE 561 - Lecture 9
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???
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
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
Resulting PROM Programming
10/27/08 ECE 561 - Lecture 13
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
10/27/08 ECE 561 - Lecture 15
10/27/08 ECE 561 - Lecture 16
10/27/08 ECE 561 - Lecture 17
10/27/08 ECE 561 - Lecture 18
Solution
• The solution Table 9-2 and Fig 9-4
10/27/08 ECE 561 - Lecture 19
10/27/08 ECE 561 - Lecture 20