T
terabits
Guest
Hi
This is regarding how can i make a test becnh which can take eithr
random or constrained.
for example
i have a class packet,
fields are address, data and id. all these are randomized with rand.
in the class i have some tasks, these address and data are fed to the
tasks so as to generate a complete packet,
this is well and good, now i want to have some direct test cases like
i want to give my own address and data and id,
is it possible ? i have declared them as rand bits. pls clarify
rgds
This is regarding how can i make a test becnh which can take eithr
random or constrained.
for example
i have a class packet,
fields are address, data and id. all these are randomized with rand.
in the class i have some tasks, these address and data are fed to the
tasks so as to generate a complete packet,
this is well and good, now i want to have some direct test cases like
i want to give my own address and data and id,
is it possible ? i have declared them as rand bits. pls clarify
rgds