This preview shows page 1-2-3-25-26-27 out of 27 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 27 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

EECS150 - Digital Design Lecture 20 - MemoryMemory BasicsRegister File InternalsRegid (address) DecodingStandard Internal Memory OrganizationRead Only Memory (ROM)Column MUX in ROMs and RAMs:Cascading Memory Modules (or chips)DefinitionsExample Memory Components:Volatile Memory ComparisonIn Desktop Computer Systems:Important DRAM Examples:Non-volatile MemoryFLASH MemoryRelationship between Memory and CLA ROM as AND/OR Logic DevicePLD SummaryPLA ExamplePAL ExampleMemory Blocks in FPGAsMemory Specification in VerilogError Correction Codes (ECC)Simple Error Detection CodingHamming Error Correcting CodeHamming Code ExampleSlide 27Spring 2002 EECS150 - Lec19-memoryPage 1EECS150 - Digital DesignLecture 20 - MemoryApril 4&9, 2002John WawrzynekSpring 2002 EECS150 - Lec19-memoryPage 2Memory Basics•Uses:–data & program storage –general purpose registers –buffering –table lookups –CL implementation –Whenever a large collection of state elements is required. •Types:–RAM - random access memory –ROM - read only memory –EPROM, FLASH - electrically programmable read only memeory •Example RAM: Register fileregid = register identifiersizeof(regid) = log2(# of reg) WE = write enableSpring 2002 EECS150 - Lec19-memoryPage 3Register File Internals•Functionally the regfile is equivalent to a 2-D array of flip-flops:•Cell with write logic:How do we go from "regid" to "SEL"?Spring 2002 EECS150 - Lec19-memoryPage 4Regid (address) DecodingSpring 2002 EECS150 - Lec19-memoryPage 5Standard Internal Memory Organization •Special circuit tricks are used for the cell array to improve storage density. (We will look at these later)•RAM/ROM naming convention: –examples: 32 X 8, "32 by 8" => 32 8-bit words –1M X 1, "1 meg by 1" => 1M 1-bit wordsSpring 2002 EECS150 - Lec19-memoryPage 6Read Only Memory (ROM)•Functional Equivalence:•Of course, full tri-state buffers are not needed at each cell point.•Single transistors are used to implement zero cells. Logic one’s are derived through precharging or bit-line pullup transistor.Spring 2002 EECS150 - Lec19-memoryPage 7Column MUX in ROMs and RAMs: •Controls physical aspect ratio •In DRAM, allows reuse of chip address pinsSpring 2002 EECS150 - Lec19-memoryPage 8Cascading Memory Modules (or chips) •example 256 X 8 ROM using 256 X 4 parts:•example: 1K X * ROM using 256 X 4 parts:•each module has tri-state outputs:Spring 2002 EECS150 - Lec19-memoryPage 9Definitions •Bandwidth: Total amount of data accross out of a device or across an interface per unit time. (usually Bytes/sec) •Late ncy: A measure of the time from a request for a data transfer until the data is received. Memory Interfaces for Acessing Data •Asynchronous (unclocked): A change in the address results in data appearing •Synchronous (clocked): A change in address, followed by an edge on CLK results in data appearing. Somtimes, multiple request may be outstanding. •Volatile: Looses its state when the power goes off.Spring 2002 EECS150 - Lec19-memoryPage 10Example Memory Components:•Volatile:–Random Access Memory (RAM): •DRAM "dynamic" •SRAM "static" •Non-volatile:– Read Only Memory (ROM): • Mask ROM "mask programmable" • EPROM "electrically programmable" •EEPROM "erasable electrically programmable" •FLASH memory - similar to EEPROM with programmer integrated on chipSpring 2002 EECS150 - Lec19-memoryPage 11Volatile Memory Comparison •SRAM Cell•Larger cell  lower density, higher cost/bit •No refresh required •Simple read  faster access •Standard IC process  natural for integration with logic •DRAM Cell•Smaller cell  higher density, lower cost/bit •Needs periodic refresh, and refresh after read •Complex read  longer access time •Special IC process  difficult to integrate with logic circuitsword linebit linebit lineword linebit lineSpring 2002 EECS150 - Lec19-memoryPage 12In Desktop Computer Systems: •SRAM (lower density, higher speed) used in CPU register file, on- and off-chip caches. •DRAM (higher density, lower speed) used in main memory •Closing the GAP: Innovation targeted towards higher bandwidth for memory systems: –SDRAM - synchronous DRAM –RDRAM - Rambus DRAM –EDORAM - extended data out SRAM –Three-dimensional RAM –hyper-page mode DRAM video RAM –multibank DRAMSpring 2002 EECS150 - Lec19-memoryPage 13Important DRAM Examples:•EDO - extended data out (similar to fast-page mode) –RAS cycle fetched rows of data from cell array blocks (long access time, around 100ns)–Subsequent CAS cycles quickly access data from row buffers if within an address page (page is around 256 Bytes) •SDRAM - synchronous DRAM–clocked interface –uses dual banks internally. Start access in one back then next, then receive data from first then second. •DDR - Double data rate SDRAM –Uses both rising (positive edge) and falling (negative) edge of clock for data transfer. (typical 100MHz clock with 200 MHz transfer). •RDRAM - Rambus DRAM –Entire data blocks are access and transferred out on a highspeed bus-like interface (500 MB/s, 1.6 GB/s) –Tricky system level design. More expensive memory chips.Spring 2002 EECS150 - Lec19-memoryPage 14Non-volatile Memory •Mask ROM –Used with logic circuits for tables etc.–Contents fixed at IC fab time (truly write once!) •EPROM (erasable programmable) & FLASH –requires special IC process (floating gate technology) –writing is slower than RAM. EPROM uses special programming system to provide special voltages and timing. –reading can be made fairly fast.–rewriting is very slow. •erasure is first required , EPROM - UV light exposure Used to hold fixed code (ex. BIOS), tables of data (ex. FSM next state/output logic), slowly changing values (date/time on computer)Spring 2002 EECS150 - Lec19-memoryPage 15FLASH Memory •Electrically erasable •In system programmability and erasability (no special system or voltages needed) •On-chip circuitry (FSM) to control erasure and programming (writing) •Erasure happens in variable sized "sectors" in a flash (16K - 64K Bytes) See: http://developer.intel.com/design/flash/for product descriptions, etc.Spring 2002 EECS150 - Lec19-memoryPage 16Relationship between Memory and CL•Memory blocks can be (and often are) used to implement combinational logic functions:•Examples:–LUTs in FPGAs–1Mbit x 8 EPROM can implement 8 independent functions each of


View Full Document

Berkeley COMPSCI 150 - Memory

Documents in this Course
Lab 2

Lab 2

9 pages

Debugging

Debugging

28 pages

Lab 1

Lab 1

15 pages

Memory

Memory

13 pages

Lecture 7

Lecture 7

11 pages

SPDIF

SPDIF

18 pages

Exam III

Exam III

15 pages

Quiz

Quiz

6 pages

Problem

Problem

3 pages

Memory

Memory

26 pages

Lab 1

Lab 1

9 pages

Memory

Memory

5 pages

Load more
Download Memory
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Memory and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Memory 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?