Can't Run UVM Code with Questa

551 views
Skip to first unread message

Sergei Posnov

unread,
Dec 17, 2020, 1:59:15 AM12/17/20
to EDA Playground
Link to code: https://www.edaplayground.com/x/TKJv
I am trying to study the basics of UVM, and so I downloaded a lab by Ray Salemi from the Verification Academy and tried to run it with a Questa run.do file, but first, it gives me warnings of the form 
Option '-L /usr/share/questa/questasim//uvm-1.2' was detected by vlog for design-unit 'top', but was not detected by vopt. The vlog option will be ignored.
Then it gives me a fatal error:
** Fatal: (SIGSEGV) Bad pointer access. Closing vsimk.
** Fatal: vsimk is exiting with code 211.

What am I doing wrong?

Eda Playground

unread,
Dec 18, 2020, 4:14:01 AM12/18/20
to Sergei Posnov, EDA Playground
You seem to have fixed it?

--
You received this message because you are subscribed to the Google Groups "EDA Playground" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eda-playgroun...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eda-playground/fd2bfddc-2dfa-4b0f-acdd-9c143c8db801n%40googlegroups.com.

Sergei Posnov

unread,
Dec 19, 2020, 3:17:08 PM12/19/20
to EDA Playground
Did you run it and get no errors? When I tried to run the thing just now, it still gave me the same error. So could you please help me out?

EDA Playground

unread,
Dec 21, 2020, 3:45:34 AM12/21/20
to EDA Playground
I was swapping simulators to see whether an error in your code was reported. In swapping back, it turned out I wasn't running using the run.do file. Not running using the run.do file, cures it.

The run.do file on EDA Playground is only for run time commands, not for compiling etc. (If you look at the command at the top of the transcript, you can see that.) So, I unchecked "Use run.do" and added +UVM_TESTNAME=counter_test to the Run Options and it worked fine:


Best regards,

Matthew

--

Sergei Posnov

unread,
Dec 21, 2020, 4:32:21 AM12/21/20
to EDA Playground, EDA Playground
Thank you very much for your response! So how should I "translate" the UVM-related run.do scripts into what EDA Playground can understand? I couldn't find any guides on that in the documentation.
Sergei

EDA Playground

unread,
Dec 21, 2020, 4:51:01 AM12/21/20
to EDA Playground
To be honest, unless you are doing something fancy, it is easier to use the EDA Playground GUI rather than a run.do script.

However, I have recently done some documentation about simulator Compile and Run Options. Perhaps I could do some about simulator TCL commands, too.

Matthew

Tahir R

unread,
Apr 14, 2024, 3:26:16 PM4/14/24
to EDA Playground
Hello Matthew, I have similar two questions:
1) How will we run two tests using the method you mentioned above?
2) Look at the example below. This example is not working anymore for some time now, what may be the reason? Previously it was working. 

Thank you, and best regards
Tahir

EDA Playground

unread,
Apr 17, 2024, 4:06:05 AM4/17/24
to EDA Playground
I have spent a bit of time trying to debug this script, but no success. My recommendation would be to run without the "use run.do" option set, observe the command that EDA Playground generates itself and then copy that into your script and go from there. 
Reply all
Reply to author
Forward
0 new messages