Even though the comparison is done on a bit-by-bit basis


Write a VHDL model for an N-bit comparator using an iterative circuit. In the entity, use the generic parameter N to define the length of the input bit-vectors A and B. The comparator outputs should be EQ = ‘1' if A = B, and GT = ‘1' if A > B. Use a for loop to do the comparison on a bit-by-bit basis, starting with the high order bits. Even though the comparison is done on a bit-by-bit basis, the final values of EQ and GT apply to A and B as a whole.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Even though the comparison is done on a bit-by-bit basis
Reference No:- TGS02164296

Expected delivery within 24 Hours