circt
circt copied to clipboard
[FIRRTL] Mux reduction
This reduces multi-muxes with certain patterns of redundancy. This is a very abbreviated version of prime-implicant style coverings.
This can change the output value for an out-of-bounds index,
Also, having index == 0 being input[last] is supper supper annoying.
Also, having index == 0 being input[last] is supper supper annoying.
I agree it's really annoying but this is consistent withfirrtl.mux and hw.array_create.
Also, having index == 0 being input[last] is supper supper annoying.
I agree it's really annoying but this is consistent with
firrtl.muxandhw.array_create.
That doesn't mean we got those right either :)