The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Circuit Simulators >> which is correct? spectre or hspice?
https://designers-guide.org/forum/YaBB.pl?num=1159324010

Message started by sugar on Sep 26th, 2006, 7:26pm

Title: which is correct? spectre or hspice?
Post by sugar on Sep 26th, 2006, 7:26pm

I simulated a s-parameter package model in three ways and got three results.
 - spectre rational interpolation method
 - spectre spline interpolation method
 - hspice
The stimulus is a 1v step vpwl with 50ohm source resistance.
The output of the package is connected to a 50ohm termination resistor.
Attached is the simulated waveform. Which tool should I believe?

Title: Re: which is correct? spectre or hspice?
Post by jbdavid on Oct 11th, 2006, 10:51pm

Why did you use an interpolation method for spectre? that is only needed for PSS and other shooting-newton Spectre_RF simulations..
Transient you can use sp data directly..


Title: Re: which is correct? spectre or hspice?
Post by jbdavid on Oct 11th, 2006, 10:54pm

OTOH - they all look about the same to me..
(but hspice one looks less "smooth" - which makes sense since there is no interpolation going on.. )

Title: Re: which is correct? spectre or hspice?
Post by sugar on Nov 12th, 2006, 10:50pm

hi, jbdavid

thank you for your interest in this problem.

Let me explain in more detail.
To use a s-parameter model in spectre, we have to use 'nport' element of analogLib,
and also we should specify interpolation method which will be used by the simulator to
simulate the 'nport' element.

You said, "Transient you can use sp data directly.. ", seemingly, you are right,
but in fact, for transient simulation, the simulator has to first translate the s-parameter date  
into time-domain data(by using some kind of interpolation method), and then carry out
the transient simulation. Am I right? Ken.

The simulation results are different.
The input is a step excitation, so after transient response, the output should be equal to the input,  
but with spline interpolation method, the output is not equal to input, (that is not simulation accuracy
problem), so I think spline interpolation method might has some problems.

Rational method shows reasonable result, but it's transient response is different with Hspice
simulation result. The transient process is very important to me, so I have to make sure
which simulator is correct.

Title: Re: which is correct? spectre or hspice?
Post by Ken Kundert on Nov 12th, 2006, 11:39pm

Try Spectre's TDR analysis. It gives results in the time domain, but they are all based on AC small-signal analysis. The TDR should bypass any transient based algorithms and just use the raw S-parameters. It produces the step-response. Choose the transient results that are closest to the TDR results.

The TDR analysis is not a supported analysis in Artist, so you will have to access it by running Spectre stand alone (using a netlist). Use "spectre -h tdr" for details.

-Ken

Title: Re: which is correct? spectre or hspice?
Post by Andrew Beckett on Dec 12th, 2006, 2:52pm

There's also an application note on sourcelink which covers the various parameters for nport. Search for "nport application note" (the filename
is nportAN.pdf).

It's important that you have sufficient points in your s-parameter file, and that it has high enough bandwidth to cover the frequency of your input
signal and its harmonics. You probably should also use "usewindow=yes" on the nport (this is nearly always a good idea). Usually spline or linear are the right choices for interpolation method - even shooting PSS doesn't need rational these days, which is what rational was created for in the first place. spline and linear are similar, and use a convolution based approach - they just differ in the interpolation and extrapolation that is done.

Regards,

Andrew.

Title: Re: which is correct? spectre or hspice?
Post by OldHouseBlues on Jan 17th, 2007, 1:34pm

Hi, I'm new here  ;)

I'll assume "Sugar" is still interested in some feedback. Modern versions of HSPICE (like 2006.09-SP1)
has several S-element options that can be used in transient analysis. I would recommend
interpolation=hybrid . This is explained in the Signal Integrity User Guide (release 2006.09).

BTW, HSPICE does interpolate for transient analysis (required for IFFT) and if required for AC analysis
(for frequency points that do not match that in the S-model).

Cheers.

Title: Re: which is correct? spectre or hspice?
Post by mg777 on Feb 1st, 2007, 7:11am


The 200 ps delay seems to be due to a TEM line, so what are the wigglies just after t=0? Only the third plot (the one at the bottom) seems to be causal.

When rational approximations are made by a simulator, is there any guarantee of physical realizability aka causality?

M.G.Rajan
www.eecalc.com






The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.