Comparision

J

john

Hello,

I am trying to comapare two 14bit unsigned numbers. Now comparision is
easy but I have 10 macrocells available to do it.
So can anybody suggest me the best optimized way to do it!

Thanks
john
 
J

Jezwold

I wouldnt have though that there is a very big solution
space,comparison is comparison.Ten macro cells gives you I don't know
how many gates but more than you need.
 
M

Mike Treseler

john said:
I am trying to comapare two 14bit unsigned numbers. Now comparision is
easy but I have 10 macrocells available to do it.
So can anybody suggest me the best optimized way to do it!

That's tight.
Brute force I get 9 LCs in a maxii or 11 LCs in a max3.
If you can spare 15 clock ticks of time,
you could shift them through one bit registers
and set a flop on the first mismatch.

-- Mike Treseler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,731
Messages
2,569,432
Members
44,832
Latest member
GlennSmall

Latest Threads

Top