Matt Venn
03/08/2024, 12:24 PMMatt Venn
03/08/2024, 12:24 PMMatt Venn
03/08/2024, 12:25 PMMatt Venn
03/08/2024, 12:25 PMMatt Venn
03/08/2024, 12:26 PMset local_netlist_dir 1
Matt Venn
03/08/2024, 12:26 PMStefan Schippers
03/08/2024, 2:10 PMStefan Schippers
03/10/2024, 12:12 PMset local_netlist_dir 1
, if you want to load some raw files at startup after all the xschemrc settings have been applied use this command in the xschemrc
file:
set postinit_commands {
set rawfile $netlist_dir/[file rootname [xschem get current_name]].raw
xschem raw read $rawfile tran
xschem redraw
}
Matt Venn
03/10/2024, 2:47 PMMatt Venn
03/10/2024, 2:47 PMMatt Venn
03/10/2024, 2:47 PMMatt Venn
03/10/2024, 2:47 PMMatt Venn
03/10/2024, 2:48 PMset local_netlist_dir 1
set in the local xschem init fileStefan Schippers
03/10/2024, 2:49 PMMatt Venn
03/10/2024, 2:53 PMStefan Schippers
03/10/2024, 2:53 PMStefan Schippers
03/10/2024, 2:54 PMMatt Venn
03/10/2024, 2:54 PMStefan Schippers
03/10/2024, 3:04 PMset netlist_dir ...
) in your xschemrc that follows the set local_netlist_dir 1
? In this case you overwrite the netlist_dir destination. If this is the case comment the set netlist_dir
line.Matt Venn
03/10/2024, 3:27 PMStefan Schippers
03/10/2024, 11:10 PMschippes@asus:~/.xschem/xschem_library/tt06-analog-r2r-dac/xschem$ xschem testbench.sch
Warning: PDK_ROOT env. var. not found or empty, trying to find an open_pdks install
open_pdks installation: using /home/schippes/share/pdk
SKYWATER_MODELS: /home/schippes/share/pdk/sky130A/libs.tech/ngspice
SKYWATER_STDCELLS: /home/schippes/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice
setup_tcp_bespice: success : listening to TCP port: 2022
xschem [~/.xschem/xschem_library/tt06-analog-r2r-dac/xschem] Raw file data read: /home/schippes/.xschem/xschem_library/tt06-analog-r2r-dac/xschem/simulation/testbench.raw
points=27777, vars=80, datasets=1 sim_type=tran
If you can after calling xschem testbench.sch try to do this in the xschem terminal:
puts $netlist_dir
/home/schippes/.xschem/xschem_library/tt06-analog-r2r-dac/xschem/simulation
Do you get the correct directory (simulation/ under the xschem directory) ?