top
Project
Library
Model Name
Kind
pll
libpll
top
Hierarchical Module
Parameters
Name
Type
Default
Description
par_file
std::string
"top.par"
File containing the simulation parameters.
Description
PLL - Top Level
Schematic
PLL - Top Level
clk_ref
clk_div
up
dn
i_psd
PSD
up
dn
vcp
i_cp
ts = GET_PARAMETER(double, "tstep")
vdd = GET_PARAMETER(double, "vdd")
current_up = GET_PARAMETER(double, "current_up")
current_dn = GET_PARAMETER(double, "current_dn")
current_leak = GET_PARAMETER(double, "current_leak")
mosfet_vth = GET_PARAMETER(double, "mosfet_vth")
icp
CP
vctrl
i_lfilter
c1 = GET_PARAMETER(double, "c1")
r2 = GET_PARAMETER(double, "r2")
c2 = GET_PARAMETER(double, "c2")
r3 = GET_PARAMETER(double, "r3")
c3 = GET_PARAMETER(double, "c3")
third_order = GET_PARAMETER(bool, "third_order")
icp
vcp
LFILTER
vctrl
fout
freq
i_vco
tstep = GET_PARAMETER(double, "tstep")
vdd = GET_PARAMETER(double, "vdd")
vcm = GET_PARAMETER(double, "vcm")
kvo = GET_PARAMETER(double, "kvo")
fmin = GET_PARAMETER(double, "fmin")
VCO
fout
fin
i_div
n = GET_PARAMETER(double, "n")
vcm = GET_PARAMETER(double, "vcm")
DIV
i_param_reader_module
fname = p.par_file
print = true
reader_shell = NULL
Parameter Reader
par_file = "top.par"
All the parameters are read from the
configuration file that should be placed in
the executable folder. The default
configuration file is "top.par".
clk_o
i_std_clock_sc
period = sca_time(GET_PARAMETER(double, "fref_period"), SC_SEC)
duty_cycle = 0.5
start_time = sca_time(GET_PARAMETER(double, "fref_delay"), SC_SEC)
posedge_first = true
STD_CLOCK_SC
t
1
icp
vctrl
fout
fdiv
fout_freq
fref
up
dn
vcp
@copyright COSEDA Technologies GmbH. All rights reserved.
(customizable in sca_modules.dtd)