L5-6 Combinational Logic & Sequential Logic Flashcards
Define combinational circuits.
Outputs depend only on current inputs. Memoryless.
Define sequential circuits.
Outputs depend on both current and previous values of the inputs. Circuits with memory.
Define timing specification.
Specifies the lower and upper bounds on the delay from input to output.
Define functional specification.
Expresses o/p values in terms of current input values.
Define minterm.
Product involving all of the inputs to the function.
Define maxterm.
Sum involving all of the inputs to the function.
What do multiplexers (mux) do?
Allow user to choose between multiple inputs.
-2^k input bits and k select bits.
What do decoders do?
Decoders select one o/p bit to be high and the rest to be low. k input bits produce to k output bits.
How do you create a simple bistable element?
Connect two NOT gates (inverters) back-to-back/ criss-cross, with feedback. //This will produce a sequential circuit//
Problems with bistable circuits?
Can’t be reset/ no input/ no user control.
What does the S-R latch change about the simple bistable circuit?
Replaces NOT gates with NOR gates and adds a set and reset for user control.
What happens when S-R Latch is reset and set to 0?
Output, Q, will equal Qprev i.e. memory state.
What happens when S=1 and R=1?
The system can’t choose whether the output will be 1 or zero and states begin to contradict. Don’t set both to 1.
How would you improve the SR Latch?
Make it a D-Latch. This will prevent S and R being 1 simultaneously.
What does ‘D’ do in the D-Latch?
Controls what the state should be.