M
Mr. Ken
Guest
An irregular array contains a[32] = {0, 3, 10, 17, 33, ..., 1000}, find the
location my data is.
For example, if data is between 0~3, result = 1, between 3~10, result = 2,
etc.
Do I write 64 comparators to find out the result (assuming single cycle
operation).
Thanks.
location my data is.
For example, if data is between 0~3, result = 1, between 3~10, result = 2,
etc.
Do I write 64 comparators to find out the result (assuming single cycle
operation).
Thanks.