Tag Archives: vcs

[Solved] Git error: refname refs/heads/master not found

Problems encountered

Create a project and associate it to a git remote warehouse

$ git init
$ git remote add origin [email protected]:abeelan/vue_demo.git
$ git branch -M main
$ git push -u origin main

Execute the third line of command, and an error occurs when changing the branch name

error: refname refs/heads/master not found
fatal: Branch rename failed

Solution:

$ git init
$ git remote add origin [email protected]:abeelan/vue_demo.git
$ git add .
$ git commit -m "demo finished"
$ git branch -M main
$ git push -u origin main

To modify the branch name, you need to have a commit before you can change it.

ASIC VCS Error: Error-[VCS_COM_UNE] Cannot find VCS compiler [Solved]

[xxxx@localhost ~]$ vcs -h

Error-[VCS_COM_UNE] Cannot find VCS compiler
  VCS compiler not found. Environment variable VCS_HOME 
  (/opt/eda/synopsys/vcs-mx/N-2017.12-SP2/linux) is selecting a directory in 
  which there isn't a compiler 
  '/opt/eda/synopsys/vcs-mx/N-2017.12-SP2/linux/bin/vcs1' for a machine of 
  this type 'linux'.
  Please check whether 'VCS_HOME' is incorrect; if not, see below.

 Perhaps vcs hasn't been installed for machine of type "linux".
 Or the installation has been damaged.
 To verify whether vcsN-2017.12 supports machine of type "Linux 3.10.0-1160.31.1.el7.x86_64",
 please look at ReleaseNotes for more details .
 We determine the machine type from uname; maybe uname is incorrect.
 You can fix installation problems by reinstalling from CDROM 
 or downloading it from the Synopsys ftp server. 
 For assistance, please contact vcs technical support
 at [email protected] or call 1-800-VERILOG 

Two solutions:

1. Specify VCs as 64 bit mode through the – full64 parameter

alias vcs ='vcs -full64'

2. Set VCS_ TARGET_ Arch is linux64

export VCS_TARGET_ARCH=linux64

Zhang Qiang UVM debug

If you instantiate tr and type TF, the fastest way to do this is to search the given prompt (usually in double quotes), and you’ll find a very low-level error. The error report will tell you which lines are wrong
This error means that the corresponding signal cannot be found and needs to be modified
A signal cannot be found, you need to track whether the signal exists or whether the road stiffness has changed
The

the object at dereference depth 0 is being used before it was constructed allocated.
please make sure that the object is allocated before using it

The reason is that there is no new for the corresponding property or objec. If the following code exists in top_tb.sv, it should be commented out

initial begin
   my_driver drv;
   drv = new("drv", null);
   drv.main_phase(null);
   $finish();
end
  1. cross-module reference resolution error