Skip to content

Using vsc.randselect or vsc.distselect with a vsc.randobj class? #225

Answered by alwilson
stephenmm asked this question in Q&A
Discussion options

You must be logged in to vote

I believe randselect and distselect are meant as analogues to randcase in SV, which you would use to randomize procedural code. There is a distribution constraint you can use within a constraint block/function here: https://fvutils.github.io/pyvsc/constraints.html#dist

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by stephenmm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants