148 Chapter
7
Model interface
S_up
CP
Vdd
Vss
P_out
S_down
Figure 7-16. Schematic symbol of the charge pump
Table 7-15. Model ports
Name Type
Description
S_UP BIT
Up
signal
S_DOWN BIT
Down
signal
P_OUT ELECTRICAL
Output
pin
VDD ELECTRICAL
Positive
voltage
VSS ELECTRICAL
Negative
voltage
Table 7-16. Model parameters
Name
Unit
Default value Description
R_ISRC
Ohm
1.0e3
Current source resistance
ROUT Ohm 50.0
Output
resistance
Model implementation
architecture SIMPLE of CP is
constant RON : REAL:=1.0;
constant ROFF : REAL:=1.0E9;
terminal N_up : ELECTRICAL;
terminal N_down: ELECTRICAL;
terminal N_int : ELECTRICAL;
signal R_SWUP: REAL:=ROFF;
signal R_SWDN: REAL:=ROFF;
quantity V_SWUP across I_SWUP through N_UP
to N_INT;
quantity V_SWDN across I_SWDN through N_INT to N_DOWN;
quantity V_ROUT across I_ROUT through P_OUT to N_INT;
quantity V_RUP
across I_RUP
through VDD
to N_UP;
quantity V_RDN
across I_RDN
through VSS
to N_DOWN;
quantity V_R1
across I_R1
through N_INT to ELECTRICAL_REF;
begin
R_SWUP <= RON when S_UP='1' else ROFF;
R_SWDN <= RON when S_DOWN='1' else ROFF;
Summary :
Model ports Name Type Description S_UP BIT Up signal S_DOWN BIT Down signal P_OUT ELECTRICAL Output pin VDD ELECTRICAL Positive voltage VSS ELECTRICAL Negative voltage Table 7-16.
Tags :
quantity,electrical,through,across,nint,model,signal,nup,pout,ndown,roff,ron,terminal