My design is a large parallel processing unit, which requires to find the
bit-length of signed numbers and dynamic shifting in a single cycle
Here is my code..
Are there any more efficient/fast methods to accomplish these two tasks?
My clock cycle is stingent, and many nested ifs or long case statements
might cause timing issues in later stages.