Maker Pro
Maker Pro

data structure in spice source code

D

Dilips

Jan 1, 1970
0
Hello,

Can anybody please tell me, how to print the matrix formed during
spice simulation. I am interested in seeing the values of the matrix
formed from various circuits.

Can sombody please guide me as to which data structure will the matrix
be in the spice code and how to see its value during simulation?

Thanks,
dilip
 
J

joseph2k

Jan 1, 1970
0
Dilips said:
Hello,

Can anybody please tell me, how to print the matrix formed during
spice simulation. I am interested in seeing the values of the matrix
formed from various circuits.

Can sombody please guide me as to which data structure will the matrix
be in the spice code and how to see its value during simulation?

Thanks,
dilip

Quite simple really, get any of several free versions of spice source code
and compile it for debugging. Start up a simulation and go wading through
the data set. Once you have done that, you may know enough to print that
data you are after from your modified version of spice. Aside from that,
you seem to be quite the blazing idiot to even attempt such a thing.
 
D

Dilips

Jan 1, 1970
0
Quite simple really, get any of several free versions of spice source code
and compile it for debugging. Start up a simulation and go wading through
the data set. Once you have done that, you may know enough to print that
data you are after from your modified version of spice. Aside from that,
you seem to be quite the blazing idiot to even attempt such a thing.

I have to give the matrix I obtain to another module for some research
I am pursuing. I am not familiar with spice3. Could you please
elaborate on wading through data set. It is really important that I
get a hold of this matrix.

Thanks
dilip
 
J

joseph2k

Jan 1, 1970
0
Dilips said:
I have to give the matrix I obtain to another module for some research
I am pursuing. I am not familiar with spice3. Could you please
elaborate on wading through data set. It is really important that I
get a hold of this matrix.

Thanks
dilip

Google for spice source code. Get a version you like, compile for debugging
and run it in a debugger. You should even have all the relevant variable
names from the source code.
 
J

John Barrett

Jan 1, 1970
0
joseph2k said:
Google for spice source code. Get a version you like, compile for
debugging
and run it in a debugger. You should even have all the relevant variable
names from the source code.

You dont even have to compile for debug -- just find where the code builds
the matrix and dump it to a file in some usable format just before the
program starts simulation. No need to wade through an executing program.

Use The Code, Luke !! :)
 
J

joseph2k

Jan 1, 1970
0
John said:
You dont even have to compile for debug -- just find where the code builds
the matrix and dump it to a file in some usable format just before the
program starts simulation. No need to wade through an executing program.

Use The Code, Luke !! :)

I have used the code. I just let it execute and sample the intermediate
state; you would analyze it and write one or more files somewhere while it
executed.
 
Top