Spice 3f4/5 and XSpice 1.0

P

Paul Camilleri

Guest
Hello,

I'm interested in the actual workings of Spice and XSpice. I've examined the
sources of Berkley Spice 3f5 (which is 3f4 patched I assume), and I've
examined sources for XSpice version 1.0. Without wishing to take anything
away from these excellent projects, I've concluded that a major
debug/optimization step is required before I can proceed with the merge of
the two products. Given this, does anyone know where I may locate more
modern and freely available C/C++ sources for Spice 3f4/5 with XSpice
functionality already incorporated (preferably on the Windows NT platform)
as I would rather not re-invent an already well worn wheel.

Thanks in advance.

Paul
 
Paul Camilleri <paul.camilleri@nexus-rd.com> wrote:
: Hello,

: I'm interested in the actual workings of Spice and XSpice. I've examined the
: sources of Berkley Spice 3f5 (which is 3f4 patched I assume), and I've
: examined sources for XSpice version 1.0. Without wishing to take anything
: away from these excellent projects, I've concluded that a major
: debug/optimization step is required before I can proceed with the merge of
: the two products. Given this, does anyone know where I may locate more
: modern and freely available C/C++ sources for Spice 3f4/5 with XSpice
: functionality already incorporated (preferably on the Windows NT platform)
: as I would rather not re-invent an already well worn wheel.

Take a look at the tclspice project, which is the most active branch
of the ngspice project.

http://tclspice.sourceforge.net/

Tclspice is a superset of ngspice, which is basically a port of Spice
3f5. XSpice has been melded into ngspice/tclspice, and is working
now. With the project, you get the ability to read and simulate SPICE
netlists using old command-line interface, as well as the new ability
to incorporate SPICE commands into a TCL script, which is a cool way
to facilitate scripted design automation.

I have a section with more details about ngspice and tclspice in my
"SPICE on Linux HOWTO" available under:

http://www.brorson.com/gEDA/SPICE/simulation.html#ngspice

If you wanna hack SPICE, why not join others who are already doing it,
rather than hacking alone. The tclspice project is oriented towards
Linux users. I don't know if you can use this stuff under Winblows.
Come to the Penguin!

Stuart
 
Paul Camilleri wrote:
Hello,

I'm interested in the actual workings of Spice and XSpice. I've
examined the sources of Berkley Spice 3f5 (which is 3f4 patched I
assume), and I've examined sources for XSpice version 1.0. Without
wishing to take anything away from these excellent projects, I've
concluded that a major debug/optimization step is required before I
can proceed with the merge of the two products.
I'm not clear on what you mean by merge these products. XSpice is
already "merged" with Spice3. XSpice *is* Spice3c1 with eXtensions. For
example, I used the basic XSpice code and added in the last BSim3v3
Spice3 model from the Berkeley web site. Its a trivial copy file
process.

Given this, does
anyone know where I may locate more modern and freely available C/C++
sources for Spice 3f4/5 with XSpice functionality already
incorporated (preferably on the Windows NT platform) as I would
rather not re-invent an already well worn wheel.
http://www.beigebag.com/ have a copy of XSpice on their ftp site.


Kevin Aylward
salesEXTRACT@anasoft.co.uk
http://www.anasoft.co.uk
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.
 
Stuart,

Thanks for the information. I've had a look at tclspice and altered the
project so as to build correctly under Windows NT (VC6+SP3, Intel C++
version 6) and used the internal mechanism to add a GUI front end and
windows output for the plots. I like the project. The XSpice side does not
work for me though but that is probably down to me although I have set the
correct #defines equivalent to --enable-xspice --enable-nobypass. Same with
the Linux side (Redhat 8.0, gcc 3.something) too I'm afraid. I'll stop here
because this might not be the proper news group for further discussion
(software development) and the last thing I want is to piss-off my peers.
I'll look into those URL's you gave me.

Regards

Paul

"Stuart Brorson" <sdb@cloud9.net> wrote in message
news:vka7cvpj20npc2@corp.supernews.com...
Paul Camilleri <paul.camilleri@nexus-rd.com> wrote:
: Hello,

: I'm interested in the actual workings of Spice and XSpice. I've examined
the
: sources of Berkley Spice 3f5 (which is 3f4 patched I assume), and I've
: examined sources for XSpice version 1.0. Without wishing to take
anything
: away from these excellent projects, I've concluded that a major
: debug/optimization step is required before I can proceed with the merge
of
: the two products. Given this, does anyone know where I may locate more
: modern and freely available C/C++ sources for Spice 3f4/5 with XSpice
: functionality already incorporated (preferably on the Windows NT
platform)
: as I would rather not re-invent an already well worn wheel.

Take a look at the tclspice project, which is the most active branch
of the ngspice project.

http://tclspice.sourceforge.net/

Tclspice is a superset of ngspice, which is basically a port of Spice
3f5. XSpice has been melded into ngspice/tclspice, and is working
now. With the project, you get the ability to read and simulate SPICE
netlists using old command-line interface, as well as the new ability
to incorporate SPICE commands into a TCL script, which is a cool way
to facilitate scripted design automation.

I have a section with more details about ngspice and tclspice in my
"SPICE on Linux HOWTO" available under:

http://www.brorson.com/gEDA/SPICE/simulation.html#ngspice

If you wanna hack SPICE, why not join others who are already doing it,
rather than hacking alone. The tclspice project is oriented towards
Linux users. I don't know if you can use this stuff under Winblows.
Come to the Penguin!

Stuart
 
Kevin,

Thanks for the pointers (no pun intended). I've looked more closely at the
actual description of XSpice on the Georgia web site and have come to
realize that XSpice 1.0 is in fact a 'development' of Berkely Spice 3 (I
wondered which version of Berkely Spice but you supplied the answer). What I
was hoping not to have to do from scratch, has in fact already been done!
This is what I meant by 'merge', and as usual my ignorance has preceeded me.
I've downloaded the XSpice.zip file from beigebag.com and I'll have a look
at that. Keep up the good work with Superspice.

Regards

Paul

"Kevin Aylward" <kevin@anasoft.co.uk> wrote in message
news:_Ea1b.1540$ce2.336@newsfep3-gui.server.ntli.net...
Paul Camilleri wrote:
Hello,

I'm interested in the actual workings of Spice and XSpice. I've
examined the sources of Berkley Spice 3f5 (which is 3f4 patched I
assume), and I've examined sources for XSpice version 1.0. Without
wishing to take anything away from these excellent projects, I've
concluded that a major debug/optimization step is required before I
can proceed with the merge of the two products.

I'm not clear on what you mean by merge these products. XSpice is
already "merged" with Spice3. XSpice *is* Spice3c1 with eXtensions. For
example, I used the basic XSpice code and added in the last BSim3v3
Spice3 model from the Berkeley web site. Its a trivial copy file
process.

Given this, does
anyone know where I may locate more modern and freely available C/C++
sources for Spice 3f4/5 with XSpice functionality already
incorporated (preferably on the Windows NT platform) as I would
rather not re-invent an already well worn wheel.


http://www.beigebag.com/ have a copy of XSpice on their ftp site.


Kevin Aylward
salesEXTRACT@anasoft.co.uk
http://www.anasoft.co.uk
SuperSpice, a very affordable Mixed-Mode
Windows Simulator with Schematic Capture,
Waveform Display, FFT's and Filter Design.
 

Welcome to EDABoard.com

Sponsor

Back
Top