Hi,
Can anyone here please help me in figuring out how to do this? My circuit has to select the first two bits that are '1' in a 16 bit register that could have any number of ones, randomly spreadout. I'm a VHDL and logic design newbie and would appreciate ideas on this one. The software implementation is quite straight forward for this one but I'm having trouble in 'thinking hardware'
Thanks,
G
Can anyone here please help me in figuring out how to do this? My circuit has to select the first two bits that are '1' in a 16 bit register that could have any number of ones, randomly spreadout. I'm a VHDL and logic design newbie and would appreciate ideas on this one. The software implementation is quite straight forward for this one but I'm having trouble in 'thinking hardware'
Thanks,
G