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

PSA - Should random number generation allow run-time lo/hi values? #748

Open
jafingerhut opened this issue Mar 27, 2019 · 0 comments
Open

Comments

@jafingerhut
Copy link
Collaborator

In documenting v1model.p4 recently, and doing a quick pass review and comparison with PSA, I noticed that the PSA Random extern limits the specification of lo/hi values to compile-time constants in the constructor call, whereas v1model allows run-time lo/hi specification.

Perhaps that was an intentional limitation for PSA, but wanted to create an issue for us to consider the topic briefly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant