What are the common and good usage of pre_randomize() and post_randomize() in SystemVerilog?
I list out the some usages:
pre_randomize & post_randomize function can have several uses based on the application.
Here is the list of few usage of those functions.
>Both functions can be overridden, and hence it can be possible to modify the randomization behavior with extended class
>Turn on/off few random variables
>Turn on/off few constraints
>Assignments to other nonrandom variable, on which the randomization is dependent
>Changing the weight of random variables, based on certain conditions
I got this much of information. if any one having extra knowledge please share me?