Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Add --dont-fold option to disable folding specific prim ops (bp #2040) #2050

Merged
merged 1 commit into from
Jan 20, 2021

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 20, 2021

This is an automatic backport of pull request #2040 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

This adds a --dont-fold options (backed by a DisableFold annotation)
that lets a user specify primitive operations which should never be
folded. This feature lets a user disable certain folds which may be
allowable in FIRRTL (or by any sane synthesis tool), but due to inane
Verilog language design causes formal equivalence tools to fail due to
the fold.

Add a test that a user can disable `a / a -> 1` with a
DisableFold(PrimOps.Div) annotation.

Signed-off-by: Schuyler Eldridge <[email protected]>
(cherry picked from commit 698a9dc)
@mergify mergify bot added the Backport Automated backport, please consider for minor release label Jan 20, 2021
@mergify mergify bot merged commit 557b0cc into 1.4.x Jan 20, 2021
@mergify mergify bot deleted the mergify/bp/1.4.x/pr-2040 branch January 20, 2021 04:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Backport Automated backport, please consider for minor release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant