DOC PREVIEW
MIT 6 111 - Memory Basics and Timing

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

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 28 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 28 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 28 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 28 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 28 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 28 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 28 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

L7: Memory Basics and Timing Memory Classification & MetricsMemory Array ArchitectureLatch and Register Based MemoryStatic RAM (SRAM) Cell (The 6-T Cell)Interacting with a Memory DeviceMCM6264C 8k x 8 Static RAMReading an Asynchronous SRAMAddress Controlled ReadsWriting to Asynchronous SRAMSample Memory Interface LogicMulti-Cycle Read/Write (less aggressive, recommended timing)Simulation from Previous SlideVerilog for Simple Multi-Cycle AccessVerilog for Simple Multi-Cycle AccessTesting MemoriesAn ApproachA Simple Memory TesterSynchronous SRAM MemoriesZBT Eliminates the Wait StatePipelining Allows Faster CLKEPROM Cell – The Floating Gate TransistorInteracting with Flash and (E)EPROMDynamic RAM (DRAM) CellAsynchronous DRAM OperationAddressing with Memory MapsKey Messages on Memory DevicesYou Should Understand Why…L7: 6.111 Spring 20061Introductory Digital Systems LaboratoryL7: Memory Basics and Timing L7: Memory Basics and Timing Acknowledgements: Nathan IckesJ. Rabaey, A. Chandrakasan, B. Nikolic. Digital Integrated Circuits: A Design Perspective.Materials in this lecture are courtesy of the following sources and are used with permission.Prentice Hall/Pearson, 2003.Rex MinYun WuL7: 6.111 Spring 20062Introductory Digital Systems LaboratoryMemory Classification & MetricsMemory Classification & MetricsKey Design Metrics:1. Memory Density (number of bits/μm2) and Size2. Access Time (time to read or write) and Throughput 3. Power DissipationRead-Write MemoryNon-VolatileRead-WriteMemoryRead-Only Memory (ROM)EPROME2PROMFLASHRandomAccessNon-RandomAccessSRAM DRAMMask-ProgrammedFIFOLIFOL7: 6.111 Spring 20063Introductory Digital Systems LaboratoryMemory Array ArchitectureMemory Array ArchitectureInput-Output(M bits)2L-KBit LineWord LineStorage CellM.2KAmplify swing torail-to-rail amplitudeSelects appropriate word(i.e., multiplexor)Sense Amps/DriverColumn DecodeAK-1A0Row DecodeAKAK+1AL-12L-Krow byMx2Kcolumn cell arrayL7: 6.111 Spring 20064Introductory Digital Systems LaboratoryLatch and Register Based MemoryLatch and Register Based MemoryPositive LatchNegative LatchDGQ DGQClkDNegative latchQQMPositive latchRegister Memory Works fine for small memory blocks (e.g., small register files) Inefficient in area for large memories – density is the key metric in large memory circuitsHow do we minimize cell size?10DQCLK01DQCLKL7: 6.111 Spring 20065Introductory Digital Systems LaboratoryStatic RAM (SRAM) Cell (The 6Static RAM (SRAM) Cell (The 6--T Cell)T Cell)WLBLVDDM5M6M4M1M2M3BLQQ State held by cross-coupled inverters (M1-M4) Static Memory - retains state as long as power supply turned on Feedback must be overdriven to write into the memoryWLBLBLWLQ QWrite: set BL and BL to 0 and VDDor VDDand 0 and then enable WL (i.e., set to VDD)Read: Charge BL and BL to VDDand then enable WL (i.e., set to VDD). Sense a small change in BL or BLL7: 6.111 Spring 20066Introductory Digital Systems LaboratoryTri-state DriverInteracting with a Memory DeviceInteracting with a Memory Device Address pins drive row and column decoders Data pins are bidirectional and shared by reads and writes Output Enable gates the chip’s tristate driver Write Enable sets the memory’s read/write mode Chip Enable/Chip Select acts as a “master switch”Memory Matrix……Data PinsReadLogicWriteLogicRow DecoderAddress PinsSense Amps/DriversColumn DecoderWrite enableChip EnableOutput EnableinoutenableIf enable=0out = ZIf enable =1out = inWrite enableL7: 6.111 Spring 20067Introductory Digital Systems LaboratoryMCM6264C 8k x 8 Static RAMMCM6264C 8k x 8 Static RAMDQ[7:0]Memory matrix256 rows32 ColumnRow DecoderColumn DecoderSense Amps/Drivers……A2A3A4A5A7A8A9A11A0A1A6A10A12E1E2WGMCM6264CAddressDataDQ[7:0]138Chip Enables E1E2Write Enable WOutput Enable GOn the outside:On the inside: Same (bidirectional) data bus used for reading and writing Chip Enables (E1 and E2) E1 must be low and E2 must be high to enable the chip Write Enable (W) When low (and chip is enabled), the values on the data bus are written to the location selected by the address bus Output Enable (G) When low (and chip is enabled with W=0), the data bus is driven with the value of the selected memory location (Image by MIT OCW.)L7: 6.111 Spring 20068Introductory Digital Systems LaboratoryBus tristate timeReading an Asynchronous SRAMReading an Asynchronous SRAM Read cycle begins when all enable signals (E1, E2, G) are active  Data is valid after read access time Access time is indicated by full part number: MCM6264CP-12 Æ12ns Data bus is tristated shortly after G or E1 goes highAddressE1GDataAddress ValidData ValidAccess time (from address valid)Access time (from enable low)Bus enable time(Tristate)E2 assumed high (enabled), W =1 (read mode)L7: 6.111 Spring 20069Introductory Digital Systems LaboratoryBus tristate timeAddress Controlled ReadsAddress Controlled Reads Can perform multiple reads without disabling chip Data bus follows address bus, after some delay AddressE1GDataAccess time (from address valid)Bus enable timeE2 assumed high (enabled), W =1 (read mode)Address 3Address 2Address 1Data 2Data 3Data 1Contamination timeL7: 6.111 Spring 200610Introductory Digital Systems LaboratoryWriting to Asynchronous SRAMWriting to Asynchronous SRAM Data latched when W or E1 goes high (or E2 goes low) Data must be stable at this time Address must be stable before W goes low Write waveforms are more important than read waveforms Glitches to address can cause writes to random addresses!AddressE1WDataAddress ValidAddress setup timeWrite pulse widthData setup timeE2 and G are held highData ValidData hold timeAddress hold timeL7: 6.111 Spring 200611Introductory Digital Systems LaboratorySample Memory Interface LogicSample Memory Interface LogicClock/E1GWAddressDataData for writeAddress for write Address for readData readWrite occurs here, when E1 goes highData can be latched hereFSMClockDQAddressRead dataWrite dataControl(write, read, reset) Drive data bus only when clock is low Ensures address are stable for writes Prevents bus contention Minimum clock period is twice memory access timeWrite cycle Read cycleData[7:0]Address[12:0]WGE1SRAME2ext_chip_enableext_write_enableext_output_enableext_addressext_dataVCCQDQDint_dataFPGAL7: 6.111 Spring 200612Introductory Digital Systems LaboratoryMultiMulti--Cycle Read/Write Cycle Read/Write (less aggressive, recommended timing)(less aggressive,


View Full Document

MIT 6 111 - Memory Basics and Timing

Documents in this Course
Verilog

Verilog

21 pages

Video

Video

28 pages

Bass Hero

Bass Hero

17 pages

Deep 3D

Deep 3D

12 pages

SERPENT

SERPENT

8 pages

Vertex

Vertex

92 pages

Vertex

Vertex

4 pages

Snapshot

Snapshot

15 pages

Memories

Memories

42 pages

Deep3D

Deep3D

60 pages

Design

Design

2 pages

Frogger

Frogger

11 pages

SkiFree

SkiFree

81 pages

Vertex

Vertex

10 pages

EXPRESS

EXPRESS

2 pages

Labyrinth

Labyrinth

81 pages

Load more
Download Memory Basics and Timing
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 Basics and Timing 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 Basics and Timing 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?