Reference

xschem(1)

schematic capture and netlisting EDA tool

NAME

xschem - schematic capture and netlisting EDA tool

SYNPOSIS

xschem [options] [inputfile]

DECSRIPTION

Xschem is a schematic capture program, it allows creation of hierarchical representation of circuits with a top down approach.

OPTIONS

-h, --help

Print help and exit.

-b, --detach

Detach xschem from console (no output and no input from console)

-n, --netlist

Do a netlist of the given schematic cell.

-v, --version

Print version information and exit.

-V, --vhdl

Set netlist type to VHDL.

-S, --simulate

Run a simulation of the current schematc file (spice/Verilog/VHDL, depending on the netlist type chosen).

-w, --verilog

Set netlist type to Verilog.

--tcl <tcl_script>

Execute specified tcl instructions before any other action, this can be used to change xschemrc variables.

--preinit <file>

Execute specified tcl instructions before any other action and before loading xschemrc.

--command <tcl_cmd>

Execute specified tcl commands after completing startup.

--script <file>

Execute specified tcl file as a command script (perhaps with xschem commands).

--diff <file>

Show differences with given file.

--tcp-port <number>

Listen to specified tcp port for client connections. (number >=1024).

-i, --no_rcload

Do not load any xschemrc file.

-o, --netlist_path

Set output for netlist.

-N, --netlist_filename

Set name (only name, not path) of top level netlist file.

-t, --tedax

Set netlist type to tEDAx.

-s, --spice

Set netlist type to SPICE.

-y, --symbol

Set netlist type to symbol global property edit.

-x, --no_x

Dont use X (only command mode).

-z, --rainbow

Use a raibow-looking layer color table.

-W, --waves

Show simulation waveforms.

-f, --flat_netlist

Set flat netlist (for spice format only).

-r, --no_readline

Start without the tclreadline package ( this is necessary if stdin and stdout are to be redirected for example to /dev/null).

-c, --color_ps

Set color postscript.

--plotfile <file>

Use <file> as output for plot export (png, svg, postscript/pdf)

--rcfile <file>

Use <file> as a rc file for startup instead of the default xschemrc.

-p, --postscript, --pdf

Export pdf schematic.

--png

Export png schematic.

--svg

Export svg schematic.

-q, --quit

Quit after doing things (no interactive mode).

-l file, --log file

Set a log file.

-d n, --debug n

Set debug level: 1, 2, 3,...: C program debug, -1, -2, -3...: TCL frontend debug.

FILES

/usr/share/xschem/xschemrc

default configuration.

~/.xschem/xschemrc

user configuration; if exists overrides settings from default configuration; may be partial: settings not overridden will remain as set from the system config.

./xschemrc

local/per-project configuration; if exists overrides settings from the user configuration and default configuration.

/usr/share/xschem/systemlib

builtin essentials, such as font and missing symbol graphics.

/usr/share/xschem/utile

TODO.

History

--color_ps since Debian 13 (Trixie); --command since Debian 13 (Trixie); --debug since Debian 13 (Trixie); --detach since Debian 13 (Trixie); --diff since Debian 13 (Trixie); --flat_netlist since Debian 13 (Trixie); --help since Debian 13 (Trixie); --log since Debian 13 (Trixie); --netlist since Debian 13 (Trixie); --netlist_filename since Debian 13 (Trixie); --netlist_path since Debian 13 (Trixie); --no_rcload since Debian 13 (Trixie); --no_readline since Debian 13 (Trixie); --no_x since Debian 13 (Trixie); --pdf since Debian 13 (Trixie); --plotfile since Debian 13 (Trixie); --png since Debian 13 (Trixie); --postscript since Debian 13 (Trixie); --preinit since Debian 13 (Trixie); --quit since Debian 13 (Trixie); --rainbow since Debian 13 (Trixie); --rcfile since Debian 13 (Trixie); --script since Debian 13 (Trixie); --simulate since Debian 13 (Trixie); --spice since Debian 13 (Trixie); --svg since Debian 13 (Trixie); --symbol since Debian 13 (Trixie); --tcl since Debian 13 (Trixie); --tcp-port since Debian 13 (Trixie); --tedax since Debian 13 (Trixie); --verilog since Debian 13 (Trixie); --version since Debian 13 (Trixie); --vhdl since Debian 13 (Trixie); --waves since Debian 13 (Trixie); -N since Debian 13 (Trixie); -V since Debian 13 (Trixie); -b since Debian 13 (Trixie); -o since Debian 13 (Trixie); -y since Debian 13 (Trixie).

-3 until Debian 12 (Bookworm).