I am running ubuntu on a VM and in order to save s...
# analog-design
m
I am running ubuntu on a VM and in order to save space I want to save mt waveforms and results in the shared folder. To do this i have defined some new paths for the files. The files get saved but the xschem load arrow that loads the data into the graph doesn't work. Any suggestions why is this hhappening?
s
use the absolute path in the 'arrow' component. Using variables defined in spiceinit is pointless. Otherwise You can define a tcl variable in the xschemrc:
set simulations_results /path/to/directory
m
Thanks! Is there a way to write the tcl variable in a file and load it ecah time I satrt xschem?
s
you can write a
small_file
and source it in the xschemrc:
source /path/to/small_file
`small_file`:
Copy code
set simulations_results /path/to/directory
in tcl:
Copy code
set fd [open small_file w]
puts $fd "set simulations_results /path/to/dir"       
close $fd
m
Thanks again!