Add legalization of bit select to Legalize. Put Legalize after PadWidths.
Bit selecting a literal resulted in invalid Verilog. Legalize now deals with this by replacing any bits select of UInt or SInt literals with a new literal composed of the selected bits. Legalize also is now run after PadWidths because that pass introduces this issue. Fixes #170
parent
a5590a2e
Please register or sign in to comment