Returns a copy of this ExprGenParams with the maximum depth decremented
Returns a copy of this ExprGenParams with the maximum depth decremented
A list of frequency/expression generator pairs
A list of frequency/expression generator pairs
The frequency number determines the probability that the corresponding generator will be chosen. i.e. for sequece Seq(1 -> A, 2 -> B, 3 -> C), the probabilities for A, B, and C are 1/6, 2/6, and 3/6 respectively. This sequency must be non-empty and all frequency numbers must be greater than zero.
Returns a copy of this ExprGenParams with the maximum depth incremented
Returns a copy of this ExprGenParams with the maximum depth incremented
The maximum levels of nested sub-expressions that may be generated
The maximum width of any generated expression, including sub-expressions
The namespace to use for generating new References
The namespace to use for generating new References
The set of generated references that don't have a corresponding declaration
The set of generated references that don't have a corresponding declaration
Returns a copy of this ExprGenParams with the reference added to the set of unbound references
Returns a copy of this ExprGenParams with the reference added to the set of unbound references
Runs the expression generator once and returns the generated expression wrapped in a Module and Circuit
A set of parameters for randomly generating Expressions