Comments on Mux example
This is one way to write a mux, but is not the best way. The when-else structure is actually a priority structure.
- A mux has no priority between inputs, just a simple selection.
- The synthesis tool has to work harder than necessary to understand that all possible choices for sel are specified and that no priority is necessary.
Just want a simple selection mechanism.