Stefan Schippers
08/12/2022, 11:12 AM..../share/pdk/sky130A/libs.tech/xschem/xschemrc
into it and start xschem from there. Does that work?milad
08/12/2022, 11:21 AMStefan Schippers
08/12/2022, 11:24 AM<xschem_install_root>/share/xschem/xschem_library/devices
exist?Stefan Schippers
08/12/2022, 11:26 AMputs $XSCHEM_LIBRARY_PATH
Is the above devices/ directory listed and correct?milad
08/12/2022, 11:30 AMmilad
08/12/2022, 11:32 AMStefan Schippers
08/12/2022, 11:33 AMmilad
08/12/2022, 11:35 AMStefan Schippers
08/12/2022, 11:35 AMgit clone <https://github.com/StefanSchippers/xschem> xschem_git
cd xschem_git
./configure --prefix=.....
make -j4
[sudo] make install
use sudo if you install in /usr/local (the default if you don't give any --prefix).milad
08/12/2022, 1:09 PMMilad:~/EDA/xschem_git/xschem_library/devices$ ls
adc_bridge.sym iopin.sym pmos3.sym
ammeter.sym ipin.sym pmos4.sym
arch_declarations.sym isource_arith.sym pmoshv4.sym
architecture.sym isource_pwl.sym pmosnat.sym
asrc.sym isource.sym pmos-sub.sym
assign.sym isource_table.sym pmos.sym
attributes.sym jumper.sym pnp.sym
bsource.sym k.sym port_attributes.sym
bus_connect_nolab.sym lab_generic.sym res3.sym
bus_connect.sym lab_pin.sym res_ac.sym
capa-2.sym lab_show.sym res.sym
capa.sym lab_wire.sym rgb_led.sym
cccs.sym launcher.sym rnmos4.sym
ccvs.sym led.sym spice_probe.sym
code_shown.sym netlist_at_end.sym spice_probe_vdiff.sym
code.sym netlist_not_shown_at_end.sym sqwsource.sym
conn_10x2.sym netlist_not_shown.sym switch_ngspice.sym
conn_14x1.sym netlist_options.sym switch.sym
conn_3x1.sym netlist.sym switch_v_xyce.sym
conn_4x1.sym ngspice_get_expr.sym title-2.sym
conn_6x1.sym ngspice_get_value.sym title.sym
conn_8x1.sym ngspice_probe.sym use.sym
connector.sym nmos3.sym var_res.sym
connect.sym nmos4_depl.sym vccs.sym
crystal-2.sym nmos4.sym vcr.sym
crystal.sym nmos-sub.sym vcvs.sym
dac_bridge.sym nmos.sym vdd.sym
delay_line.sym noconn.sym verilog_delay.sch
delay.sym npn.sym verilog_delay.sym
device_param_probe.sym opin.sym verilog_preprocessor.sym
diode.sym package_not_shown.sym verilog_timescale.sym
flash_cell.sym package.sym vsource_arith.sym
generic_pin.sym param_agauss.sym vsource_pwl.sym
gnd.sym param.sym vsource.sym
ind.sym parax_cap.sym zener.sym
when i install, the "xschem_library" consists:
Milad:/usr/local/share/xschem/xschem_library$ ls
adc_bridge.sym iopin.sym pmos3.sym
ammeter.sym ipin.sym pmos4.sym
arch_declarations.sym isource_arith.sym pmoshv4.sym
architecture.sym isource_pwl.sym pmosnat.sym
asrc.sym isource.sym pmos-sub.sym
assign.sym isource_table.sym pmos.sym
attributes.sym jumper.sym pnp.sym
bsource.sym k.sym port_attributes.sym
bus_connect_nolab.sym lab_generic.sym res3.sym
bus_connect.sym lab_pin.sym res_ac.sym
capa-2.sym lab_show.sym res.sym
capa.sym lab_wire.sym rgb_led.sym
cccs.sym launcher.sym rnmos4.sym
ccvs.sym led.sym spice_probe.sym
code_shown.sym netlist_at_end.sym spice_probe_vdiff.sym
code.sym netlist_not_shown_at_end.sym sqwsource.sym
conn_10x2.sym netlist_not_shown.sym switch_ngspice.sym
conn_14x1.sym netlist_options.sym switch.sym
conn_3x1.sym netlist.sym switch_v_xyce.sym
conn_4x1.sym ngspice_get_expr.sym title-2.sym
conn_6x1.sym ngspice_get_value.sym title.sym
conn_8x1.sym ngspice_probe.sym use.sym
connector.sym nmos3.sym var_res.sym
connect.sym nmos4_depl.sym vccs.sym
crystal-2.sym nmos4.sym vcr.sym
crystal.sym nmos-sub.sym vcvs.sym
dac_bridge.sym nmos.sym vdd.sym
delay_line.sym noconn.sym verilog_delay.sch
delay.sym npn.sym verilog_delay.sym
device_param_probe.sym opin.sym verilog_preprocessor.sym
diode.sym package_not_shown.sym verilog_timescale.sym
flash_cell.sym package.sym vsource_arith.sym
generic_pin.sym param_agauss.sym vsource_pwl.sym
gnd.sym param.sym vsource.sym
ind.sym parax_cap.sym zener.sym
but problem exists
Milad:/usr/local/share/pdk/sky130A/libs.tech/xschem$ xschem
Warning: PDK_ROOT env. var. not found or empty, trying to find an open_pdks install
open_pdks installation: using /usr/local/share/pdk
SKYWATER_MODELS: /usr/local/share/pdk/sky130A/libs.tech/ngspice
SKYWATER_STDCELLS: /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/title.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/launcher.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/code.sym
% l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/code_shown.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/title.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/lab_pin.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/isource.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/res.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/capa.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/vsource.sym
l_s_d(): Symbol not found: /usr/local/share/pdk/sky130A/libs.tech/xschem/sky130_tests/devices/code.sym
and when i type puts $XSCHEM_LIBRARY_PATH
in xschem tcl terminal i get
/usr/local/share/xschem/xschem_library:/usr/local/share/pdk/sky130A/libs.tech/xschem:/home/milad/.xschem/xschem_library:/usr/local/share/pdk/sky130A/libs.tech/xschem
Stefan Schippers
08/12/2022, 9:25 PMschippes@mazinga:~/xschem-git$ cd /usr/local/share/xschem/xschem_library/
schippes@mazinga:/usr/local/share/xschem/xschem_library$ ls
devices
So all the .sym files are under devices/ directory.
I don't know why you don't have this directory. Please delete everything:
rm -rf /usr/local/bin/xschem /usr/local/bin/rawtovcd /usr/local/man/man1/xschem.1 /usr/local/share/xschem /usr/local/share/doc/xschem
remove the git repository: rm -rf xschem_git
please redo the process and post here every single command , if you don't see the /`usr/local/share/xschem/xschem_library/devices` after `make install`Then we must investigate the system. This is the very first time i see make install
"forgets" to create a devices/
directory and puts all stuff in the parent directory...
Also ensure you have enough free disk space
Thank you for your help, this might help others if this issue appears to them.milad
08/13/2022, 7:04 AMsudo rm -rf /usr/local/bin/xschem /usr/local/bin/rawtovcd /usr/local/man/man1/xschem.1 /usr/local/share/xschem /usr/local/share/doc/xschem
rm -rf -v ~/EDA/xschem_git
rm -r -v ~/.xschem/
git clone <https://github.com/StefanSchippers/xschem> xschem_git
Milad:~/EDA/xschem_git$ ./configure
Milad:~/EDA/xschem_git$ make
Milad:~/EDA/xschem_git$ sudo make install
finally it's working.
the two different commands i was doing previously base on tutorial are:
schippes@mazinga:~$ sudo rm -rf /usr/local/share/xschem/ /usr/local/share/doc/xschem/
schippes@mazinga:~/xschem_git$ ./configure --prefix=/usr/local --user-conf-dir=~/.xschem --user-lib-path=~/share/xschem/xschem_library --sys-lib-path=/usr/local/share/xschem/xschem_library
maybe it was because of ./configure --sys-lib-path=/usr/local/share/xschem/xschem_library
Stefan Schippers
08/13/2022, 7:07 AMmilad
08/13/2022, 7:12 AMStefan Schippers
08/13/2022, 7:21 AM--sys-lib-path
is now set to /usr/local/share/xschem/xschem_library/devices
.
Tutorial also shows that the sample ./configure
with all parameters is just doing what ./configure
(with no parameters) does.
My fault was to install xschem without following line by line the tutorial. Thanks again.milad
08/13/2022, 8:21 AM