The volume of liquid in a fifteen-liter tank is measured to the nearest liter and presented in binary code to a combinational logic circuit represented by the block diagram in the attached figure. The output of the logic circuit represents the volume in pints.
Thus, for the input, DCBA = 0000 means the tank is empty and DCBA =1111 means the tank is full (15 liters). For the output, ZYXWV = 00000 implies an empty tank and ZYXWV = 111111 represents a reading of 31 pints.
a) Construct a truth table for the circuit.
b) Derive minimised boolean expressions for each output.
c) Design minimised circuits using direct logic (i.e. AND, OR and NOT gates only) for outputs Y and Z.
d) Design minimised circuits using just NAND gates for outputs Y and Z.