
|
[si-list]
||
[Date Prev]
[04-2006 Date Index]
[Date Next]
||
[Thread Prev]
[04-2006 Thread Index]
[Thread Next]
[SI-LIST] Re: Getting Hspice to accept numbers with mantissa' s larger than 8 characters
- From: "Taha Amiralli" <thamiral@xxxxxxxxx>
- To: "Buchs, Kevin J." <buchs.kevin@xxxxxxxx>
- Date: Thu, 6 Apr 2006 13:11:21 -0400
Hello all,
Thanks for that demo on the double precision nature of parameters. I
actually tired something along those lines yesterday and got similar
results.
I wonder if giving a double precision number/constant to the .param
has the same effect as "adding" two parameters. (unfortunately, I have
a really really large number of components in my algorithm that
require double precision values for this debugging test and this could
get very cumbersome. I may be able to give it a try this afternoon to
see if this works)
With regards to Andy's comments, unfortunately, we get an academic
version of Hspice (being a university) and hence, we also get put at
the bottom of the Synopsys support list. On the bright side, I did put
in a request and when it gets serviced, i'll know for sure whats going
on.
Andy, you are correct about there being an 'exact' solution to a
linear network in hspice, however, as everyone has already guessed,
there are nonlinear components in the work that I am conducting and
hence, the hspice solver is computing a numerical solution using
iterative solvers such as the trapezoid method.
Thanks a lot once again,
Sincerely,
-------------------
Taha Amiralli
thamiral [A] uwo [D] ca
thamiral [A] gmail [D] com
MESc Candidate 2007, Computer Engineering
The University Of Western Ontario
BESc, BSc. 2005,
Computer Engineering & Computer Science
The University Of Western Ontario
---------------------------------------------------------------
On 4/6/06, Buchs, Kevin J. <buchs.kevin@xxxxxxxx> wrote:
>
> Here is a demonstration that shows the double precision nature of
> parameters. Note, if you want post output, you should not use post=3D2
> (ASCII) because that will not work. Use binary, post=3D1. The print out=
put
> works fine.
>
> .option numdgt=3D10 post=3D1 probe post_version=3D2001
> .param rvalue1=3D1.000000001
> va a 0 1.0
> r1 a 0 'rvalue1'
> r2 a 0 1.0
> .param rvaluea2=3D1.0
> .param rvalueb2=3D1E-12
> .param rvalue2=3D'rvaluea2+rvalueb2'
> r3 a 0 'rvalue2'
> .print i1(r1) i1(r2) i1(r3)
> .probe i1(r1) i1(r2) i1(r3)
> .tran 1ps 1ps
> .end
>
> You can use this command on Linux to dump the double floats out of the
> results file and see that they are truly doubles. A plotting program suc=
h
> as cosmoscope can read this.
>
> > od -j 476 -t fD dbl_precision.tr0
> 0000734 0.000000000000000e+00 9.999999989999999e-01
> 0000754 1.000000000000000e+00 9.999999999989999e-01
> 0000774 9.999999989999999e-01 1.000000000000000e+00
> 0001014 9.999999999989999e-01 1.250000000000000e-13
> 0001034 9.999999989999999e-01 1.000000000000000e+00
> 0001054 9.999999999989999e-01 9.999999989999999e-01
> 0001074 1.000000000000000e+00 9.999999999989999e-01
> 0001114 2.500000000000000e-13 9.999999989999999e-01
> 0001134 1.000000000000000e+00 9.999999999989999e-01
> 0001154 9.999999989999999e-01 1.000000000000000e+00
> 0001174 9.999999999989999e-01 5.000000000000000e-13
> 0001214 9.999999989999999e-01 1.000000000000000e+00
> 0001234 9.999999999989999e-01 9.999999989999999e-01
> 0001254 1.000000000000000e+00 9.999999999989999e-01
> 0001274 7.500000000000000e-13 9.999999989999999e-01
> 0001314 1.000000000000000e+00 9.999999999989999e-01
> 0001334 9.999999989999999e-01 1.000000000000000e+00
> 0001354 9.999999999989999e-01 1.000000000000000e-12
> 0001374 9.999999989999999e-01 1.000000000000000e+00
> 0001414 9.999999999989999e-01 9.999999989999999e-01
> 0001434 1.000000000000000e+00 9.999999999989999e-01
> 0001454 1.000000015047466e+30 1.699585821693888e-321
>
>
> Kevin Buchs Mayo Clinic 200 1st St. SW Rochester, MN 55901
> buchs.kevin@xxxxxxxx 507-538-5459 http://www.mayo.edu/sppdg
>
--
------------------------------------------------------------------
To unsubscribe from si-list:
si-list-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field
or to administer your membership from a web page, go to:
http://www.freelists.org/webpage/si-list
For help:
si-list-request@xxxxxxxxxxxxx with 'help' in the Subject field
List FAQ wiki page is located at:
http://si-list.org/wiki/wiki.pl?Si-List_FAQ
List technical documents are available at:
http://www.si-list.org
List archives are viewable at:
http://www.freelists.org/archives/si-list
or at our remote archives:
http://groups.yahoo.com/group/si-list/messages
Old (prior to June 6, 2001) list archives are viewable at:
http://www.qsl.net/wb6tpu
|

|