Skip to content

[hls-fuzzer] Implement limits on parameters#973

Open
zero9178 wants to merge 1 commit into
mainfrom
users/zero9179/limit-params
Open

[hls-fuzzer] Implement limits on parameters#973
zero9178 wants to merge 1 commit into
mainfrom
users/zero9179/limit-params

Conversation

@zero9178

Copy link
Copy Markdown
Collaborator

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

@zero9178 zero9178 requested a review from Jiahui17 June 12, 2026 16:06
@zero9178 zero9178 changed the base branch from users/zero9179/weak-dep to main June 15, 2026 14:44
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
@zero9178 zero9178 force-pushed the users/zero9179/limit-params branch from d47ac3f to 32e0894 Compare June 15, 2026 14:45
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.

1 participant