1 Bit Comparator Circuit. It consists of two inputs each for two single bit numbers and three outputs to generate less than equal to and greater than between two binary numbers. Not more than 5 lines.
The figure below shows the block diagram of a single bit magnitude comparator. Not more than 5 lines. A magnitude digital comparator is a combinational circuit that compares two digital or binary numbers in order to find out whether one binary number is equal less than or greater than the other binary number.
Then we can say that the voltage comparator is essentially a 1 bit analogue to digital converter as the input signal is analogue but the output behaves digitally.
Therefore z a b ab. Therefore z a b ab. The truth table for the single bit comparator is given below. Write the verilog hdl code for 1 bit comparator and then 2 bit comparator using hierarchical modeling technique.
