gEDA-dev: SPICE rawwaveform file

Thomas Hoffboll THoffboll at gmx.de
Mon Dec 3 14:27:35 EST 2007


Am Sonntag, den 02.12.2007, 12:12 -0500 schrieb al davis:
> On Sunday 02 December 2007, michel agoyan wrote:
> > I'm looking for a document describing the spice raw file
> > format for the waveforms.
> > If I'm correct a CSDF (common simulation data file) exist
> >  and  in fact a spice raw file  is a CSDF.
> > Actually I'm trying to use gwave  as a  waveform viewer for
> > my own tools.
> 
> Why don't you use plain ascii?  It's so much easier.....

So damm right binary can realy be a pain in ....  specialy if using
cross platforms, little and big endian are not defined in
Spice-raw-files so mixing will cause trouble.

> I have never seen a formal spec, but I never really looked.  I 
> don't follow the advertisements, so before you asked I didn't 
> know it had a name.  I have always considered the Spice "ascii 
> rawfile" format to be unnecessarily complicated, something we 
> would be better off without.  Looking at the file, it's clear 
> what it is.  It has extra baggage that only makes it more 
> difficult to generate and read without any real benefit.
> 
> Werner suggested looking at NGspice source.  To see what spice 
> does, I prefer looking at the original from Berkeley.  NGspice 
> has some arbitrary changes that are not necessarily 
> improvements.  
> 
> So, what are "your own tools"?

okay and maybe me wave form viewer is of help. you must have automake
and ./make_skript should help bulding. 

To get a File that is able to read spice raw data use the files
scr/analysis_data.hh and scr/analysis_data.cc

BTW still looking for a name for this tool, 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ygwave.tar.gz
Type: application/x-compressed-tar
Size: 111896 bytes
Desc: not available
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071203/7240465f/attachment-0001.bin 


More information about the geda-dev mailing list