Fix FIRRTL to Verilog process instance subfield assignment.
authorJim Lawson <ucbjrl@berkeley.edu>
Tue, 26 Feb 2019 00:18:13 +0000 (16:18 -0800)
committerJim Lawson <ucbjrl@berkeley.edu>
Tue, 26 Feb 2019 00:18:13 +0000 (16:18 -0800)
commit171c425cf9addb61ef3f03596fd26355ed8af76d
treee620f9838187ab70fd65b5d6554c3b9252777fd8
parentc258b99040c8414952a3aceae874dc47563540dc
Fix FIRRTL to Verilog process instance subfield assignment.
Don't emit subfield assignments: bits(x, y, z) <= ... - but instead, add them to the reverse-wire-map where they'll be treated at the end of the module.
Enable tests which were disabled due to incorrect treatment of subfields.
Assume the `$firrtl2verilog` variable contains any additional switches to control verilog generation (i.e. `--no-dedup -X mverilog`)
backends/firrtl/firrtl.cc
tests/asicworld/xfirrtl
tests/simple/xfirrtl
tests/tools/autotest.sh