I wanttostartthinkingaboutscenarioswherewehave a gatewheretheoutputisconnected, backtotheinputororsomeSiri's ofgates, wheretheoutputisconnected, backtotheinput.
Ortheinputcouldbethere a zeroor a oneifit's a zerothantheoutputoughttobesomething.
Andiftheoneoftheoutputmightbesomethingdifferent, Butwe'llseeisthatisthatit's a lotnotquiteassimpleasthatesotobuild a littlebitofintuitionforwhat's goingonhere.
I thinkit's easiesttogottabuild a circuitandkindofseewhathappens.
Sothisisthatcircuit.
It's got a chipbusiness a 74 l s 32 chip, whichhasfourorgatesonit.
Well, now, ifwereleasethetopbuttonandthisgoesto a zerothatputsusinthisstatehereand a zeroon a oneinputonthetopgateisstillgonnaoutput 00 Nooneisstillzero.
Andsosometimesyoumightseethis, uh, this s ourlatchincircuitdiagramsjustas a box.
We'lldrawitlikethis, andit'llhavetheseinputsandthey'llbelabeled R and S andthetellYou'llknowitsaidasourlatch.
Andit'llhavetheoutputs Q andnot Q andthenusuallyhave a littlebubbleheretoshowthatthat's aninvertedoutput.
Andso, ifyouseethisin a circuitdiagram, youcouldbasicallythinkofitasthisasthiscircuitorsomethingthatworksequivalentlyinthesensethatifyoupresstheifyou'reifyouinput a oneontheonthesetinput, thentheCubawilllatch.
Hi, andifyouput a oneontheresetinput, thenthequeuewilllatchlow, andthentheknock, youwillsortofdotheopposite, andyoumightbewondering, youknowwhathappensifyouinput a oneonboththesetandresetatthesametime.