Andsothisistheresetinthesetinputsoverherearethesebluearethebluewiresandthentheygointotheairtheycomefrom, I shouldsaytheandgatesandwe'reusingtoendgateshereiswellandthentheinputsfortheendgate.
Oneofthemistheenableandthat's thistopbuttonhere.
Andsoyoucanseethesetwoyellowwiresaregoingtoaninputoneachofthetwoendgatesandthentheinput, which I'velabeledas D fordata.
I guesstheinputisthisthesecondswitchhere, whichyouconcedethere's a greenwirethat's goingintotheinputofthesortofthebottomandgate, whichistheset.
Butif I if I turnofftheenable, itlatchesintheininthiscaseresetsstate, andthenif I turnonenablethan I saidit, andthen I turnoff, enableitnowlatchesenabled.
Andsothisisusuallycalled a D latchbecauseitwilllatch a singlebitofdatabecausewe'reyouknow, wecanusethisaspartofahtobuild a memoryorregisterorsomethingin a computertostoreonebitofdata, andifyouseethere's there's a blocksymbolforitaswell, whichhashasthisblocking.
Ithasthe D input, theenableinputandthenthe Q output, aswellastheknockyououtput, whichisjustalwaysgonnabetheoppositeof Q.
Infact, normally, ifwewereusingthistostore a bitofdata, wewewouldprobablyjustignorethis.