You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Brian Taylor 81df6ed772 Retaining the mixed case of Cider quoted string valued parameters. Limit searches for ic.file to D*, M*, and Q* device instantiation lines. Cider model (numos, numd, nbjt) detection is limited to .model lines. Continuation lines which do contain these tokens are not checked, but this should rarely happen. All of the examples/cider circuits meet these assumptions. Memory errors have been removed. 5 years ago
..
README update to XSPICE phase-locked loop example 14 years ago
f-p-det-d-sub.cir new XSPICE example: mixed mode pll circuit 14 years ago
loop-filter-2.cir update to XSPICE phase-locked loop example 14 years ago
loop-filter.cir update to XSPICE phase-locked loop example 14 years ago
pll-xspice-fstep.cir make simulation faster, allow batch mode 6 years ago
pll-xspice.cir pll: just include one of the two vco available 14 years ago
test-f-p-det.cir add BSIM3 model parameters for loop filer with transistor charge pump 14 years ago
test_vco.cir correct the plot output 14 years ago
vco_sub.cir update to XSPICE phase-locked loop example 14 years ago
vco_sub_new.cir update to XSPICE phase-locked loop example 14 years ago

README

This directory contains a mixed mode pll, combining
ngspice and XSPICE circuit blocks.
The pll consists of the following blocks:

** voltage controlled oscillator:
vco_sub.cir
7 stage ring oscillator with gain cells, CMOS devices
or
vco_sub_new.cir
vco made from code model d_osc, cntl_array/freq_array data
are gained by running test-vco.cir with vco_sub.cir

** digital divider and frequency reference:
pll-xspice.cir

** phase frequency detector:
f-p-det-d-sub.cir

** loop filter:
loop-filter.cir
switched current sources as charge pump, 2nd order
passive RC filter
or
loop-filter-2.cir
transistors as switches for charge pump, 2nd or 3rd
order passive RC filters

** main simulation control:
pll-xspice.cir

Two test files are included:
test-vco.cir simulates vco frequency versus control voltage
test-f-p-det.cir simulates the phase frequency detector and the loop filter.

The main building blocks are organised as subcircuits.

main simulation control with three reference frequencies:
pll-xspice-fstep.cir
simulates two steps of the reference in one simulation run