Hi <@U01819B63HP> I try to pull circuit from githu...
# xschem
a
Hi @Stefan Schippers I try to pull circuit from github push by other teammate but we facing a issue of missing symbol what method we should follow to solve this issue thank you
c
Maybe the other teammate forgot to include the .sym file for that component
m
Make sure your team mate is not using absolute paths to reference the symbols and that you have the correct relative paths assigned.
a
thank you @Mitch Bailey @Christof Gindu for your reply i checked .sym file at right place but path is not matching . @Mitch Bailey could you explain little bit more about assigning reference symbols path . how we should avoid the absolute path. we try to follow some rule (made by us ) 1. we are working on same name folder(say PICO) 2. sub-circuit are present inside main folder . 3. each sub-circuit have its own sub-symbol (sym and sch are at same place ) . what changes we need to do tackle this problem thank you
s
@Ashutosh Kumar if you are working in folder '`PICO`' the best way to avoid these issues is: put the
xschemrc
file in the
PICO
directory and start xschem from there. add the following line at end in the
xschemrc
file:
append XSCHEM_LIBRARY_PATH :$env(PWD)
or the equivalent:
append XSCHEM_LIBRARY_PATH :[pwd]
If your schematic was created before doing this, edit the top
.sch
file, find the symbol name and change the symbol reference from:
C {/absolute/path/to/PICO/bandgap_opamp.sym} 610 -500 0 0 {name=x1}
to:
C {bandgap_opamp.sym} 610 -500 0 0 {name=x1}
Xschem will look for this
bandgap_opamp.sym
in any directories listed in
XSCHEM_LIBRARY_PATH
. This makes the design portable.
👍 1
a
thank you so much @Stefan Schippers