| Electronic Components Datasheet Search |
|
70V35/34L Datasheet(PDF) 22 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
70V35/34L Datasheet(HTML) 22 Page - Renesas Technology Corp |
|
22 / 26 page ![]() 6.42 70V35/34S/L (70V25/24S/L) High-Speed 3.3V 8/4K x 18 (8/4K x 16) Dual-Port Static RAM Industrial and Commercial Temperature Ranges 22 software.Asanexample,thesemaphorecanbeusedbyoneprocessor toinhibittheotherfromaccessingaportionoftheDual-PortSRAMorany other shared resource. TheDual-PortSRAMfeaturesafastaccesstime,andbothportsare completelyindependentofeachother.Thismeansthattheactivityonthe left port in no way slows the access time of the right port. Both ports are identicalinfunctiontostandardCMOSStaticRAMandcanbeaccessed atthesametimewiththeonlypossibleconflictarisingfromthesimultaneous writingof,orasimultaneousREAD/WRITEof,anon-semaphorelocation. Semaphoresareprotectedagainstsuchambiguoussituationsandmay be used by the system program to avoid any conflicts in the non- semaphore portion of the Dual-Port SRAM. These devices have an automatic power-down feature controlled by CE, the Dual-Port SRAM enable,andSEM,thesemaphoreenable.TheCEandSEMpinscontrol on-chip power down circuitry that permits the respective port to go into standbymodewhennotselected.Thisistheconditionwhichisshownin Truth Table I where CE and SEM are both HIGH. SystemswhichcanbestusetheIDT70V35/34(IDT70V25/24)contain multiple processors or controllers and are typically very high-speed systems which are software controlled or software intensive. These systemscanbenefit fromaperformanceincreaseofferedbytheIDT70V35/ 34 (IDT70V25/24)'s hardware semaphores, which provide a lockout mechanismwithoutrequiringcomplexprogramming. Software handshaking between processors offers the maximum in systemflexibilitybypermittingsharedresourcestobeallocatedinvarying configurations.TheIDT70V35/34(IDT70V25/24)doesnotuseitssema- phoreflagstocontrolanyresourcesthroughhardware,thusallowingthe systemdesignertotalflexibilityinsystemarchitecture. An advantage of using semaphores rather than the more common methodsofhardwarearbitrationisthatwaitstatesareneverincurredin either processor. This can prove to be a major advantage in very high- speedsystems. How the Semaphore Flags Work Thesemaphorelogicisasetofeightlatcheswhichareindependent oftheDual-PortSRAM.Theselatchescanbeusedtopassaflag,ortoken, fromoneporttotheothertoindicatethatasharedresourceisinuse.The semaphores provide a hardware assist for a use assignment method called“TokenPassingAllocation.”Inthismethod,thestateofasemaphore latchisusedasatokenindicatingthatsharedresourceisinuse.Iftheleft processorwantstousethisresource,itrequeststhetokenbysettingthe latch.Thisprocessorthenverifiesitssuccessinsettingthelatchbyreading it. If it was successful, it proceeds to assume control over the shared resource.Ifitwasnotsuccessfulinsettingthelatch,itdeterminesthatthe rightsideprocessorhassetthelatchfirst,hasthetokenandisusingthe sharedresource.Theleftprocessorcantheneitherrepeatedlyrequest thatsemaphore’sstatusorremoveitsrequestforthatsemaphoretoperform anothertaskandoccasionallyattemptagaintogaincontrolofthetokenvia thesetandtestsequence.Oncetherightsidehasrelinquishedthetoken, theleftsideshouldsucceedingainingcontrol. ThesemaphoreflagsareactiveLOW.Atokenisrequestedbywriting azerointoasemaphorelatchandisreleasedwhenthesamesidewrites aonetothatlatch. TheeightsemaphoreflagsresidewithintheIDT70V35/34(IDT70V25/ 24)inaseparatememoryspacefromtheDual-PortSRAM.Thisaddress spaceisaccessedbyplacingaLOWinputontheSEMpin(whichactsas a chip select for the semaphore flags) and using the other control pins (Address,OE,andR/W)astheywouldbeusedinaccessingastandard staticRAM.Eachoftheflagshasauniqueaddresswhichcanbeaccessed by either side through address pins A0 – A2. When accessing the semaphores, none of the other address pins has any effect. Whenwritingtoasemaphore,onlydatapinD0isused.IfaLOWlevel iswrittenintoanunusedsemaphorelocation,thatflagwillbesettoazero on that side and a one on the other side (see Truth Table V). That semaphorecannowonlybemodifiedbythesideshowingthezero.When aoneiswrittenintothesamelocationfromthesameside,theflagwillbe settoaoneforbothsides(unlessasemaphorerequestfromtheotherside ispending)andthencanbewrittentobybothsides.Thefactthattheside whichisabletowriteazerointoasemaphoresubsequentlylocksoutwrites fromtheothersideiswhatmakessemaphoreflagsusefulininterprocessor communications.(Athoroughdiscussionontheuseofthisfeaturefollows shortly.) A zero written into the same location from the other side will be storedinthesemaphorerequestlatchforthatsideuntilthesemaphoreis freed by the first side. Whenasemaphoreflagisread,itsvalueisspreadintoalldatabitsso thataflagthatisaonereadsasaoneinalldatabitsandaflagcontaining azeroreadsasallzeros.Thereadvalueislatchedintooneside’soutput registerwhenthatside'ssemaphoreselect(SEM)andoutputenable(OE) signalsgoactive.Thisservestodisallowthesemaphorefromchanging stateinthemiddleofareadcycleduetoawritecyclefromtheotherside. Becauseofthislatch,arepeatedreadofasemaphoreinatestloopmust cause either signal (SEM or OE) to go inactive or the output will never change. AsequenceWRITE/READmustbeusedbythesemaphoreinorder to guarantee that no system level contention will occur. A processor requestsaccesstosharedresourcesbyattemptingtowriteazerointoa semaphorelocation.Ifthesemaphoreisalreadyinuse,thesemaphore requestlatchwillcontainazero,yetthesemaphoreflagwillappearasone, a fact which the processor will verify by the subsequent read (see Truth TableV).Asanexample,assumeaprocessorwritesazerototheleftport at a free semaphore location. On a subsequent read, the processor will verifythatithaswrittensuccessfullytothatlocationandwillassumecontrol overtheresourceinquestion.Meanwhile,ifaprocessorontherightside attempts to write a zero to the same semaphore flag it will fail, as will be verifiedbythefactthataonewillbereadfromthatsemaphoreontheright side during subsequent read. Had a sequence of READ/WRITE been usedinstead,systemcontentionproblemscouldhaveoccurredduringthe gap between the read and write cycles. Itisimportanttonotethatafailedsemaphorerequestmustbefollowed by either repeated reads or by writing a one into the same location. The reasonforthisiseasilyunderstoodbylookingatthesimplelogicdiagram ofthesemaphoreflaginFigure4.Twosemaphorerequestlatchesfeed into a semaphore flag. Whichever latch is first to present a zero to the semaphoreflagwillforceitssideofthesemaphoreflagLOWandtheother side HIGH. This condition will continue until a one is written to the same semaphorerequestlatch.Shouldtheotherside’ssemaphorerequestlatch havebeenwrittentoazerointhemeantime,thesemaphoreflagwillflip overtotheothersideassoonasaoneiswrittenintothefirstside’srequest latch.Thesecond side’sflagwillnowstayLOWuntilitssemaphorerequest latchiswrittentoaone.Fromthisitiseasytounderstandthat,ifasemaphore is requested and the processor which requested it no longer needs the resource, the entire system can hang up until a one is written into that |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |