|
From: <sd...@cl...> - 2003-07-08 12:26:23
|
> > Hi -- > > > I am going to merge some of the tclspice code into ngspice mainstream > > (before committing some work I have done on CIDER and devices). I have > > checked out the main branch code (ng-spice-rework-14) and the TCLSPICE > > branch code. > > > > I would like to ask: > > > > To what extent XSPICE has been included into tclspice ? > > I mean: I have read the README file which says that users need > > to get some code from Spice-OPUS. Is this still true and why ? > > The thing you need from Spice-OPUS is the cmpp compiler. It is used > to turn the .mod and .ifs files into .c files. It is also used when > making the codemodel .cm (shared-object) files. It is not a part of > the tclspice code; rather, it is a compiler used to build the code. I should probably clarify this a little bit. The cmpp compiler is an executable which you get from Spice-OPUS. I have modified the Makefile.ams in the icm directory to call out for it when you make the spice2poly target from the raw spice2poly.mod and spice2poly.ifs files. If you don't rebuild the entire directory from scratch (which you probably don't want to do), then you don't need it. Perhaps the best way to understand how cmpp is used is to look at the Makefiles in the icm and icm/icm_spice2poly dirs. Stuart |