Commit 9edf656e authored by Jack's avatar Jack Committed by jackkoenig
Browse files

Legalize bit select. Run 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 f7dd234f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment