[hls-fuzzer] Implement limits on parameters#973
Open
zero9178 wants to merge 1 commit into
Open
Conversation
Occaisonally, type systems require there to be a limit on the number of parameters, either scalars or arrays or both. There are two concrete use-cases in dynamatic: * Sometimes the generator generates so many parameters that the `CALL_KERNEL` method no longer works due to limits in C++ compilers regarding template metaprogramming. These currently appear as false positives in the fuzzer * For LSQ sizing and probably other LSQ related exercises we only want a specific number of LSQs to be present for the sake of testing and simplifying verification logic (e.g. to only need to focus on one LSQ at a time). This allows us to configure the type system such that there is only array parameter The implementation uses a reusable base class that can also be used in the future for any other similar type systems that are merely "counting", i.e. monotonic
d47ac3f to
32e0894
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.
Occaisonally, type systems require there to be a limit on the number of parameters, either scalars or arrays or both. There are two concrete use-cases in dynamatic:
CALL_KERNELmethod no longer works due to limits in C++ compilers regarding template metaprogramming. These currently appear as false positives in the fuzzerThe implementation uses a reusable base class that can also be used in the future for any other similar type systems that are merely "counting", i.e. monotonic