Courseregisterswe'vebeenbuildingalsohave a clocksignal, whichforthisbuddy, I'm gonnakindofsidestep.
Butjustas a reminder, Youknow, theclockmakesthis a synchronousregisterbecauseiteveniforwhenthethetherightsignalisactive, itstillonlyreadsdataattherisingedgeoftheclock.
Andsoeachofthesememorycellseachoftheselittleboxeshereis a memorycell.
Andinourcase, we'regonnabuildthese.
We'regonnaWe'regonnausesomethingthat's verysimilartotheregistersthatweused, which, atitscore, isessentially a latch, whichisabletostoreonebitofdata.
Um, in, ah, practicalmemorythatyoumightyoumighthaveinyourcomputeror, forexample, thecomputerthat I'm usingtoeditthisvideoon.
I have 16 gigabytesofmemoryinthatcomputer, sothatwouldbe 16 billionoftheserows, essentially, whichiswhichis a lot.
I certainlywouldn't wanttobuilditlikethis, butyoucanimagine, youknow, thesetheseflipflopsarefairlycomplex.
I mean, youknow, you'veseentheonethatwebuilthere, youknow, sixWell, 16 billionbytes, that 128 billionmemorycells, soyouwouldn't wanttobuild 120 billionofthese.
Thatcertainlywouldn't workverywell.
Ofcourse, itcanbeminiaturizedalltherest, butbuteventhatis a fairlycomplexcircuittostoreonebit.
Somostmemorymemoryinmycomputerthat I'm editingthisvideoon, forexample, usesessentiallythesimplestwayofstoring a bit, whichisessentiallyineachofthesecellsis, youknow, just a singletransistorand a capacitor, andthebitchisstoredas a chargeonthecapacitor.
After a fewseconds, it'llloseitscharge, andsoyoucanonlystore a bitinherefor a couplesecondsatmost.
Um, butonewaytogetaroundthatisthathave a separatecircuitthattheregion's biteofmemoryandthenwritesthatsamebitebackintothatsamememorylocation, andwehave a separatecircuitthat's doingthatconstantlyisgoingthrough.
Soeventhoughyouknow a capacitorcouldonlystorethatdatafor, youknow, atmost a couplesecondsbecausewe'rereadingandwritingthatmanytimes a second, it's keepingthatdatarefreshed.
Butbecausewehavetocontinuallyrefreshitlikethat, um, thisisreferredto a dynamicramitsdynamicbecauseifyoudon't refreshit, youlosethedateofthetenant.
Whereasifweused a footflopcircuitorsomethinglikewe'vebeenbuildingwithourregisters, asyouknowonceyoustoreah, bitofdatainhere, itstaysthereessentiallyforeveruntilwetakethepoweraway.
Thethingthat's a littlebitweirdnowisthatwehave a separaterightsignalforeachofour 16 bitesofmemoryand a separate n.
Igelenablesignalforeachofour 16 bitesofmemory.
Andsothatcouldget a littlebitunwieldy.
Sowhatwe'd liketodoisbeabletoencodewhichofthese 16 biteswerereadingorwritingfromusinganaddressbecauseyoucanrepresent a numberfrom 0 to 15 usingjust a fourbitaddress.
AndsothatwouldbeourenableZerothatwouldenablethisthisthisfirstrowinouraddressinourmemory, ifwehad 1000 So, a binaryofone, umthenthanthisandgatewouldn't beon.
Butthisonewouldbebecause a zeroisone.
Andthentheinverseof a Z A one a two a threeisalsoonebecause a one a twoand a threearezeros.
Youknow, allthesamethingsendedinthekindof a similarwaywithwithourwithourrightsignaldownhereinsteadoftheenablesignalisessentiallyhowwewouldgoaboutbuilding a 16 bitememory.