Digital System Design - Assignment-2
Digital System Design - Assignment-2
Assignment-2
Design a digital thermometer system that can compensate for errors in the temperature sensing
device’s output T, which is an 8-bit input to the system. The compensation amount can be positive
only and comes to the system as a 3-bit binary number c, b, and a (a is the least significant bit),
which come from a 3-pin DIP switch. The system should output the compensated temperature on
an 8-bit output U.
Use magnitude comparators and logic to design a circuit that computes the minimum of three 8-
bit numbers.
Design a special multiplier circuit that can multiply its 16-bit input by 1, 2, 4, 8, or 16, or 32,
specified by three inputs a, b, c (abc=000 means no multiply, abc=001 means multiply by 2,
abc=010 means by 4, abc=011 means by 8, abc=100 means by 16, abc=101 means by 32).
Question 4 __ [5 marks]
Design a 4-bit up/down-counter that has four control inputs: cnt_up enables counting up,
cnt_down enables co/unting down, clear synchronously resets the counter to all 0s, and set
synchronously sets the counter to all 1s. If two or more control inputs are 1, the counter retains its
current count value. Use a parallel load register as a building block.