Answer the following questions on the logic function defined below.
(a) Give all minimum sum-of-products expressions of .
(b) Derive a logic circuit that realizes with the minimum number of 3-input NAND gates only. Assume and their complements are available as inputs.
(c) Assume logic functions
and
Among all the logic functions that satisfy
derive a minimum sum-of-products expression of a logic function that has the minimum number of product terms with the minimum number of literals in its minimum sum-of-products form. If there is no logic function that satisfies , state that does not exist.
We design a sequential circuit that decodes the variable-length codes defined in Table 1. This sequential circuit has a 1-bit input and a 3-bit output . The variable-length codes are given to input sequentially from the leftmost bit. Every time a given variable-length code is recognized, the corresponding fixed-length code is outputted to in parallel. When there is no output of the fixed-length code, the output is . The initial state is the state where neither 0 nor 1 has been previously inputted to . Answer the following questions.
(a) Derive a state transition diagram when we design this sequential circuit as a Moore-type sequential circuit that outputs the fixed-length code in the next cycle after the variable-length code is recognized.
(b) Derive a state transition diagram when we design this sequential circuit as a Mealy-type sequential circuit that outputs the fixed-length code immediately after the variable-length code is recognized.
(c) Regarding the state transition diagram derived in (b), show the state transition table and the output table with the minimum number of states. Explain how you verified that the number of states is minimal.
(d) We implement a sequential circuit corresponding to the state transition table and the output table derived in (c) with the minimum number of D flip-flops. Derive the excitation function(s) of the D flip-flop(s) and the output functions of in a minimal sum-of-products form. Here, the initial value of a D flip-flop is 0, and logic variables of the input and the output of a D flip-flop are and , respectively. If multiple flip-flops are used, distinguish them by subscripts.
This is already the simplest state transition table. Because all states are distinguishable, meaning no two states produce the exact same output sequence for all possible input sequences