Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with SSA reuse of signals #387

Merged
merged 2 commits into from
Jun 20, 2023
Merged

Conversation

mkorbel1
Copy link
Contributor

Description & Motivation

In some cases of logic reuse for SSA, there was a scenario where signals could attempt to reconnect to themselves causing false failures. This PR fixes the bug by skipping over those cases.

This bug was discovered via the integer pipeline multiplier in ROHD-HCL with an updated dependency.

Related Issue(s)

N/A

Testing

Added 2 tests:

  • one is based on the pipeline code from ROHD-HCL pipelined integer multiplier
  • one is a distilled minimal example to reproduce the issue in just SSA

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No

@quekyj
Copy link
Contributor

quekyj commented Jun 19, 2023

What is SSA?

@mkorbel1
Copy link
Contributor Author

What is SSA?

https://en.wikipedia.org/wiki/Static_single-assignment_form

See #344 and #290 for how we got to using it. I am going to write something up about it soon.

@mkorbel1 mkorbel1 merged commit 5192eca into intel:main Jun 20, 2023
@mkorbel1 mkorbel1 deleted the ssamultidep branch June 20, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants