Design Center


SOURCE.SLB


,

 

 

 

ISTIM,

StmEd

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC @DC|AC

@AC| STIMULUS=@STIMULUS

DC=

AC=

STIMULUS=

STIMTYPE=ANALOG

VSTIM,

StmEd

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC @DC|AC

@AC| STIMULUS=@STIMULUS

DC=

AC=

STIMULUS=

STIMTYPE=ANALOG

DigStim,

StmEd

REFDES=DSTM?

TEMPLATE=U^@REFDES STIM(%#*OUT,0) %PWR

%GND %*OUT @IOMODEL STIMULUS=@STIMULUS

STIMULUS=

IOMODEL=IO_STIM

STIMTYPE=DIGITAL

ipin(PWR)$G_DPWR

ipin(GND)=$G_DGND

DigClock,

REFDES=DSTM?

TEMPLATE=U^@REFDES STIM(1,1) %PWR %GND %1

@IO_MODEL IO_LEVEL=@IO_LEVEL\n+

0 @STARTVAL\n+ LABEL=START\n+

+?DELAY/

/@OFFTIME/ @OPPVAL\n+ +@ONTIME

@STARTVAL\n+

+@OFFTIME goto START-1 times

DELAY=

ONTIME=.5uS

OFFTIME=.5uS

STARTVAL=0

OPPVAL=1

IO_MODEL=IO_STM

IO_LEVEL=0

ipin(PWR)$G_DPWR

ipin(GND)=$G_DGND

FileStim,

,

REFDES=DSTM?

TEMPLATE=U^@REFDES FSTIM(%#*1) %PWR

%GND %*1

@IO_MODEL FILE=@FileName

IO_LEVEL=@IO_LEVEL

?SigName/SIGNAMES=@SigName/

IO_MODEL=IO_STM

IO_LEVEL=0

FileName=

SigName=

ipin(PWR)$G_DPWR

ipin(GND)=$G_DGND

IAC,

AC, DC

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC @DC|

?AC|AC @AC|

DC=0A

AC= 0A

 

IDC,

( DC)

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC @DC|

DC=0A

IEXP,

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n

+EXP @I1 @I2 #TD1 /@TD1/ #TC1/@TC1/

#TD2/@TD2/ #TC2/@TC2/

DC=0A

AC= 0A

I1=

I2=

TD1=

TC1=

TD2=

TC2=

IPULSE,

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n

+PULSE @I1 @I2 #TD /~TD/ 0/ #TR/@TR/

#TF1/@TF/ #PW/@PW/ #PER/@PER/

DC=0A

AC= 0A

I1=

I2=

TD=

TR=

TF=

PW=

PER=

IPWL_ENH,

-

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC @DC|?AC|AC @AC|

PWL ?TSF|TIME_SCALE_FACTOR=@TSF|

?VSF|VALUE_SCALE_FACTOR=@VSF|

?REPEAT_VALUE|\n+

REPEAT @REPEAT_VALUE|\n+

@FIRST_nPAIRS ?SECOND_nPAIRS|\n+

@SECOND_nPAIRS ?THIRD_nPAIRS|\n+

THIRD_nPAIRS/|

?REPEAT_VALUE|\n+ ENDREPEAT|

DC=0A

AC= 0A

TSF=

VSF=

FIRST_nPAIRS= n

SECOND_nPAIRS= n

THIRD_nPAIRS= n

REPEAT_VALUE=

IPWL_FILE,

- ,

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

PWL ?TSF|TIME_SCALE_FACTOR=@TSF|

?VSF|VALUE_SCALE_FACTOR=@VSF|

?REPEAT_VALUE|

FILE @FILE ?REPEAT_VALUE|\n+

ENDREPEAT|

DC=0A

AC= 0A

TSF=

VSF=

FILE=

REPEAT_VALUE=

IPWL,

-

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

PWL @T1 @I1 @T2 @I2 . . . @T8 @I8

DC=0A

AC= 0A

T1=

I1=

T2= I2=

. . . . .

T8=

I8=

ISFFM,

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n+

SFFM @IOFF @IAMPL @FC @MOD @FM

DC=0A

AC= 0A

IOFF=

IAMPL=

FC=

MOD=

FM=

ISIN,

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n+

SIN @IOFF @IAMPL @FREQ

#TD/@TD/ #DF/@DF/ #PHASE/@PHASE/

DC=0A

AC= 0A

IOFF=

IAMPL=

FREQ=

TD=

DF=

PHASE=

ISRC,

AC, DC; TRAN

REFDES=I?

TEMPLATE=I^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

?TRAN|TRAN @TRAN|

DC=0A

AC= 0A

TRAN=

STIM1,

(1 )

REFDES=DSTIM?

TEMPLATE=U^@REFDES STIM(@WIDTH,@FORMAT)\n+

@DIG_PWR @DIG_GND\n+ %PIN1\n+

@IO_MODEL\n+

IO_LEVEL=@IO_LEVEL\n+

?TIMESTEP|TIMESTEP=@TIMESTEP\n+|

?COMMAND1| @COMMAND1

|#COMMAND2|\n+

@COMMAND2| . . . @COMMAND16|

TIMESTEP=

COMMAND1=0s 0

COMMAND2=

COMMAND3=

. . . . . . . . . .

COMMAND16=

DIG_PWR= $G_DPWR

DIG_GND=$G_DGND

IO_MODEL=IO_STM

IO_LEVEL=0

WIDTH=1

FORMAT=1

 

STIM4,

4-

REFDES=DSTIM?

TEMPLATE=U^@REFDES STIM(@WIDTH,@FORMAT)\n+

@DIG_PWR @DIG_GND\n+ %PIN0 %PIN1

%PIN2 %PIN3\n+

@IO_MODEL\n+ IO_LEVEL=@IO_LEVEL\n+

?TIMESTEP|TIMESTEP=@TIMESTEP\n+|

?COMMAND1| @COMMAND1

|#COMMAND2|\n+

@COMMAND2| . . . @COMMAND16|

TIMESTEP=

COMMAND1=0s 0000

COMMAND2=

COMMAND3=

. . . . . . . . . .

COMMAND16=

DIG_PWR= $G_DPWR

DIG_GND=$G_DGND

IO_MODEL=IO_STM

IO_LEVEL=0

WIDTH=4

FORMAT=1111

STIM8,

8-

REFDES=DSTIM?

TEMPLATE=U^@REFDES STIM(@WIDTH,@FORMAT)\n+

@DIG_PWR @DIG_GND\n+ %PIN0 %PIN1

%PIN2 ...%PIN7\n+

@IO_MODEL\n+ IO_LEVEL=@IO_LEVEL\n+

?TIMESTEP|TIMESTEP=@TIMESTEP\n+|

?COMMAND1| @COMMAND1

|#COMMAND2|\n+

@COMMAND2| . . . @COMMAND16|

TIMESTEP=

COMMAND1=0s 00000000

COMMAND2=

COMMAND3=

. . . . . . . . . .

COMMAND16=

DIG_PWR= $G_DPWR

DIG_GND=$G_DGND

IO_MODEL=IO_STM

IO_LEVEL=0

WIDTH=8

FORMAT=11111111

STIM16,

16-

REFDES=DSTIM?

TEMPLATE=U^@REFDES STIM(@WIDTH,@FORMAT)\n+

@DIG_PWR @DIG_GND\n+ %PIN0 %PIN1

%PIN2 ...%PIN15\n+

@IO_MODEL\n+ IO_LEVEL=@IO_LEVEL\n+

?TIMESTEP|TIMESTEP=@TIMESTEP\n+|

?COMMAND1| @COMMAND1

|#COMMAND2|\n+

@COMMAND2| . . . @COMMAND16|

TIMESTEP=

COMMAND1=0s 0000

COMMAND2=

COMMAND3=

. . . . . . . . . .

COMMAND16=

DIG_PWR= $G_DPWR

DIG_GND=$G_DGND

IO_MODEL=IO_STM

IO_LEVEL=0

WIDTH=16

FORMAT=4444

VEXP,

-

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n

+EXP @V1 @V2 #TD1 /@TD1/ #TC1/@TC1/

#TD2/@TD2/ #TC2/@TC2/

DC=0A

AC= 0A

V1=

V2=

TD1=

TC1=

TD2=

TC2=

VPULSE,

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n

+PULSE @V1 @V2 #TD /~TD/ 0/ #TR/@TR/

#TF1/@TF/

#PW/@PW/ #PER/@PER/

DC=0A

AC= 0A

V1=

V2=

TD=

TR=

TF=

PW=

PER=

VPWL_ENH,

-

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

PWL ?TSF|TIME_SCALE_FACTOR=@TSF|

?VSF|VALUE_SCALE_FACTOR=@VSF|

?REPEAT_VALUE|\n+

REPEAT @REPEAT_VALUE|\n+

@FIRST_nPAIRS ?SECOND_nPAIRS|\n+

@SECOND_nPAIRS ?THIRD_nPAIRS|\n+

THIRD_nPAIRS/|

?REPEAT_VALUE|\n+ ENDREPEAT|

DC=0A

AC= 0A

TSF=

VSF=

FIRST_nPAIRS= n

SECOND_nPAIRS= n

THIRD_nPAIRS= n

REPEAT_VALUE=

VPWL_FILE,

- ,

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

PWL ?TSF|TIME_SCALE_FACTOR=@TSF|

?VSF|VALUE_SCALE_FACTOR=@VSF|

?REPEAT_VALUE|

FILE @FILE ?REPEAT_VALUE|\n+

ENDREPEAT|

DC=0A

AC= 0A

TSF=

VSF=

FILE=

REPEAT_VALUE=

VPWL,

-

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

PWL @T1 @V1 @T2 @V2 . . . @T8 @V8

DC=0A

AC= 0A

T1=

V1=

T2=

V2=

. . . . .

T8=

V8=

VSFFM,

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n+

SFFM @VOFF @VAMPL @FC @MOD @FM

DC=0A

AC= 0A

VOFF=

VAMPL=

FC=

MOD=

FM=

VSIN,

-

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|\n+

SIN @VOFF @VAMPL @FREQ

#TD/@TD/ #DF/@DF/ #PHASE/@PHASE/

DC=0A

AC= 0A

VOFF=

VAMPL=

FREQ=

TD=

DF=

PHASE=

VSRC,

AC, DC; TRAN

REFDES=V?

TEMPLATE=V^@REFDES %+ %- ?DC|DC

@DC|?AC|AC @AC|

?TRAN|TRAN @TRAN|

DC=0A

AC= 0A

TRAN=





- -  - -  - -