New spicewish and uped version

This commit is contained in:
stefanjones 2003-03-31 20:31:02 +00:00
parent 6fd2f53259
commit c31c217ac5
4 changed files with 3416 additions and 2942 deletions

View File

@ -173,7 +173,7 @@ CLEANFILES = pkgIndex.tcl libspice.so
TCL_PKG_PATH = @TCL_PACKAGE_PATH@
TCLSPICE_VERSION = 0.2.7
TCLSPICE_VERSION = 0.2.8
TCL_FILES = libspice.so pkgIndex.tcl
@ -197,6 +197,7 @@ install-tclspice: ${TCL_FILES}
install -c -m 644 libspice.so $(TCL_PKG_PATH)
mkdir -p $(TCL_PKG_PATH)/spice
install -c -m 644 pkgIndex.tcl $(TCL_PKG_PATH)/spice
install -c -m 644 tclspice_source.tcl $(TCL_PKG_PATH)/spice
tclspice.o: tclspice.c
$(COMPILE) -c -fpic tclspice.c -DTCLSPICE_version="\"$(TCLSPICE_VERSION)\""

File diff suppressed because it is too large Load Diff

View File

@ -34,7 +34,7 @@ Installation:
The install commands are:
From the root directory of the source:
./configure --enable-tcl --enable-experimental --enable-xspice --disable-shared
./configure --enable-tcl --enable-experimental --disable-shared
make tcl
And as root:
make install-tcl
@ -158,6 +158,23 @@ Plotting functions;
If any of the Tcl callback functions cause an error then a crash may occour as tcl
overwrites random data in the spice code. Not sure why.
SpiceWish:
This is a wish GUI to spice, it contains among other things graphical plotting.
To use it you need to have Tclx installed.
To initilise the GUI type:
% spice_init_gui <file>
where file is your spice circuit file.
This will pop up a GUI for spice.
Commands available in spicewish:
spicewish::plot spice_vars ...
Plots the given spice variables on a BLT graph.
Try "namespace import spicewish::plot" to make this your default plot command ( highly recommended ).
TODO & BUGS
1) plot and iplot don't work: window opens then tclsh stops, Xserver doesn't respond to spice requests

3386
src/tclspice_source.tcl Normal file

File diff suppressed because it is too large Load Diff