Forum Discussion
Lisence issue when running .do script
How is your queue declared ?
Be aware that if you want to use the SV randomization, you need an advanced version of Questa (to use the Solver) and neither Starter nor OEM Editions do have this. OTOMH that's what the svverification license feature is enabling. $urandom (Verilog) etc will work, but not the SV randomization methods.
- WFH4 months ago
New Contributor
Hello,
the declaration of the queues is like this:
bit [7:0] loc [$];
bit [7:0] golden[$];
And I did not use any method like randomization but $urandomm just as showed in attachment 2 and 3.
If I change the "program" to "module", the code runs. Is the Starter Edition unable to use the SV keywords like "program"?
- BCuze4 months ago
Occasional Contributor
I was precisely wondering about the program block.
So you have the proper workaround it seems :-)Just out of curiosity : what was your motivation for using a program block ?
I have been teaching SV for as long as it exists and we even removed the chapter about the program block...
I remember that it was (in the early days of SV at least) a source of trouble in the SV scheduler implementation (and a source of non determinism across tools).- WFH4 months ago
New Contributor
Thank you:)
I am beginner for learning SV for verification. In my Textbook it introduces the Program block that it is used to seperate the software block(Input stimulus written in Program) and hardware block(DUT).
Is that out of date?
- BCuze4 months ago
Occasional Contributor
In your case, it prevents you from using affordable versions of Questa, so it's definitely a serious reason to avoid the program block.
I could change my mind, but only the day I will see a clear advantage of using it.