stanford
Full Member level 2
Code:
case (input[9:0])
0: ...
1: ...
2: ...
...
1023: ..
default: ...
endcase
Let's say that there is a 10 bit input and have 1024 possible case statements. If I were to write the case statements in such a way, input == 0 will have the highest priority, and so on.
1. If this the timing is critical for this and priority is not important, would using "unique case" tell the tool that priority is not required so that it can optimize the path further?
2. How does the hardware look like if there is no priority and have many possible drivers?
Thanks!!