makanaky
Advanced Member level 4
- Joined
- Feb 1, 2007
- Messages
- 104
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 1,944
I need to make a design which uses a generic number of (4 to 2) priority encoders according to the input size . The design will be on many stages . For example if the input is 16 bits, then i will use 4 priority encoders in the first stage followed by a priority encoder in the 2nd stage.
If the input was 64 bit, then first stage will have 16 priority encoders , 2nd stage will have 4 priority encoders and 3rd stage will have alast priority encoder. My question is how to make all this Generic ?
If the input was 64 bit, then first stage will have 16 priority encoders , 2nd stage will have 4 priority encoders and 3rd stage will have alast priority encoder. My question is how to make all this Generic ?