RE: [SI-LIST] : Bit stream definition in HSPICE

About this list Date view Thread view Subject view Author view

From: Lai, Ricky (Eng Hou) ([email protected])
Date: Thu Mar 29 2001 - 12:46:35 PST


This is what I'm always used:

*A +ve pulse running at 250MHz
.param per = 4.0ns
.param tr = 0.1ns
.param tf = 'tr1'
.param pw = '(per/2)-tr'
* Vi Vf td tr tf pw per
Vclk1 clk1 0 pulse (0 vdd 1ns tr tf pw per)

Ricky

-----Original Message-----
From: Ingraham, Andrew
Sent: Thursday, March 29, 2001 1:41 PM
To: 'Hassan Ali'
Cc: si-list
Subject: RE: [SI-LIST] : Bit stream definition in HSPICE

You wrote:

> In HSPICE, which of the following is the correct 500Mbps, tr=100ps,
> tf=100ps, 101010101... bit stream definition?
>
> (1)
>
> Vin in gnd pulse(v1 v2 td tr tf pw per)
> .param v1=0v v2=3.3v td=0ns tr=100ps tf=100ps pw=1.8ns per=4ns
>
> (2)
>
> Vin in gnd pulse(v1 v2 td tr tf pw per)
> .param v1=0v v2=3.3v td=0ns tr=100ps tf=100ps pw=1.8ns per=3.8ns
 
I think neither is what you want. Try:

.param v1=0v v2=3.3v td=1ns tr=100ps tf=100ps pw=1.9ns per=4ns

"per" *IS* the period or repetition rate. No adjustment necessary for rise
and fall times.

However, "pw" is the time spent *at* 3.3 V. You would likely want to adjust
"pw" to account for the rise and fall times. If the rise and fall times are
equal, and you want the pulsewidth to be 2 ns between 50% points, subtract
one risetime from 2 ns to get 1.9 ns. You could also write:
pw='(1/500MEG)-(tr+tf)/2'

I discourage setting "td" to 0, because there can be times when SPICE does
something funny there and I want to see it if it happens. You should see
nothing change for the first 1 ns (in this case). If anything does change,
investigate why.

(Actually, in this case I might set "td" to 0.95 ns or '1ns-tr/2', so that
the waveform crosses 50% at exactly 1.0 ns, just to make my measurements
easier.)

Andy

**** To unsubscribe from si-list or si-list-digest: send e-mail to
[email protected]. In the BODY of message put: UNSUBSCRIBE
si-list or UNSUBSCRIBE si-list-digest, for more help, put HELP.
si-list archives are accessible at http://www.qsl.net/wb6tpu
****

**** To unsubscribe from si-list or si-list-digest: send e-mail to
[email protected]. In the BODY of message put: UNSUBSCRIBE
si-list or UNSUBSCRIBE si-list-digest, for more help, put HELP.
si-list archives are accessible at http://www.qsl.net/wb6tpu
****


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jun 21 2001 - 10:11:21 PDT