Compilation of library for co-simulation environment

Hello Sir,

I am new to the integration of SystemC and UVM environment. Can you please guide how to set the path of library for questasim tool for uvm-1.1d and uvmc-2.3.1. I am setting the path in “.cshrc” file using the following command:

setenv UVM_HOME $MGC_HOME/verilog_src/uvm-1.1d
setenv UVMC_HOME $MGC_HOME/verilog_src/uvmc-2.3.1
setenv UVM_LIB $MGC_HOME/uvm-1.1d
setenv UVMC_LIB $MGC_HOME/uvmc-2.3.1

But while compiling the library for 64 bit with the command :

make -f Makefile.questa uvmc64

It shows error:

** Fatal: (vlog-1991) Library "/home/lap2/Desktop/tool/questasim/uvmc-2.3.1" cannot be modified due to a lock.
** Error: (vlog-7) Failed to open  file "/home/lap2/Desktop/tool/questasim/uvmc-2.3.1/_vmake" in read/write mode.
Permission denied. (errno = EACCES)
** Error: (vlog-7) Failed to open vmake file "/home/lap2/Desktop/tool/questasim/uvmc-2.3.1/_vmake" in write mode.
Permission denied. (errno = EACCES)

Please help me in knowing how to set the correct path. My tool questasim has path: ~/Desktop/tool/questasim/verilog_src.

Regards
Sunil S.

In reply to sunils:

It seems you are trying to access the pre-compiled libraries in your Questa installation path.
And I guess your make command is wrong.
Try simply
make -f Makefile.questa

In reply to chr_sue:
Thanks Chr_Sue, It is working now. Thanks.

Regards
Sunil S.