Avoid creating def-use constraints for nodes which are dead after synthesis.#3810
Draft
copybara-service[bot] wants to merge 1 commit intomainfrom
Draft
Avoid creating def-use constraints for nodes which are dead after synthesis.#3810copybara-service[bot] wants to merge 1 commit intomainfrom
copybara-service[bot] wants to merge 1 commit intomainfrom
Conversation
…thesis. Dead-after-synthesis nodes (ie nodes which are ultimately only visible from trace, cover or assert nodes) are modeled as having zero delay since synthesis tools will be able to recognize their computation plays no part in the ultimate chip design and so can be ignored. Unfortunately we were still scheduling these nodes as normal (albeit with zero delay). This works but can cause scaling issues due to the addition of (trivial) constraints. By instead excluding these from the constraint model and instead doing the trivial scheduling as a final fixup step the schedulers performance can be drastically improved. We have seen as codegen times fall by more than half on some designs. PiperOrigin-RevId: 866633719
569e7ec to
9cbff4c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Avoid creating def-use constraints for nodes which are dead after synthesis.
Dead-after-synthesis nodes (ie nodes which are ultimately only visible from trace, cover or assert nodes) are modeled as having zero delay since synthesis tools will be able to recognize their computation plays no part in the ultimate chip design and so can be ignored. Unfortunately we were still scheduling these nodes as normal (albeit with zero delay). This works but can cause scaling issues due to the addition of (trivial) constraints. By instead excluding these from the constraint model and instead doing the trivial scheduling as a final fixup step the schedulers performance can be drastically improved.
We have seen as codegen times fall by more than half on some designs.