Fix for br994 - assertion failure when synthesising a mux.
(cherry-picked from master branch) The elaborator allows the RHS of assignment to be wider than the LHS. When using an if statement to represent a mux, this meant the mux inputs could be different widths, resulting in an assertion failure during synthesis. The fix is to prune the RHS to match the LHS for each assignment. This has the benefit of minimising the mux width.
This commit is contained in:
parent
086ce04cf5
commit
faf9bfe158
Loading…
Reference in New Issue