Kev sib xyaw ua ke vs Sequential Logic
Cov khoom siv hluav taws xob digital yog lub hauv paus ntawm kev ua haujlwm niaj hnub. Cov khoom siv digital yog tsim los siv cov ntsiab lus ntawm Boolean logic. Boolean logic, raws li qhov tshwm sim ntawm qhov tshwm sim, tau muab cais ua ke ua ke logic thiab sequential logic. Txhua hom logic tuaj yeem siv los siv cov ntsiab lus sib txawv digital siv niaj hnub no.
Combinational Logic
Hauv kev sib xyaw ua ke, cov zis yog qhov ua haujlwm ntawm cov khoom siv tam sim no nkaus xwb. Cov zis yog ywj siab ntawm cov zis dhau los; yog li ntawd nws yog qee zaum, hu ua lub sijhawm ywj pheej logic.
Kev sib xyaw ua ke yog siv los ua haujlwm Boolean ntawm binary input signals thiab binary cov ntaub ntawv. Cov lej lej thiab logic ntawm CPU ua haujlwm ua ke ntawm cov ntaub ntawv. Ib nrab adders, tag nrho cov adders, multiplexers, demultiplexers, decoders thiab encoders kuj tsim raws li kev sib xyaw ua ke.
Sequential Logic
Kev sib txuas lus yog daim ntawv ntawm Boolean logic qhov twg cov zis yog qhov ua haujlwm ntawm ob qho khoom siv tam sim no thiab cov khoom tawm yav dhau los. Feem ntau, cov teeb liab tso zis yog pub rov qab rau hauv Circuit Court raws li cov tswv yim tshiab. Sequential logic yog siv los tsim thiab tsim finite state machines. Qhov tseem ceeb ntawm kev ua raws li cov lus qhia ua ntu zus yog flip-flops. Flip-flops yog tsim los tuav lub xeev ntawm lub kaw lus, yog li, suav tias yog lub cim xeeb tseem ceeb.
Cov lus qhia sib txuas ntxiv tau muab faib ua synchronous logic thiab asynchronous logic. Nyob rau hauv synchronous logic, lub logic ua hauj lwm yog rov cyclically los ntawm ib tug oscillating teeb liab nkag mus rau txhua txhua flip-flop nyob rau hauv lub Circuit Court. Cov teeb liab no, feem ntau hu ua moos mem tes, qhib lub logic Circuit Court rau ib qho haujlwm.
Qhov txiaj ntsig tseem ceeb ntawm synchronous logic yog nws qhov yooj yim. Lub ntsiab tsis zoo ntawm synchronous logic yog lub moos ceev ceev muaj thiab qhov yuav tsum tau ntawm lub moos teeb liab rau txhua lub flip-flop. Yog li ntawd, qhov ceev ntawm synchronous circuits yog txwv thiab lub zog khib nyiab tshwm sim thaum faib cov teeb liab rau txhua qhov flip-flop element.
Hauv asynchronous logic, tag nrho cov flip flops tsis yog clocked ntawm tib lub voj voog. Xwb, txhua tus neeg flip-flop yog clocked los ntawm lub ntsiab moos teeb liab los yog los ntawm ib qho kev tso zis ntawm lwm flip-flop. Yog li ntawd, qhov ceev ntawm asynchronous logic circuits yog ntau dua li cov synchronous circuits. Txawm hais tias asynchronous logic yog qhov ua tau zoo, lawv nyuaj rau tsim thiab siv thiab teeb meem yog tias ob lub cim sib tshooj.
Dab tsi yog qhov sib txawv ntawm Combinational thiab Sequential Logic?
• Combinational logic siv tsuas yog tam sim no inputs los txiav txim cov zis thaum sequential logic siv ob qho tib si tam sim no inputs thiab yav dhau los outputs los txiav txim qhov tam sim no input.
• Combinational logic yog siv los siv cov kev ua haujlwm hauv Boolean thaum lub sij hawm sib txuas lus siv los tsim cov ntsiab lus nco.
• Sequential logic siv cov lus tawm tswv yim los ntawm cov zis mus rau cov tswv yim thaum kev sib txuas lus tsis xav tau cov lus teb.