ECE 353 Introduction to Microprocessor SystemsAdministrative MattersTopicsMemory TerminologyMemory TechnologiesMemory OrganizationSRAM InterfacesSRAM OrganizationEPROMFlash MemoryMemory Subsystem DesignMemory ArchitecturesMemory Subsystems ReviewSRAM Timing CharacteristicsSample Timing Diagram7C1046 SRAM27C512 EPROMHM624100HC SRAMSRAM Timing CompatibilityWrapping UpPhysical Memory Organization 32K x 8 SRAMSlide 22Slide 23FAMOS Gate OperationJEDECFlash BlocksFlash Memory Application: Disk-on-KeyRAM Read – 3 control signalsRAM Write – 3 control signalsIncreasing Memory DepthIncreasing Memory WidthIncreasing Memory Depth & WidthECE 353Introduction to Microprocessor SystemsMichael J. SchulteWeek 9Administrative MattersQuiz #2 is Thursday, April 10th from 7:15 to 8:30 PMCovers modules 3 and 4 (weeks 5-8, hw 3, 4)Readings for week 9Textbook 7.5, 9ADUC 9-10, 33-36, 43-47, 79-82Discussion section tonight Review for Quiz #2Problems post on course webpageTopicsMemory technologiesOrganization and operation of typical SRAM, EPROM and flash memory devicesMemory subsystem designAddress decoder implementationSRAM timing characteristicsMemory TerminologyHow could we classify memory devices?Read-Only Memory (ROM)In common usage, it is memory that is nonvolatile.Random-Access Memory (RAM)The time required to access any memory location is the same – it does not need to be accessed in any order.In common usage, it is memory that can be read or written with equal ease.Memory TechnologiesROM (non-volatile)Masked ROMField programmableEPROMOTP PROM (fuse or EPROM)Electrically erasableEEPROM (or E2PROM)Flash memoryRAM (volatile)SRAMDRAMPseudo-SRAMEmerging memory technologiesMemory OrganizationLogical organizationOrganization as seen looking at the device from the outsideLinear array of registers (memory locations)Physical organizationDifferent physical organizations can be used to implement the same logical organizationPhysical organization affects performance and costSRAM InterfacesRAM with 3 control inputs/CS, /OE, /WEReadWriteRAM with 2 control inputs/CS, /WE (or R/W)/CS/WE/OEinternal write signalinternal read signal/CS/WEinternal write signalinternal read signalSRAM OrganizationLogical OrganizationTypically 1, 4 , 8 or 16 bit widthsPhysical OrganizationRectangular bit arrayTwo-level decoding (row and column)Characteristic delays and timing requirements are specified in memory devices datasheet (Example)NV-SRAMUses an alternate power source to maintain SRAM when system power is offRequires logic to switch power sources and prevent spurious writes during power-up/power-downEPROMElectrically programmable, non-volatileRequires UV light to eraseQuartz window in packageFloating polysilicon gate avalanche injection MOS transistor (FAMOS)OperationProgrammer loads device out-of-circuitOTP EPROMs eliminate quartz windowEEPROMs are electrically erasableByte-erasable / writeableLow-densityJEDEC PackagesFlash MemoryActually Flash EEPROM, commonly just called flash memoryCharacteristicsTechnologiesEnduranceBlocking, programming and erasingApplicationsROM replacementGP NV-RAMSolid-state disk (flash-disk) ExampleMemory Subsystem DesignMemory banks Increasing memory widthIncreasing memory depthIncreasing memory width and depthAddress decodingBoundariesIf address is a 2m boundary, then what is the result of (address AND (2m-1))?We normally decode memory devices to be aligned on boundaries at least as large as they areExhaustive (full) vs. partial (reduced) decodingMemory ArchitecturesWide (n-byte) busesAddressing effectsByte transfer supportData lanesControl signalsBus resizingStaticConfigurableDynamicMemory Subsystems ReviewWhat is the purpose of an address decoder circuit, and where does its output usually get connected?What is exhaustive decoding, and what effects does it have?What is partial decoding, and what effects does it have?SRAM Timing CharacteristicsAn SRAM device has key timing parameters specified for the read cycle.tAA – address access timetRDHA – data valid after address changestACS – chip select access timetRHCS – data valid after chip selecttCHZ – time until device floats bus after chip select dis-assertedtOE – output enable access timetOHZ – time until device floats bus after output enable dis-assertedtRC – read cycle timeThe write cycle has a complementary set of specifications.Sample Timing Diagram7C1046SRAM27C512EPROMHM624100HCSRAMSRAM Timing CompatibilityIn order to ensure that we will be able to reliably read and write the memory device, we need to ensure that the processor system bus interface is compatible with the memory device.This is accomplished by analyzing the timing for all relevant parameters of both the processor and memory, and ensuring that the operations can be completed reliably.Wrapping UpQuiz #2 will be held Thursday 4/10/2008 at 7:15-8:30pmCovers educational objectives for modules 3 and 4 (weeks 5 through 8)Single 3x5 card with original handwritten notesNo calculatorsInstruction set references and any needed datasheets will be providedReading for next weekSupplement #3, review chapter 9 in textPhysical Memory Organization32K x 8 SRAMFAMOS Gate OperationProgrammingErasingJEDECFlash BlocksFlash Memory Application:Disk-on-KeyUp to 4GB nonvolatile storageNo battery or power supplySpecifications:Data retention up to 10 years Erase cycles: 1,000,000 times Shock resistance: 1000 G (maximum)RAM Read – 3 control signals/CSDxAx/OE/WERAM Write – 3 control signals/CSDxAx/OE/WEIncreasing Memory DepthCEA0A15 D7D0CEA0A14 D7D0CEA0A14 D7D0Extending DepthIncreasing Memory WidthCEA0A15 D7D0CEA0A15 D3D0CEA0A15 D3D0Extending WidthIncreasing Memory Depth & WidthCEA0A15 D7D0CEA0A14 D3D0Extending Width and DepthCEA0A14 D3D0CEA0A14 D3D0CEA0A14
View Full Document