版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Chapter5MEMORYANDMEMORYINTERFACE5.1Introduction5.2MemoryReview5.3ArchitectureofSemiconductorMemory5.4MemoryInterfaceandApplication5.5CacheMemoryOBJECTIVES
Uponfinishingthischapter,youwilllearn:
Memorydevicesanditsclassification
SemiconductorMemoryanditsArchitecture
PinFunctionforSRAMandEPROM
MemoryInterfaceandApplications
AdvancedMemoryStorageTechnology
5.1Introduction
Tomakeamicroprocessordosomething,wemusthaveaplacetostoretheprogramwhotellsmicroprocessorwhattodo,andwemusthaveaplacetostorethedatawhichmicroprocessorworkson.Allofthistakesplaceinthemicroprocessor’smainmemory.Todayamicroprocessor’smainmemoryismadeupofmanymemoryintegratedcircuits(ICs).TheseICsmakeupbothread-writeandread-onlyrandomaccessmemory(RAM&ROM).
Sometimesthemicroprocessor’smemoryspaceisnotbigenoughtostorealltheinformationneeded.Inthiscase,memoryexpansiontechniquesareusedtogetsufficientmemory.
Wehavediscussedthemicroprocessor-basedsysteminChapter1.Weknewthatthememoryunitwheretheprograminstructionsanddataaretemporarilystoredusuallyhastwotypes.Oneiscalledinternalstorage,theotherisexternalmemory,asshowninFigure5.1.Figure5.1Classificationofmemory
Whileexecutingaprogram,themicroprocessor8086/8088needstoaccessmemoryfrequentlytoreadinstructioncodesanddatastoredinmemory.Therefore,capacityandaccessspeedaremainfeaturesformemory;besidestheinterfacingcircuitandinterfacetechnologyenablethataccessfasterandfaster.Foraninstance,tomeetthegrowingdemandformemorybandwidthandmemorydatarates,memoryinterfacesystemsuseparallelmemorychannelsandmultiplecontrollerinterfaces.Inthischapterwewilldiscussthememoryandmemoryinterface.
5.2MemoryReview
5.2.1InternalMemoryDevices
Microcomputer’smemoryusuallyhastwotypes:Read-onlyMemory(ROM)andRandomAccessMemory(RAM).SomesystemsmaybeabletoworkproperlywithoutRAM,butallrequireatleastasmallamountofROM.
ROMisonetypeofsemiconductormemorydevice.Itismostwidelyusedinmicrocomputersystemsforstoragethatdeterminesoverallsystemoperation.1TheinformationstoredwithinaROMintegratedcircuitispermanent–ornonvolatile.Thismeansthatwhenthepowersupplyofthedeviceisturnedoff,thestoredinformationisnotlost.1. ROM,PROM,EPROM,EEPROMandflashmemoryEPROM
ForsomeROMdevices,information(themicrocomputer’sprogram)mustbebuiltinduringmanufacturing,andforothersthedatamustbeelectricallyentered.Theprocessofthedata’senteringintoaROMiscalledprogramming.AsthenameROMimplies,onceenteredintothedevicethisinformationcanbereadonly.Forthisreason,thesedevicesareusedprimarilyinapplicationswherethestoredinformationwillnotchangefrequently.
ThreetypesofROMdevicesareinwideusetoday:themask-programmableRead-OnlyMemory(ROM),theone-time-ProgrammableRead-OnlyMemory(PROM),theErasableProgrammableRead-OnlyMemory(EPROM),theElectricallyErasableRead-OnlyMemory(EEPROM)andtheflashmemoryEPROM.Letuscontinuebylookingmorecloselyintothefirsttypeofdevice,themask-programmableread-onlymemory.
Thisdevicehasitsdatapatternprogrammedaspartofthemanufacturingprocessandisknownasmaskprogramming.Oncethedeviceisprogrammed,itscontentscanneverbechanged.Becauseofthisfactandthecostformaskingtheprogrammingmasks,ROMsareusedmainlyinhigh-volumeapplicationswherethedatawillnotchange.
Theothertwotypesofread-onlymemories,thePROMandEPROM,differfromtheROMinthattheuserelectricallyentersthebitpatternforthedata.ProgrammingisusuallydonewithaninstrumentknownasanEPROMprogrammer.BoththePROMandEPROMareprogrammedinthesameway.OnceaPROMisprogrammed;itscontentscannotbechanged.Thisisthereasontheyaresometimescalledone-timeprogrammablePROMs.
Ontheotherhand,exposinganEPROMtoultravioletlighterasestheinformationitholds.Thatis,theprogrammedbitpatternisclearedouttorestorethedevicetoitsnon-programmedstate.Inthisway,thedevicecanbeusedoverandoveragainsimplybyerasingandreprogramming.PROMsandEPROMsaremostoftenusedduringthedesignofaproduct,forearlyproduction,whenthecodeofthemicrocomputermayneedfrequentchanges,andforproductioninlow-volumeapplicationsthatdonotwarrantmakingamaskprogrammeddevice.
[ReadingMaterial]Figure5.2(a)showsatypicalEPROMprogrammerunit.ProgrammingunitslikethisusuallyhavetheabilitytoverifythatanEPROMiserased,programitwithnewdata,verifycorrectprogramming,andreadtheinformationoutofaprogrammedEPROM.AnerasingunitsuchasthatshowninFigure5.2(b)canbeusedtoeraseanumberofEPROMICsatonetime.Figure5.2(a)EPROMprogrammingunit(CourtesyofDataI/O,Inc.);(b)EPROMerasingunit(CourtesyofUltra-VioletProducts,Inc.)(a)(b)
EEPROM’s
methodoferasureiselectrical;moreover,onecanselectwhichbytetobeerased.Meanwhile,thecostforperbitismuchhigherthanthatforEPROM.Thereasonwhyso-calledflashmemoryistheprocessoferasureoftheentirecontentstakeslessthanasecond,oronemightsayinaflash.Whenflashmemory’scontentsareerased,theentiredeviceiserased.Eventhoughflashmemoriesarewriteable,likeEPROMstheyfindtheirwidestuseinmicrocomputersystemsforstorageoffirmware.
2. StaticanddynamicRAMS
RAMissimilartoROMinthatitsstoragelocationcanbeaccessedinarandomorder,butitisdifferentfromROMintwoimportantways.First,datastoredinRAMisnotpermanentinnature–thatis,itcanbealtered.RAMcanbeusedtosavedatabywritingtoit,andlaterthedatacanbereadbackforadditionalprocessing.
Becauseofitsreadandwritefeatures,RAMfindswideusewheredataandprogramsneedtobeplacedinmemoryonlytemporarily.Forthisreason,itisnormallyusedtostoredataandapplicationprogramsforexecution.TheseconddifferenceisthatRAMisvolatile–thatis,ifpowerisremovedfromRAM,thestoreddataarelost.
TwotypesofRAMsareinwideusetoday:thestaticRAM(SRAM)anddynamicRAM(DRAM).StaticRAMisfastandeasytointerface,butalsohassmallsizes(aslittleas16bytesperchip).LargermemoryrequirementsareusuallymetbyusingdynamicRAM,whichisadifferentformofmemory,andhashighdensity(256Kbitsperchipormore),but,unfortunately,itrequiresnumerousrefreshingcyclestoretainthestoreddata.Evenso,dynamicRAMisthechoicewhenlargeamountsofdatamustbestored,asinasystemit’susedtogatherseismicdataatavolcanoorreceivedigitizedvideoimagesfromasatellite.
ForastaticRAM,data,onceentered,remainvalidaslongasthepowersupplyisnotturnedoff.Ontheotherhand,toretaindatainaDRAM,itisnotsufficientjusttomaintainthepowersupply.Forthistypeofdevice,wemustbothkeepthepowersupplyturnedonandperiodicallyrestorethedataineachstoragelocation.ThisaddedrequirementisnecessarybecausethestorageelementsinaDRAMarecapacitivenodes.Ifthestoragenodesarenotrechargedwithinaspecificinternaloftime,dataarelost.ThisrechargingprocessisknownasrefreshingtheDRAM.5.2.2ExternalMemoryDevices
Externalmemoryisfamousforitsmassstorage.Yourfirstquestionmaybe“Whyhavemassstoragedevicesatall?”Thisisareasonablequestionbecausewelearnedthatmainmemoryisbecomingverylowcost.Wealsolearnedthatamodernmicroprocessormayhaveamemoryaddressspacewithmanymegabytesorevengigabytesofstorage.
Anymassstoragesubsystemhasthreemajorparts:themedium,thedrive,andthecontroller.Wewritetheinformationonandreadtheinformationfromthemedium.Thedrivemovesthemediumsothatitcanberead,andperformstheread-writeoperation.Thecontrollerconnects(interfaces)thedrivetothemicrocomputersystem.Inthefollowingsections,wewilllookateachofthesedifferentpartswhichmakeupmassstoragesubsystems.
[ReadingMaterial]
Notallmicroprocessor-basedsystemsusemassstorage.Forexample,thesimplemicroprocessor-basedcontrollerwhichusesa16KbyteEPROMforprogramstorageanda2KbyteSRAMfordataandworkingstoragecertainlydoesnotrequiremassstoragesubsystems.Ontheotherhand,weallknowthateverymicroprocessor-basedpersonalcomputerusesmassstoragesubsystems.
Additionally,anystudyofindustrialmicroprocessor-basedsystemswillshowalargenumberofthemorecomplexsystemshavemassstoragesubsystem.Whyarethesesubsystemsrequired?Whatfunctionsdotheyaccomplish?
Therearethreedifferentreasonsformassstoragesubsystemstobeaddedtomicroprocessor-basedproducts.First,thereisaneedtohavelong-termnonvolatilestorage.Programstakeagreatdealoftimeandefforttowrite.Wecannotaffordtolosethem.Theymustbestoredinanonvolatilemedium.
Second,theprogramsmustbestoredinaneconomicalmanner.Thatis,theymustbestoredfortheabsolutelowestcostperbit.AlthoughbothROMandbattery-backedRAMarebecomingverylowcost,neitheroneisthemosteconomicalwaytoprovidemassstorage.
Thirdistherequirementforversatility.Manymicroprocessor-basedsystemsaredesignedtoperformmultiplefunctions.Whentheychangefunction,theyareloadedwithadifferentprogram.Someformofveryeasilyupdatedmassstorageisnecessarytoaccomplishthisfunction.Onceagain,neitherROMnorbattery-backedRAMgivestheneededflexibility.Thisisespeciallytruebecausefutureupdatesmaybeunknownatthetimeofproduction.
Themediumiswhereyouwritetheprogramsanddata.Therequirementthatthemediumbemachine-readablemeansthatsomeverylowcostmethodsofnonvolatilemassstoragecannotbeused.
Forexample,neitherdatadumpedtoaprinternorahand-writtenprogramlistingcanbereadbythemicrocomputer.Thereforetheyarenotusefulformsofmassstorage.It’snecessarytospendsometimelookingatoneparticulartypeofmassstoragemedium—magneticmedia.
Manydifferentformsofmagneticmediaareusedinthecomputerindustry.Earlycomputersusedmagneticdrums.Latertheyusedmagnetictape,andthentheyaddedmagneticdisk-drivestoreplacethedrums.Figure5.3showsustheinternalstructureofamagneticdisk.Allofthesedevicesusemagneticstorageprinciplestocapturethedataorprograminformation.Figure5.3Internalstructureofmagneticdisk(CourtesyofIntelCo.)
Thecomputerindustryhasnotalwaysusedmagneticmediaforitsmassstorage.Inthepast,verylowcostmassstorageoftenusedpapermedia.Holespunchedinthepapermadethedatamachines-readable.Papermediacameintwoforms:papertapeandpapercards.Bothpapertapeandcomputercardsarenowonlyusedinspecialapplications.Inmostgeneralapplications,papermediahavebeenreplacedbyaverylowcostmagneticmediumcalledfloppydisks.
Thefloppydiskwaspopularizedasamassstoragemediumbytherapidgrowthofthemicrocomputer.Asmicrocomputersgrewfromlow-volumehobbyistdevicestohigh-volumeconsumerandcommercialproducts,therequirementforlow-costmassstoragebecamegreat.Thisindustrytooktheprinciplesofmagneticstorageandtheprinciplesofthediskdriveandcreatedaverylowcostmediumanddrivecalledthefloppydiskandthefloppy-diskdrive.
[ReadingMaterial]Thefloppy-diskdrivebecamepopularinthelate1970s.Atthattimeadrivecostover$1000.Today,theconsumerpriceofasinglefloppy-diskdrive,withgreatlyenhancedstoragecapabilities,isunder$0.5.Figure5.4A3.5inchfloppydisk
(CourtesyofSONYCo.)
Typically,afloppydiskislimitedtolessthanafewMbytesofstoragecapacity.AlthoughafewMbytessoundslikealotofstorage,itisveryeasytofindmicrocomputerapplicationswhichneedmorethanafewMbytesofonlinemassstorage.
Thetermonlinemassstoragereferstothemassstoragewhichcanbeaccessedbythecomputeratanytimewithouthelpfromahuman.Afloppy-diskdriveloadedwithafloppydiskandconnectedtothemicrocomputerisonlinestorage.Thedataonthefloppydiskinstalledinthedrivesistheonlinedata.Figure5.4displaysakindoffloppydiskproducedbySONYCompany.This3.5inchfloppydiskhasplayedanirreplaceableroleinthehistoryofcomputerdevelopmentsincetheyearof1981whenitwasborn,howeveritwasofficiallybeenproductionhaltsin2011.
Figure5.4A3.5inchfloppydisk(CourtesyofSONYCo.)
Becauseofthegrowingrequirementforevengreateramountsofmassstorage,additionalresearchiscontinuouslybeingundertaken.ThisresearchledtothedevelopmentofamassstoragedevicecalledtheWinchester-diskdrive.TheWinchester-diskdriveisoftencalledaharddrive(thetermsaresynonymous).
TheWinchester-diskdriveallowstheusertostoremuchgreaterquantitiesofonlinedatathandoesthefloppy-diskdrive.TheWinchester-diskdrivetypicallydoesnotofferremovablemediaasthefloppy-diskdrivedoes.However,itdoesprovideaverylowcostmethodtostorehundredsofmegabytesorthousandsofmegabytes(gigabytes)ofdataorprograminformation.Typically,theWinchester-diskdriveis4to20timesasexpensiveasafloppy-diskdrive.
Asyoumightexpect,theWinchester-drivedoesnotalwayshaveenoughstoragecapacity.Thereiscontinuedresearchtocreatemassstoragedeviceswhichstoreevergreateramountsofinformation.Onesuchdevice,introducedinthe1980s,istheoptical-diskdrive,whichgrewoutoftheaudiocompactdisk(CD).Thisstorageusesopticalratherthanmagnetictechniquesandprovidesmuchgreaterstoragedensity.However,therearespecialproblemsinproducinganopticaldevicewhichcanbereadfromandwritteninto.
Thedevelopmentoftheveryhighdensitymassstoragedeviceswithnonremovablemediaforcedanotherdevelopment—thestreamingtape.Astreaming-tapesystemisusedasahigh-densitybackupmassstoragesystem.
[ReadingMaterial]Whydoweneedbackupstoragesystems?Forexample,thepersonoperatingthemicrocomputersystemmustdoagreatdealofworktogenerate120Mbytesofdataorprograminformation.Therefore,aWinchester-diskdrivewith120Mbytesofinformationstoredonitbecomesveryvaluable.Asuddenlossofthatinformationthroughaccidentalerasureorotherdamagecanbeamajorfinancialloss.Asyouknow,themediuminaWinchestersystemisnonremovable.
Toprotectvaluableinformation,wemakeacopyontoaremovablemedium.Thisduplicateiscalledthebackupcopy.Thebackupcopycanbestoredawayfromthemicrocomputer.Slow-speedhigh-densitystoragesystemsareusedtobackupsuchdevicesasthenonremovableWinchesterdisk.Typically,magneticmediaarechosenforthisoperation.Thebackupmediumisusuallyatapeinacartridgeorafloppydisk.Althoughveryslowandstrictlysequential-access,tapebackupallowstheusertoprotectagainstaccidentallossofdataonthemassstoragedevice.
Flashdisk,showninFigure5.5,isakindofnewstoragedevice,whichisspringuprecentyears.Itobtainstheadvantagesforusingflashmemorytechnology,suchaserasable,fast,antimagnetic,andshockproofetc.ThepopularUSBinterfaceisappliedinflashdisk,andflashdiskdoesn’tneeddriveraswellasexternal-usepower,soitisalsoveryconvenientforuse.Thelargestcapacityofflashdisknowadayscanreach256G.Flashdiskhasbecomeverycommonineverydaylife.Figure5.5Akindofflashdisk5.2.3SummaryofROMandRAMinCharacteristics
WebrieflylistthedifferencesandfeaturesofRAMandROMinTable5.1andTableArchitectureofSemiconductorMemory
5.3.1ArchitectureofMemoryCell
MoststaticmemoriesarebuiltusingMOStechnology,butafewarebuiltusingbipolartechnology.TheMOStechnologiesusedtoconstructmemorypartsusuallycomeintwoforms:NMOSandCMOS.TheNMOSpartsaremuchsimplertoconstructthantheCMOSparts.However,theCMOSpartsdrawconsiderablylesspowerandthereforeareexcellentcandidatesformemorysystemswhichmustusebatterybackuptomakethemnonvolatile.
Figure5.6showsasimplifiedschematicofabipolarmemorycell.Amemorycellstores1bitofinformation.ThiscellisimplementedusingTTL(Transistor-TransistorLogic)multiple-emittertechnology.Asyoucantellbylookingatthisschematic,thememorycellisnothingmorethanasimpleflip-flop.Thisflip-flopiseithersetorresettostorethedata.Onceitisset,itstayssetuntilitisresetoruntilitlosespower.Figure5.6Abipolarmemorycell
Largenumbersofthesememorycellsareorganizedonarow-and-columnbasis.Figure5.7showstherow-and-columnorganizationofa16,384-bitmemorychip.ThisbasicblockdiagramofthememorypartisthesameforbothbipolarandMOSstaticanddynamicmemories.Figure5.7Therow-and-columnaddressingfora16,384-cellmemorydevice(Eachcellhasinputsthatenablethecellwhentherowandcolumnlinesarebothactive.Thedatainanddataoutlinesareconnectedtoeachcell.)
Eachchip(integratedcircuit)has14addresslines,A0throughA13.Theseaddresslinesareconnectedtotherow-and-columnaddressdecoders.Thefirstsevenaddresslines,A0toA6,areconnectedtothecolumndecoder.Thecolumndecoderdecodesa7-bitaddresstoindicateoneof128columns.Thesecondsevenaddresslines,A7toA13 areconnectedtotherowdecoder.
Therowdecoderdecodesa7-bitaddresstoindicateoneof128rows.Wherethedecodedrow-and-columnoutputscross,theyselectthedesiredindividualmemorycell.Simplearithmeticshowsthatthereare128 × 128,or116,384crossings.Therefore,thismemorysystemcanaddressanyofthememorychip’s16,384differentcells.Onceacellisselected,thesystemmayeitherwritedatatothecellorreaddatafromthecell.
[ReadingMaterial]Figure5.8showsasimplifiedschematicofanNMOSstaticmemorycell.Inthisschematic,youcanseethatthiscellisalsoasimpleflip-flop.LikemostMOSdevices,thisoneisimplementedbyusingfixed-biasMOStransistorsforthedrainloads,insteadofresistors.AdditionalMOStransistorsareusedtocouplethedataintoandoutoftheselectedcell.
Againnotethecross-coupleddesign,whichisaflip-flop.Likethebipolarmemorycell,theMOSstaticmemorycellholdsbinaryinformationbecauseoftheflip-floporcross-coupledgatedesign.Thecellretainsthesetorresetstateaslongaspowerisapplied.Figure5.8AstaticmemorycellbuiltwithMOStransistors
Bycomparison,theMOSdynamicmemorycellissimpler.ThisisshowinFigure5.9.Inthisschematic,youcanseethatthedynamiccelldoesthesamejobwithonlyhalfasmanytransistors.Obviously,adynamicmemoryintegratedcircuitcanhavetwiceasmanymemorybitsasastaticmemorycircuitthesamesize.Figure5.9AdynamicmemorycellbuiltwithMOStransistors(ThecapacitoristheMOStransistor’sinputcapacitance.Achargestoredonthiscapacitormakesthecellholdalogic1.Nochargeisalogic0.)
TheMOSdynamicmemorycellisnotbuiltlikeaflip-flop.ThecapacitanceshownintheschematicistheMOStransistor’sinputcapacity.ThisverysmallcapacitanceisusedasthedynamicMOSmemorycell'sstorage.Thecapacitancestoresbinarydatabyholdingitscharge,logic1orlogic0,forafewmilliseconds.Afterthistime,thedatamustberewrittenintothecell.
[ReadingMaterial]RewrittenthedatainadynamicMOSmemorycelliscalledrefreshingthedata.Thedynamicmemorycellisrefreshedeachtimethatitisaccessed.However,thereisnoguaranteethateverybitwillberefreshedbythemicroprocessor’snormalmemoryactivity.Forexample,themicroprocessormightspendmorethanafewmillisecondsinasimpletimingloopthatusesonlyafewmemorylocations.
Duringthistime,alltheothermemorywordsarenotaccessed.Forthisreason,memorysystemthatusesMOSdynamicRAMhaswhatiscallrefreshlogic.Thislogicautomaticallyaccesseseachcolumneveryfewtenthsofamillisecond.Dynamicmemoriesarebuiltsothatsimplyaccessingthecolumnrefreshesallthebitsinthecolumn.Therefreshlogicmustbecoordinatedwithothermicroprocessoractivitiessothatitdoesnotinterferewiththem.
Forexample,ifthemicroprocessortriestoaccessthememorywhilememoryisbeingrefreshed,therefreshlogicmustgivethemicroprocessorpriority.However,therefreshlogicmustbeintelligentenoughtoknowthataparticularsectionofmemoryhasnotbeenrefreshedwithintherequiredtimeandmustperformtherefreshbeforethedataislost.
Figure5.10showsaverysimpleROM.ThisROMcouldbebuiltusingonlydiodesandaTTLdecoder.SincethisROMcontainsfour8-bitwords,itisa32-bitROM.Asyoucansee,thisROMhasdiodesateachbitthatistobelogic0.Figure5.10Asimplefour-word(4-byte)ROM
Thetwo-linetofour-linedecoderplaceslogic0ontheselectedrow.Eachoutputlinegoestologic0ifadiodeconnectstheoutputdatacolumntotheselectedrow.
Mostoftoday’sROMsuseMOStechnology.ROMsareavailabletodaywhichareconstructedfromboththeNMOSandCMOSprocesses.Again,thedifferenceiscostversuspower.AfewbipolarROMsarebuiltforusewhereveryhighspeedoperationisneeded.InNMOSROMs,anMOStransistortakestheplaceofthediode.5.3.2ArchitectureofRAM
1. SRAM
Figure5.11showsablockdiagramofatypicalstaticRAMIC.Hereweseethatthedevicehasthreesetsofsignallines:theaddressinputs,dataoutputs,andcontrolinputs.BecauseoftheRAMsread/writecapability,datalines,however,actasbothinputsandoutputs.Forthisreason,theyareidentifiedasabidirectionalbus.Letusnowlookatthefunctionofeachofthesesetsofsignallines.Figure5.11BlockdiagramofastaticRAM
AvarietyofstaticRAMICsarecurrentlyavailable.Theydifferbothindensityandorganization.Themostcommonlyuseddensitiesinsystemdesignsarethe64KBand256KBdevices.ThestructureofthedatabusdeterminestheorganizationoftheSRAMsstoragearray.Figure5.11showsan8-bitdatabus.Thistypeoforganizationisknownasabyte-wideSRAM.Devicesarealsomanufacturedwithby1andby4dataI/Oorganizations.The64KBdensityresultsinthreestandarddeviceorganizations:64K×1,16K×4,8K×8.
Table5.3listsanumberofstandardstaticRAMICs.Herewefindtheirpartnumbers,densities,andorganizations.
Forexample,the4361,4363and4364areall64KBdensitydevices;however,theyareeachorganizeddifferently.The4361isa64K×1-bitdevice,the4363isa16K×4-bitdevice,andthe4363isan8K×8-bitdevice.Figure5.12(a)4346pinlayout;(b)43256Apinlayout;(c)PhotoofUPD43256(CourtesyofNECCo.)Figure5.1316K×16-bitSRAMdiagram
[ReadingMaterial]BatteryBackupfortheRAMSubsystem
EventhoughRAMICsarevolatile,insomeequipmentitisnecessarytomakeallorpartoftheRAMmemorysubsystemnonvolatile(e.g.,anelectroniccashregister).Inthisapplication,apowerfailurecouldresultinthelossofirreplaceableinformationabouttheoperationofthebusiness.
Tosatisfythenonvolatilerequirement,additionalcircuitrycanbeincludeintheRAMsubsystem.Thesecircuitsmustsensetheoccurrenceofapowerfailureandautomaticallyswitchthememorysubsystemovertoabackupbattery.Anorderlytransitionmusttakeplaceformsystempowertobatterypower.Therefore,whenalossofpowerisdetected,thepower-failcircuitmustpermitthecompletionofanyreadorwritecyclethatisinprogressandthenlockthememoryagainsttheoccurrenceofadditionalread/writeoperations.Thememorysubsystemremainsinthisstateuntilpowerisrestored.Inthisway,theRAMsubsystemcanbemadeatleasttemporarilynonvolatile.
2. DRAM
DynamicRAMsaresimilarwithstaticRAMsinstructure.
StandardDynamicRAMICs
DynamicRAMsareavailableinhigherdensitiesthanstaticRAMs.Currently,themostwidelyusedDRAMsarethe64K-bit,256K-bit,1M-bit,and4M-bitdevices.Table5.4listsanumberofpopularDRAMICs.Herewefindthe2164B,organizedas64K×1bit;the21256,organizedas256K×1bit;the21464,organizedas64K×4bits;the421000,organizedas1M×1bit;andthe424256,organizedas256K×4bits.Pinlayoutsforthe2164B,21256,and421000areshowninFigure5.14(a),(b),and(c),respectively.Figure5.15showsustheviewoftwoofthem.
SomeotherbenefitsofusingDRAMsoverSRAMsarethattheycostless,consumelesspower,andtheir16-and18-pinpackagestakeuplessspace.Forthesereasons,DRAMsarenormallyusedinapplicationsthatrequirealargeamountofmemory.Forexample,mostsystemsthatsupportatleast1MbytesofdatamemoryaredesignedusingDRAMs.Figure5.16Blockdiagramofthe2164BDRAMFigure5.17Diagramof64K × 16-bitDRAM5.3.3ArchitectureofROM
Figure5.18showsablockdiagramofatypicalROM.BycomparingthisdiagramwiththeRAMinFigure5.11,weseethattheyaresimilarinmanyways.Forexample,theybothhaveaddresslines,datalines,andcontrollines.ThesesignalbusesperformsimilarfunctionswhentheROMisoperated.ThisblockdiagramisvalidforaROM,PROM,orEPROM.Figure5.18BlockdiagramofaROM
WecanseefromthefigurethattheROMhas11addresslinesand8datalines.EarlierwepointedoutthatinformationisstoredinsideaROM,PROM,orEPROMaseitherabinary0orbinary1.Actually,8bitsofdataarestoredateveryaddress.Therefore,theorganizationoftheROMisdescribedas2048×8.ThetotalstoragecapacityoftheROMisidentifiedasthenumberofbitsofinformationitcanhold.Weknow2048bytescorrespondsto16,384bits;therefore,thedevicewearedescribingisa
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 房产中介公司业务发展与客户维护考核表
- 联合用药培训模拟试题及参考答案
- 船舶机舱入职考模拟试题及参考答案
- 计算机一级MSOffice模拟试题及参考答案
- 计算机操作员考模拟试题及参考答案
- 催办2026年项目合作意向书回复函(4篇范文)
- 超声医生2026年上岗前综合考核模拟试题及答案
- 质检员年度工作总结
- 金融岗位招聘模拟试题及参考答案
- 金融行业金融行业金融行业分析师面试模拟试题及参考答案
- 中央企业拖欠账款举报信范本
- 紫金投资集团招聘笔试题库2026
- 2026年有色金属公司重金属接触人员健康检查管理制度
- 光伏发电装置运行维护手册
- 2.7 夜晚的月亮 课件-2025-2026学年科学二年级上册教科版
- 天津市河西区小学二年级上学期数学期末检测卷
- 2025高三英语高考高频短语搭配1000组
- 进修泌尿外科汇报
- 产品标签标准管理办法
- 化粪池(钢筋混凝土11号)图纸
- GB 19577-2024热泵和冷水机组能效限定值及能效等级
评论
0/150
提交评论