Zeyi Wang
12/10/2022, 12:54 AMMatthew Guthaus
12/10/2022, 1:04 AMZeyi Wang
12/10/2022, 1:28 AMZeyi Wang
12/10/2022, 1:28 AMMatthew Guthaus
12/10/2022, 1:39 AMStefan Schippers
12/10/2022, 1:50 AMZeyi Wang
12/11/2022, 2:10 AMStefan Schippers
12/13/2022, 10:39 AMxschem --tcl 'set initial_geometry 700x900' --command 'xschem raw_read $netlist_dir/rom8k_ngspice.raw; xschem print svg ~/graphs.svg' -q .xschem/xschem_library/rom8k_graphs.sch
where:
• --tcl 'set initial_geometry 700x900'
sets the window dimensions (for svg only aspect ratio matters)
• --command 'xschem raw_read $netlist_dir/rom8k_ngspice.raw; xschem print svg ~/graphs.svg'
tells xschem to load the spice .raw filwe after loading the schematic, and then do a svg export.
• -q
tells xschem to exit after doing the export.
you can add xschem toggle_colorscheme
before doing the xschem print command to get a white background image.Eric Keiter
12/14/2022, 6:39 PMMatthew Guthaus
12/14/2022, 6:41 PMEric Keiter
12/14/2022, 6:41 PMMatthew Guthaus
12/14/2022, 6:43 PMEric Keiter
12/14/2022, 6:44 PMMatthew Guthaus
12/14/2022, 6:44 PMEric Keiter
12/14/2022, 6:44 PMMatthew Guthaus
12/14/2022, 6:45 PMEric Keiter
12/14/2022, 6:47 PMMatthew Guthaus
12/14/2022, 6:47 PMEric Keiter
12/14/2022, 6:47 PMEric Keiter
12/14/2022, 6:47 PMMatthew Guthaus
12/14/2022, 6:49 PMMatthew Guthaus
12/14/2022, 6:51 PMEric Keiter
12/14/2022, 6:56 PMEric Keiter
12/14/2022, 6:56 PMMatthew Guthaus
12/14/2022, 7:02 PMStefan Schippers
12/14/2022, 7:05 PM-v <voltage>
option is given signals are digitized, otherwise they will be saved as they appear in the raw file, as real values.
I used this utility to view the digital part of a circuit, while using analog viewers for the analog part. gtkwave can display analog waves, but only in stacked mode as far as i know, so it can do the job but is not optimal. For digital signals / busses it works perfectly. In most of the cases i now use xschem's internal viewer as i can position the time cursor and see annotated values in the circuit.Matthew Guthaus
12/14/2022, 7:18 PMMatthew Guthaus
12/14/2022, 7:19 PMMatthew Guthaus
12/14/2022, 7:26 PMStefan Schippers
12/14/2022, 8:05 PMStefan Schippers
12/14/2022, 8:08 PMStefan Schippers
12/14/2022, 8:12 PMStefan Schippers
12/14/2022, 8:17 PM