djg / verilated-rs

Verilator Porcelain
Apache License 2.0
36 stars 14 forks source link

Add option to disable width warning. #1

Closed dvc94ch closed 5 years ago

dvc94ch commented 5 years ago

Verilog generated by migen always uses constants with the minimum bitwidth. The migen developers think that enabling -Wno-width in verilator is the way to go. This PR enables using the verilated-rs crates with migen generated verilog.

djg commented 5 years ago

Hi. Thanks for your PR. Looks good to me.