diff options
| author | Schuyler Eldridge | 2020-07-25 02:15:42 -0400 |
|---|---|---|
| committer | GitHub | 2020-07-25 06:15:42 +0000 |
| commit | d4e1a466568644cef587bb6eea3c102ba879e7b8 (patch) | |
| tree | bb1341d024cfac8122b423f952698f4ad4117f3b /test | |
| parent | b24b9a0167762b7f7ef1aae3fd6735a3bb1f898e (diff) | |
Integrate new transforms with firrtl.stage.Forms (#1754)
Move new transforms, recently added, into existing or new sets of
transforms (defined in firrtl.stage.Forms).
One transform is a mandatory low FIRRTL optimization:
- firrtl.transforms.LegalizeAndReductionsTransform
Previously, this was included as a prerequisite of all Verilog
emitters (minimum, normal, and SystemVerilog).
Two transforms associated with converting and removing the new
verification statements are moved into a new set of transforms,
AssertsRemoved:
- firrtl.transforms.formal.ConvertAsserts
- firrtl.transforms.formal.RemoveVerificationStatements
Previously, these transforms were directly added as prerequisites to
the minimum Verilog and normal Verilog emitter, but not the
SystemVerilog emitter.
The designation of inputForm=LowForm for legacy, custom transforms is
updated to include assertion removal transforms as part of their
optionalPrerequisites. This has the effect of continuing to cause
inputForm=LowForm transforms to run as late as possible (right before
the low FIRRTL, minimum Verilog, Verilog, or SystemVeriog emitter).
Tests are updated to reflect the new order in both CustomTransformSpec
and LoweringCompilersSpec.
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
