win3y
Member level 1
Hi everybody;
Is there any way to design a comparator N-bit with lowest cost?
The comparator I made as following:
I wish to make another comparator that occupies smaller hardware cost.
Thanks.
W3Y.
Is there any way to design a comparator N-bit with lowest cost?
The comparator I made as following:
Code:
input [N - 1:0] INP0, INP1;
output [N - 1:0] MIN;
assign MIN = (INP0 < INP1)? INP0:INP1;
I wish to make another comparator that occupies smaller hardware cost.
Thanks.
W3Y.