• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. RF Design
  3. Transient Assisted Harmonic Balance

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 63
  • Views 17965
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Transient Assisted Harmonic Balance

hkadry
hkadry over 4 years ago

I am designing a 3-port circulator circuit that mixes an RF input with a local oscillator.  The oscillator is custom design and not a ideal source.  I have tried hb simulation with the oscillator defined and then ran hbsp with no success.  The oscillator is not converging with I run the hb.  However, when i run a transient analysis the oscillator is functioning correctly.  

How can I run a Harmonic balance simulation with the oscillator and view the s-parameters of the circulator at all three ports.  

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Could you at least post the spectre log file and ideally the bottom part of the input.scs showing the options and analysis statements?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hkadry
    hkadry over 4 years ago in reply to Andrew Beckett

    Andrew, 

    See below what I have attempted to do.  As I mentioned, I have a circulator with an RF input at Port 1.  I also have modulation frequencies with three different phases generated using a ring oscillator.  I am running the hb with the input frequency sweep and the oscillator, how can I plot the S-Parameters?  

    Spectre (R) Circuit Simulator
    Version 17.1.0.307.isr6 64bit -- 4 Jul 2018
    Copyright (C) 1989-2018 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence and Spectre are registered trademarks of Cadence Design Systems, Inc. All others are the property of their respective holders.

    Includes RSA BSAFE(R) Cryptographic or Security Protocol Software from RSA Security, Inc.

    User: cs3090 Host: ENG0000002634 HostID: D98D4C72 PID: 119209
    Memory available: 35.1976 GB physical: 269.6081 GB
    Linux : Red Hat Enterprise Linux Workstation release 7.9 (Maipo)
    CPU Type: Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz
    All processors running at 2600.0 MHz
    Socket: Processors (Hyperthreaded Processor)
    0: 0 ( 24 ), 2 ( 26 ), 4 ( 28 ), 6 ( 30 ), 8 ( 32 )
    10 ( 34 ), 12 ( 36 ), 14 ( 38 ), 16 ( 40 ), 18 ( 42 )
    20 ( 44 ), 22 ( 46 )
    1: 1 ( 25 ), 3 ( 27 ), 5 ( 29 ), 7 ( 31 ), 9 ( 33 )
    11 ( 35 ), 13 ( 37 ), 15 ( 39 ), 17 ( 41 ), 19 ( 43 )
    21 ( 45 ), 23 ( 47 )

    System load averages (1min, 5min, 15min) : 2.2 %, 2.3 %, 2.3 %
    Hyperthreading is enabled


    Simulating `input.scs' on ENG0000002634 at 10:44:05 AM, Mon Dec 14, 2020 (process id: 119209).
    Current working directory: /opt/eda_work/hkadry/simulation/Circulator_Osc2/spectre/schematic/netlist
    Command line:
    /opt/cadence/installs/LIBERATE181/tools.lnx86/bin/spectre -64 \
    input.scs +escchars +log ../psf/spectre.out +inter=mpsc \
    +mpssession=spectre9_6755_374 -format psfxl -raw ../psf \
    +lqtimeout 900 -maxw 5 -maxn 5
    spectre pid = 119209

    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file: /opt/eda_work/hkadry/simulation/Circulator_Osc2/spectre/schematic/netlist/input.scs
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/configs/mapsubckt.cfg
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file: /opt/cadence/TSMC_65n_PDK/CRN65LP/PDK_Library/PDK_main/models/spectre/toplevel.scs
    Reading file: /opt/cadence/TSMC_65n_PDK/CRN65LP/PDK_Library/PDK_main/models/spectre/crn65lp_2d5_lk_v1d7.scs
    Time for NDB Parsing: CPU = 969.39 ms, elapsed = 1.14709 s.
    Time accumulated: CPU = 1.0051 s, elapsed = 1.1471 s.
    Peak resident memory used = 101 Mbytes.

    Reading link: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading link: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/constants.vams
    Existing shared object for module bsource_dc1245 is up to date.
    Installed compiled interface for bsource_dc1245.
    Time for Elaboration: CPU = 141.117 ms, elapsed = 141.471 ms.
    Time accumulated: CPU = 1.14635 s, elapsed = 1.28871 s.
    Peak resident memory used = 113 Mbytes.


    Warning from spectre during hierarchy flattening.
    WARNING (SPECTRE-17101): The value 'psf' specified using the 'checklimitdest' option will no longer be supported in future releases.


    Time for EDB Visiting: CPU = 4.897 ms, elapsed = 4.90904 ms.
    Time accumulated: CPU = 1.15141 s, elapsed = 1.29377 s.
    Peak resident memory used = 115 Mbytes.


    Notice from spectre during topology check.
    No DC path from node `I34.net013' to ground, Gmin installed to provide path.
    No DC path from node `I31.net013' to ground, Gmin installed to provide path.
    No DC path from node `I16.net013' to ground, Gmin installed to provide path.


    Global user options:
    psfversion = 1.1.0
    vabstol = 1e-06
    iabstol = 1e-12
    temp = 27
    gmin = 1e-12
    rforce = 1
    maxnotes = 5
    maxwarns = 5
    digits = 5
    cols = 80
    pivrel = 0.001
    sensfile = ../psf/sens.output
    checklimitdest = psf
    save = allpub
    reltol = 0.001
    tnom = 27
    scalem = 1
    scale = 1

    Scoped user options:

    Circuit inventory:
    nodes 153
    bsim4 6
    bsource_dc1245 12
    capacitor 72
    diode 36
    inductor 39
    isource 3
    mutual_inductor 6
    port 3
    resistor 105
    vsource 3

    Analysis and control statement inventory:
    hb 1
    info 6
    sweep 1

    Output statements:
    .probe 0
    .measure 0
    save 0

    Time for parsing: CPU = 5.234 ms, elapsed = 5.63693 ms.
    Time accumulated: CPU = 1.15674 s, elapsed = 1.29951 s.
    Peak resident memory used = 116 Mbytes.

    ~~~~~~~~~~~~~~~~~~~~~~
    Pre-Simulation Summary
    ~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~
    Entering remote command mode using MPSC service (spectre, ipi, v0.0, spectre9_6755_374, ).

    ************************************************
    Sweep Analysis `sweephb': Frf = (1e+09 -> 3e+09)
    ************************************************

    Opening the PSF file ../psf/sweephb_hb_fi.sweep ...

    Opening the PSF file ../psf/sweephb_hb_fd.sweep ...

    ++++++++++++++++++++++++++
    sweephb: Frf = 1e+09 (0 %)
    ++++++++++++++++++++++++++
    Time for sweephb itNum=0: CPU = 52.063 ms, elapsed = 105.549 ms.
    Time accumulated: CPU = 1.20903 s, elapsed = 1.40529 s.
    Peak resident memory used = 117 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 1 ns, freq = 1 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-000_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    DC simulation time: CPU = 1.903 ms, elapsed = 1.90783 ms.


    Using linear IC
    Linear IC: estimated frequency is 5.11307e+08 Hz

    ======================================
    `sweephb-000_hb': time = (0 s -> 1 us)
    ======================================

    Important parameter values in tstab integration:
    start = 0 s
    outputstart = 0 s
    stop = 1 us
    step = 1 ns
    maxstep = 19.5695 ps
    ic = all
    useprevic = no
    skipdc = no
    reltol = 1e-03
    abstol(V) = 1 uV
    abstol(I) = 1 pA
    temp = 27 C
    tnom = 27 C
    tempeffects = all
    method = traponly
    lteratio = 3.5
    relref = sigglobal
    cmin = 0 F
    gmin = 1 pS

    sweephb-000_hb: time = 25.01 ns (2.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 75.01 ns (7.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 125 ns (12.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 175 ns (17.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 225 ns (22.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 275 ns (27.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 325 ns (32.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 375 ns (37.5 %), step = 19.57 ps (1.96 m%)
    sweephb-000_hb: time = 425 ns (42.5 %), step = 19.57 ps (1.96 m%)
    99% of the nodes have reached steady-state after 438.361 ns.
    The Estimated oscillating frequency from Tstab Tran is = 511.244 MHz .

    ===================================================
    `sweephb-000_hb': time = (446.189 ns -> 448.145 ns)
    ===================================================

    sweephb-000_hb: time = 446.2 ns (2.69 %), step = 19.19 ps (981 m%)
    sweephb-000_hb: time = 446.3 ns (7.69 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 446.4 ns (12.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 446.5 ns (17.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 446.6 ns (22.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 446.7 ns (27.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 446.8 ns (32.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 446.9 ns (37.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447 ns (42.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.1 ns (47.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.2 ns (52.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.3 ns (57.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.4 ns (62.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.5 ns (67.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.6 ns (72.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.7 ns (77.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.8 ns (82.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 447.9 ns (87.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 448 ns (92.7 %), step = 19.56 ps (1 %)
    sweephb-000_hb: time = 448.1 ns (97.7 %), step = 19.56 ps (1 %)
    Pin node is 163, amplitude is 0.696674
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.608716, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (1-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=4.21e+03 at node I41.M0:int_s harm=(5 0)

    ********** iter = 1 **********
    Delta Norm=2.23e+02 at node V1:p harm=(3 0)
    Resd Norm=9.31e+02 at node I41.M0:int_s harm=(3 0)
    Frequency= 5.1124e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=8.25e+02 at node V1:p harm=(3 0)
    Resd Norm=4.34e+02 at node I41.M1:int_s harm=(2 0)
    Frequency= 5.1175e+08 Hz, delta f= 5.04e+05

    ********** iter = 3 **********
    Delta Norm=5.97e+02 at node V2:p harm=(3 0)
    Resd Norm=4.20e+02 at node I41.M1:int_s harm=(0 0)
    Frequency= 5.1116e+08 Hz, delta f= -5.85e+05

    ********** iter = 4 **********
    Delta Norm=1.45e+02 at node V1:p harm=(3 0)
    Resd Norm=4.36e+02 at node I40.M1:int_s harm=(2 0)
    Frequency= 5.1072e+08 Hz, delta f= -4.46e+05

    ********** iter = 5 **********
    Delta Norm=2.44e+02 at node V1:p harm=(3 0)
    Resd Norm=1.93e+02 at node I41.M0:int_s harm=(2 0)
    Frequency= 5.1069e+08 Hz, delta f= -3.26e+04

    ********** iter = 6 **********
    Delta Norm=1.09e+02 at node V2:p harm=(3 0)
    Resd Norm=1.06e+02 at node I39.M1:int_s harm=(2 0)
    Frequency= 5.1061e+08 Hz, delta f= -7.81e+04

    ********** iter = 7 **********
    Delta Norm=1.07e+02 at node V1:p harm=(3 0)
    Resd Norm=1.69e+01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.40e+04

    ********** iter = 8 **********
    Delta Norm=3.24e+01 at node V2:p harm=(2 0)
    Resd Norm=5.37e+00 at node I39.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= -5.19e+03

    ********** iter = 9 **********
    Delta Norm=1.67e+00 at node V1:p harm=(1 0)
    Resd Norm=6.38e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.20e+03

    ********** iter = 10 **********
    Delta Norm=9.24e-01 at node V2:p harm=(2 0)
    Resd Norm=4.25e-02 at node I40.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -7.70e+02
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619498, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=9.09e+03 at node PORT1:p harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=3.77e+09 at node PORT1:p harm=(0 1)
    Resd Norm=8.06e-01 at node I34.C4.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=2.33e+06 at node I31.L2.ls1_2:1 harm=(1 1)
    Resd Norm=8.04e-01 at node I40.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 8.46e+00

    ********** iter = 3 **********
    Delta Norm=3.31e+02 at node I31.L2.ls1_2:1 harm=(1 1)
    Resd Norm=8.93e-01 at node I40.M1:int_s harm=(3 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.71e+03

    ********** iter = 4 **********
    Delta Norm=4.00e+01 at node I31.L2.ls1_2:1 harm=(1 1)
    Resd Norm=3.81e-01 at node I40.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.99e+02

    ********** iter = 5 **********
    Delta Norm=1.07e+02 at node I31.L2.ls1_2:1 harm=(1 1)
    Resd Norm=1.74e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.12e+03

    ********** iter = 6 **********
    Delta Norm=4.06e-01 at node I31.L2.ls2_1:1 harm=(2 1)
    Resd Norm=7.08e-02 at node I39.M0:int_s harm=(2 0)
    Frequency= 5.1059e+08 Hz, delta f= 5.33e+01


    *************************************************
    Fundamental frequency is 510.589 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-000_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-000_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-000_hb': CPU = 3.08748 s, elapsed = 3.13283 s.
    Time accumulated: CPU = 4.30722 s, elapsed = 4.54919 s.
    Peak resident memory used = 124 Mbytes.


    ++++++++++++++++++++++++++++
    sweephb: Frf = 1.1e+09 (5 %)
    ++++++++++++++++++++++++++++
    Time for sweephb itNum=1: CPU = 41.06 ms, elapsed = 41.1589 ms.
    Time accumulated: CPU = 4.34838 s, elapsed = 4.59044 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 909.091 ps, freq = 1.1 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-001_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619456, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=3.29e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.77e+03 at node I34.L2.n1_1 harm=(0 1)
    Resd Norm=1.83e-01 at node I16.C4.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.08e+02 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=1.47e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.06e+02

    ********** iter = 3 **********
    Delta Norm=2.72e+00 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=1.08e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -7.55e+01


    *************************************************
    Fundamental frequency is 510.589 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-001_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-001_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-001_hb': CPU = 33.499 ms, elapsed = 33.9279 ms.
    Time accumulated: CPU = 4.38233 s, elapsed = 4.62482 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.2e+09 (10 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=2: CPU = 38.195 ms, elapsed = 38.286 ms.
    Time accumulated: CPU = 4.42073 s, elapsed = 4.66332 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 833.333 ps, freq = 1.2 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-002_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619455, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=3.22e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=6.17e+03 at node I34.L2.n2_1 harm=(0 1)
    Resd Norm=3.74e-01 at node I16.C4.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=7.53e+01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=2.42e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 3.13e+02

    ********** iter = 3 **********
    Delta Norm=1.13e+01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=2.63e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -4.87e+02

    ********** iter = 4 **********
    Delta Norm=3.37e+01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=8.44e-01 at node I39.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= -4.14e+02

    ********** iter = 5 **********
    Delta Norm=2.62e+00 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=2.21e-01 at node I39.M0:int_s harm=(2 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.50e+02


    *************************************************
    Fundamental frequency is 510.589 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-002_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-002_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-002_hb': CPU = 39.841 ms, elapsed = 40.2539 ms.
    Time accumulated: CPU = 4.46099 s, elapsed = 4.70398 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.3e+09 (15 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=3: CPU = 39.075 ms, elapsed = 39.1691 ms.
    Time accumulated: CPU = 4.50023 s, elapsed = 4.74332 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 769.231 ps, freq = 1.3 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-003_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619454, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=3.00e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.70e+03 at node PORT2:p harm=(0 1)
    Resd Norm=8.61e-01 at node I31.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=9.08e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.40e-01 at node I41.M1:int_s harm=(2 0)
    Frequency= 5.1059e+08 Hz, delta f= -2.79e+02

    ********** iter = 3 **********
    Delta Norm=1.29e+00 at node I31.L2.ls1_1:1 harm=(2 1)
    Resd Norm=6.58e-02 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -6.97e+01

    ********** iter = 4 **********
    Delta Norm=1.24e-01 at node I31.L2.ls1_1:1 harm=(2 1)
    Resd Norm=2.44e-02 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 3.58e+01


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-003_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-003_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-003_hb': CPU = 50.52 ms, elapsed = 50.9479 ms.
    Time accumulated: CPU = 4.55121 s, elapsed = 4.79472 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.4e+09 (20 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=4: CPU = 38.834 ms, elapsed = 38.9259 ms.
    Time accumulated: CPU = 4.59022 s, elapsed = 4.83383 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 714.286 ps, freq = 1.4 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-004_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619428, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=2.72e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=4.87e+03 at node PORT2:p harm=(0 1)
    Resd Norm=2.39e-01 at node I31.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=6.30e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.23e-01 at node I40.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.47e+01

    ********** iter = 3 **********
    Delta Norm=2.31e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=6.18e-02 at node I40.M1:int_s harm=(3 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.59e+02


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-004_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-004_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-004_hb': CPU = 32.531 ms, elapsed = 32.934 ms.
    Time accumulated: CPU = 4.62318 s, elapsed = 4.8672 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.5e+09 (25 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=5: CPU = 37.664 ms, elapsed = 37.7541 ms.
    Time accumulated: CPU = 4.66103 s, elapsed = 4.90514 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 666.667 ps, freq = 1.5 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-005_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619429, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=2.26e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=8.55e+02 at node PORT2:p harm=(0 1)
    Resd Norm=1.30e-01 at node I31.C4.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=4.38e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.52e-01 at node I40.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 3.52e+02

    ********** iter = 3 **********
    Delta Norm=6.00e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.19e-01 at node I40.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -3.95e+02


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-005_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-005_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-005_hb': CPU = 31.67 ms, elapsed = 32.0911 ms.
    Time accumulated: CPU = 4.69313 s, elapsed = 4.93765 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.6e+09 (30 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=6: CPU = 37.202 ms, elapsed = 37.2908 ms.
    Time accumulated: CPU = 4.73051 s, elapsed = 4.97512 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 625 ps, freq = 1.6 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-006_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619429, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=2.01e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=4.03e+02 at node PORT2:p harm=(0 1)
    Resd Norm=1.86e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=2.43e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.00e-01 at node I40.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 5.03e+02

    ********** iter = 3 **********
    Delta Norm=1.13e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.79e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -9.06e+02

    ********** iter = 4 **********
    Delta Norm=5.42e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.36e-01 at node I39.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.63e+02


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-006_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-006_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-006_hb': CPU = 34.868 ms, elapsed = 35.27 ms.
    Time accumulated: CPU = 4.76576 s, elapsed = 5.01077 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.7e+09 (35 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=7: CPU = 39.385 ms, elapsed = 39.4781 ms.
    Time accumulated: CPU = 4.80531 s, elapsed = 5.05042 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 588.235 ps, freq = 1.7 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-007_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619430, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.85e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=2.33e+02 at node PORT2:p harm=(0 1)
    Resd Norm=2.09e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=4.36e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=4.29e-01 at node I39.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 3.40e+02

    ********** iter = 3 **********
    Delta Norm=6.38e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.22e-01 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -3.30e+02


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-007_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-007_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-007_hb': CPU = 31.566 ms, elapsed = 31.97 ms.
    Time accumulated: CPU = 4.83731 s, elapsed = 5.08282 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.8e+09 (40 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=8: CPU = 41.556 ms, elapsed = 41.656 ms.
    Time accumulated: CPU = 4.87907 s, elapsed = 5.12468 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 555.556 ps, freq = 1.8 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-008_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619433, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.76e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.74e+02 at node I34.L2.n1_2 harm=(0 1)
    Resd Norm=1.52e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=5.56e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.97e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 9.94e+01

    ********** iter = 3 **********
    Delta Norm=5.03e-01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.41e-01 at node I41.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 6.85e+00


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-008_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-008_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-008_hb': CPU = 32.9 ms, elapsed = 33.2971 ms.
    Time accumulated: CPU = 4.91242 s, elapsed = 5.15843 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 1.9e+09 (45 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=9: CPU = 39.105 ms, elapsed = 39.1991 ms.
    Time accumulated: CPU = 4.95171 s, elapsed = 5.19781 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 526.316 ps, freq = 1.9 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-009_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619435, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.71e+02 at node I34.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.84e+02 at node I34.L2.ls2_1:1 harm=(0 1)
    Resd Norm=1.63e-01 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=7.33e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=6.49e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 2.55e+02

    ********** iter = 3 **********
    Delta Norm=6.49e-02 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.42e+00 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= -2.36e+02

    ********** iter = 4 **********
    Delta Norm=6.13e-01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.31e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 2.47e+02


    *************************************************
    Fundamental frequency is 510.588 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-009_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-009_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-009_hb': CPU = 37.113 ms, elapsed = 37.5209 ms.
    Time accumulated: CPU = 4.98928 s, elapsed = 5.23578 s.
    Peak resident memory used = 124 Mbytes.


    +++++++++++++++++++++++++++
    sweephb: Frf = 2e+09 (50 %)
    +++++++++++++++++++++++++++
    Time for sweephb itNum=10: CPU = 40.779 ms, elapsed = 40.8762 ms.
    Time accumulated: CPU = 5.03026 s, elapsed = 5.27686 s.
    Peak resident memory used = 124 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 500 ps, freq = 2 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-010_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619439, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.68e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.99e+02 at node I34.L2.ls2_1:1 harm=(0 1)
    Resd Norm=2.84e-01 at node I39.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=7.92e+01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=5.55e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 3.07e+02

    ********** iter = 3 **********
    Delta Norm=3.18e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=6.61e-01 at node I39.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 6.34e+01

    ********** iter = 4 **********
    Delta Norm=4.77e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.30e-01 at node I40.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 6.20e+01

    ********** iter = 5 **********
    Delta Norm=1.83e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.30e-01 at node I40.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -5.72e+01

    ********** iter = 6 **********
    Delta Norm=1.05e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=8.26e-02 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.72e+02


    *************************************************
    Fundamental frequency is 510.589 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-010_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-010_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-010_hb': CPU = 61.01 ms, elapsed = 61.4851 ms.
    Time accumulated: CPU = 5.09173 s, elapsed = 5.33881 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.1e+09 (55 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=11: CPU = 41.318 ms, elapsed = 41.4169 ms.
    Time accumulated: CPU = 5.13325 s, elapsed = 5.38043 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 476.19 ps, freq = 2.1 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-011_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619559, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.67e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=2.90e+02 at node PORT3:p harm=(0 1)
    Resd Norm=1.96e-01 at node I34.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.06e+02 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=1.90e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 4.69e+02

    ********** iter = 3 **********
    Delta Norm=7.64e-01 at node I31.L2.ls1_2:1 harm=(0 1)
    Resd Norm=1.25e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 5.43e+00


    *************************************************
    Fundamental frequency is 510.589 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-011_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-011_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-011_hb': CPU = 37.98 ms, elapsed = 38.3949 ms.
    Time accumulated: CPU = 5.17172 s, elapsed = 5.41931 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.2e+09 (60 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=12: CPU = 39.802 ms, elapsed = 39.897 ms.
    Time accumulated: CPU = 5.21171 s, elapsed = 5.45939 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 454.545 ps, freq = 2.2 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-012_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619566, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.66e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=4.93e+02 at node PORT3:p harm=(0 1)
    Resd Norm=3.48e-01 at node I34.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.17e+02 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=3.20e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 5.90e+02

    ********** iter = 3 **********
    Delta Norm=8.98e-01 at node I31.L2.ls1_2:1 harm=(0 1)
    Resd Norm=1.18e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.70e+01


    *************************************************
    Fundamental frequency is 510.59 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-012_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-012_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-012_hb': CPU = 39.234 ms, elapsed = 39.676 ms.
    Time accumulated: CPU = 5.25138 s, elapsed = 5.49951 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.3e+09 (65 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=13: CPU = 37.504 ms, elapsed = 37.5938 ms.
    Time accumulated: CPU = 5.28908 s, elapsed = 5.5373 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 434.783 ps, freq = 2.3 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-013_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619623, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.66e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=9.09e+02 at node PORT3:p harm=(0 1)
    Resd Norm=4.77e-01 at node I34.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.03e+02 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=3.35e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.82e+02

    ********** iter = 3 **********
    Delta Norm=4.76e+00 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=3.01e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 2.59e+02

    ********** iter = 4 **********
    Delta Norm=7.34e+00 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=2.32e-01 at node I41.M1:int_s harm=(2 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.69e+01

    ********** iter = 5 **********
    Delta Norm=6.21e+00 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=3.95e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.54e+02

    ********** iter = 6 **********
    Delta Norm=9.18e-01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=1.98e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -6.85e+01


    *************************************************
    Fundamental frequency is 510.59 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-013_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-013_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-013_hb': CPU = 49.994 ms, elapsed = 50.4611 ms.
    Time accumulated: CPU = 5.3395 s, elapsed = 5.58819 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.4e+09 (70 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=14: CPU = 41.988 ms, elapsed = 42.0868 ms.
    Time accumulated: CPU = 5.38169 s, elapsed = 5.63047 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 416.667 ps, freq = 2.4 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-014_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619654, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.66e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.56e+03 at node I16.L2.n1_2 harm=(0 1)
    Resd Norm=3.57e-01 at node I34.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.10e+02 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=3.87e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 8.65e+00

    ********** iter = 3 **********
    Delta Norm=3.17e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=3.33e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 4.52e+02

    ********** iter = 4 **********
    Delta Norm=6.43e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.94e-01 at node I41.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 2.37e+01

    ********** iter = 5 **********
    Delta Norm=2.81e+00 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=6.10e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.34e+02

    ********** iter = 6 **********
    Delta Norm=8.98e-01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.33e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -1.17e+02


    *************************************************
    Fundamental frequency is 510.591 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-014_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-014_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-014_hb': CPU = 50.997 ms, elapsed = 51.4491 ms.
    Time accumulated: CPU = 5.43312 s, elapsed = 5.68235 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.5e+09 (75 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=15: CPU = 39.446 ms, elapsed = 39.541 ms.
    Time accumulated: CPU = 5.47276 s, elapsed = 5.72209 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 400 ps, freq = 2.5 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-015_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619708, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.64e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=1.06e+03 at node I16.L2.n1_2 harm=(0 1)
    Resd Norm=2.59e-01 at node I34.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.13e+02 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=3.29e-01 at node I39.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -8.39e+00

    ********** iter = 3 **********
    Delta Norm=8.09e-01 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=2.85e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 3.34e+02


    *************************************************
    Fundamental frequency is 510.591 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-015_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-015_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-015_hb': CPU = 32.794 ms, elapsed = 33.2201 ms.
    Time accumulated: CPU = 5.50592 s, elapsed = 5.75567 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.6e+09 (80 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=16: CPU = 39.643 ms, elapsed = 39.7441 ms.
    Time accumulated: CPU = 5.54571 s, elapsed = 5.79557 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 384.615 ps, freq = 2.6 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-016_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619712, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.61e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=6.65e+02 at node I16.L2.n1_1 harm=(0 1)
    Resd Norm=3.06e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.06e+02 at node I31.L2.ls1_1:1 harm=(1 1)
    Resd Norm=4.54e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -9.54e+01

    ********** iter = 3 **********
    Delta Norm=3.65e-01 at node I31.L2.ls1_1:1 harm=(0 1)
    Resd Norm=4.15e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.54e+02


    *************************************************
    Fundamental frequency is 510.591 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-016_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-016_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-016_hb': CPU = 32.768 ms, elapsed = 33.1759 ms.
    Time accumulated: CPU = 5.57891 s, elapsed = 5.82918 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.7e+09 (85 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=17: CPU = 39.943 ms, elapsed = 40.0391 ms.
    Time accumulated: CPU = 5.61904 s, elapsed = 5.8694 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 370.37 ps, freq = 2.7 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-017_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619716, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.59e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=7.23e+02 at node PORT1:p harm=(0 1)
    Resd Norm=5.86e-01 at node I41.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=1.06e+02 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=1.04e+00 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 2.67e+02

    ********** iter = 3 **********
    Delta Norm=2.60e-01 at node I31.L2.ls1_1:1 harm=(0 1)
    Resd Norm=1.47e+00 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -9.96e+01

    ********** iter = 4 **********
    Delta Norm=1.00e-01 at node I31.L2.ls1_1:1 harm=(0 1)
    Resd Norm=1.24e+00 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -2.33e+02

    ********** iter = 5 **********
    Delta Norm=7.91e-01 at node I31.L2.ls1_1:1 harm=(0 1)
    Resd Norm=2.38e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= -2.03e+02


    *************************************************
    Fundamental frequency is 510.591 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-017_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-017_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-017_hb': CPU = 42.023 ms, elapsed = 42.4409 ms.
    Time accumulated: CPU = 5.66149 s, elapsed = 5.91227 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.8e+09 (90 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=18: CPU = 37.582 ms, elapsed = 37.6711 ms.
    Time accumulated: CPU = 5.69926 s, elapsed = 5.95012 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 357.143 ps, freq = 2.8 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-018_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619722, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.56e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=6.25e+02 at node PORT1:p harm=(0 1)
    Resd Norm=3.18e-01 at node I41.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=9.80e+01 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=3.10e-01 at node I41.M1:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 9.77e-01

    ********** iter = 3 **********
    Delta Norm=1.27e+00 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=2.47e-01 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -3.56e+02


    *************************************************
    Fundamental frequency is 510.59 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-018_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-018_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-018_hb': CPU = 32.083 ms, elapsed = 32.4931 ms.
    Time accumulated: CPU = 5.73177 s, elapsed = 5.98304 s.
    Peak resident memory used = 125 Mbytes.


    +++++++++++++++++++++++++++++
    sweephb: Frf = 2.9e+09 (95 %)
    +++++++++++++++++++++++++++++
    Time for sweephb itNum=19: CPU = 38.406 ms, elapsed = 38.4979 ms.
    Time accumulated: CPU = 5.77036 s, elapsed = 6.02172 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 344.828 ps, freq = 2.9 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-019_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619725, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.41e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=4.06e+02 at node PORT1:p harm=(0 1)
    Resd Norm=3.34e-01 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=8.55e+01 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=5.58e-01 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 6.46e+02

    ********** iter = 3 **********
    Delta Norm=7.26e+00 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=9.92e-01 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -8.74e+02

    ********** iter = 4 **********
    Delta Norm=2.54e+01 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=1.04e+00 at node I41.M0:int_s harm=(0 0)
    Frequency= 5.1059e+08 Hz, delta f= -5.72e+02

    ********** iter = 5 **********
    Delta Norm=3.36e-01 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=2.01e-01 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 1.41e+02

    ********** iter = 6 **********
    Delta Norm=5.49e-01 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=4.88e-02 at node I39.M1:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= -7.74e+01


    *************************************************
    Fundamental frequency is 510.59 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-019_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-019_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-019_hb': CPU = 56.008 ms, elapsed = 56.5 ms.
    Time accumulated: CPU = 5.82674 s, elapsed = 6.07859 s.
    Peak resident memory used = 125 Mbytes.


    ++++++++++++++++++++++++++++
    sweephb: Frf = 3e+09 (100 %)
    ++++++++++++++++++++++++++++
    Time for sweephb itNum=20: CPU = 38.206 ms, elapsed = 38.2979 ms.
    Time accumulated: CPU = 5.86508 s, elapsed = 6.11702 s.
    Peak resident memory used = 125 Mbytes.

    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 333.333 ps, freq = 3 GHz, harms = 1, oversample = 1.

    ****************************************************************************
    Harmonic Balance Steady State Analysis `sweephb-020_hb': largefund = 511 MHz
    ****************************************************************************
    Use semi-autonomous solver
    Pinning node: 163, harm: 1, name: I41.M0:int_d, value: (-0.619790, -0.338850)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=1.28e+02 at node I16.L2.ls1_2:1 harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=2.66e+02 at node PORT1:p harm=(0 1)
    Resd Norm=8.62e-02 at node I34.C5.2 harm=(1 1)
    Frequency= 5.1059e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=8.34e+01 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=2.26e-01 at node I41.M0:int_s harm=(1 0)
    Frequency= 5.1059e+08 Hz, delta f= 5.24e+01

    ********** iter = 3 **********
    Delta Norm=4.21e+00 at node I31.L2.ls1_2:1 harm=(-1 1)
    Resd Norm=1.94e-01 at node I39.M1:int_s harm=(3 0)
    Frequency= 5.1059e+08 Hz, delta f= -4.78e+02


    *************************************************
    Fundamental frequency is 510.589 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../psf/sweephb-020_hb.fd.qpss_hb ...

    Opening the PSF file ../psf/sweephb-020_hb.fi.qpss_hb ...
    Total time required for hb analysis `sweephb-020_hb': CPU = 33.865 ms, elapsed = 34.2569 ms.
    Time accumulated: CPU = 5.89938 s, elapsed = 6.15172 s.
    Peak resident memory used = 125 Mbytes.

    Total time required for sweep analysis `sweephb': CPU = 4.73935 s, elapsed = 4.79555 s.
    Time accumulated: CPU = 5.94201 s, elapsed = 6.19445 s.
    Peak resident memory used = 125 Mbytes.

    modelParameter: writing model parameter values to rawfile.

    Opening the PSF file ../psf/modelParameter.info ...
    element: writing instance parameter values to rawfile.

    Opening the PSF file ../psf/element.info ...
    outputParameter: writing output parameter values to rawfile.

    Opening the PSF file ../psf/outputParameter.info ...
    designParamVals: writing netlist parameters to rawfile.

    Opening the PSFASCII file ../psf/designParamVals.info ...
    primitives: writing primitives to rawfile.

    Opening the PSFASCII file ../psf/primitives.info.primitives ...
    subckts: writing subcircuits to rawfile.

    Opening the PSFASCII file ../psf/subckts.info.subckts ...

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to hkadry

    You didn't include the input.scs statements, and I was going to ask to see the hb set up but I see you've edited the post to show the hb form rather than the hbsp form.I could see from all the "semi-autonomous" messages in the log file that you must have both the oscillator and a large-signal input. Do you really need to have the RF frequency as a large signal? Normally you'd not measure the s-parameters with a large signal input unless you're trying to measure the s-parameters with the input driven into compression or a large-signal blocker present (for example). Having the large signal there complicates the hb analysis (although you said it wasn't converging - as far as I can see it's converged).

    So what isn't working? There's no hbsp in the log file either.

    Andrew. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hkadry
    hkadry over 4 years ago in reply to Andrew Beckett

    Andrew, 

    Take it easy on me first time user.  Since I posted yesterday, I fixed the convergence issue. 

    1. I am not sure what the input.scs is, how do I get that?  

    2. I want to see the s-parameters so If i need to change the rf input and not have it as a large-signal, what steps do i need to get the s-parameters?  Do I change the port to dc and use hbsp? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to hkadry
    hkadry said:
    Take it easy on me first time user.  Since I posted yesterday, I fixed the convergence issue

    Of course, but it does tend to help if you mention that you've solved part of your original problem! Otherwise I'm scratching my head wondering what your issue is - this is nothing to do with being new to the tool - it's just good practice when asking questions to let somebody know if part of your problem has been resolved.

    Anyway some answers:

    1. Use Simulation->Netlist->Display - this is the input.scs. You may not be able to share the entire netlist (as it's your design) but the piece at the bottom will help with the options and analysis statements.
    2. Yes, I'd suggest you change the RF input port to be dc (or if it's a sine source set the frequency to be - maybe if it's a variable, you can change the variable value in ADE to be 0 instead).

    Since you're using SPECTRE17.1, you can look at the database in your SPECTRE installation:

    <SPECTREinstDir>/tools/spectre/examples/SpectreRF_workshop/rfworkshop.tar.Z

    unpack this somewhere using "tar xvfz rfworkshop.tar.Z". Underneath the "doc" directory there are several pdf documents, including one for Mixers - that has an example (based on the database provided) that shows how to set up hbsp.

    In general you need to define the physical port and the frequency (i.e. the harmonic) of the port - then you are producing the s-parameters between these "virtual ports" that you've set up on the form. What this should be set to rather depends on what makes sense for your circuit.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hkadry
    hkadry over 4 years ago in reply to Andrew Beckett

    Andrew, 

    Thanks for all your help.  This is where I am at now.  I setup a Transient Assisted HB wtih two tones, one is the local oscillator and one is the RF input at Port 1.  I then setup a hbsp to calculate the SP at the RF input so it is a single point and not a sweep.  I am sweeping using the parametric tab in orber to run the oscillator for every RF frequency input.  I am attaching both the input.scs and the output log of this analysis. 

    From the HB i see the spectrum and the mixing but I am not getting any SP plots from hbsp.  

    Output Log 


    Spectre (R) Circuit Simulator
    Version 17.1.0.307.isr6 64bit -- 4 Jul 2018
    Copyright (C) 1989-2018 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence and Spectre are registered trademarks of Cadence Design Systems, Inc. All others are the property of their respective holders.

    Includes RSA BSAFE(R) Cryptographic or Security Protocol Software from RSA Security, Inc.

    User: cs3090 Host: ENG0000002634 HostID: D98D4C72 PID: 167246
    Memory available: 36.2781 GB physical: 269.6081 GB
    Linux : Red Hat Enterprise Linux Workstation release 7.9 (Maipo)
    CPU Type: Intel(R) Xeon(R) Gold 6126 CPU @ 2.60GHz
    All processors running at 2600.0 MHz
    Socket: Processors (Hyperthreaded Processor)
    0: 0 ( 24 ), 2 ( 26 ), 4 ( 28 ), 6 ( 30 ), 8 ( 32 )
    10 ( 34 ), 12 ( 36 ), 14 ( 38 ), 16 ( 40 ), 18 ( 42 )
    20 ( 44 ), 22 ( 46 )
    1: 1 ( 25 ), 3 ( 27 ), 5 ( 29 ), 7 ( 31 ), 9 ( 33 )
    11 ( 35 ), 13 ( 37 ), 15 ( 39 ), 17 ( 41 ), 19 ( 43 )
    21 ( 45 ), 23 ( 47 )

    System load averages (1min, 5min, 15min) : 0.1 %, 1.2 %, 1.9 %
    Hyperthreading is enabled


    Simulating `input.scs' on ENG0000002634 at 3:48:04 PM, Mon Dec 14, 2020 (process id: 167246).
    Current working directory: /opt/eda_work/hkadry/simulation/Circulator_with_local_modulation/Circulator_Osc2/adexl/results/data/.tmpADEDir_cs3090/Circulator_with_local_modulation:Circulator_Osc2:2/Circulator_with_local_modulation_Circulator_Osc2_schematic_spectre/netlist
    Command line:
    /opt/cadence/installs/LIBERATE181/tools.lnx86/bin/spectre -64 \
    input.scs +escchars +log \
    ../../simulation/Circulator_Osc2/spectre/schematic/psf/spectre.out \
    -format psfxl -raw \
    ../../simulation/Circulator_Osc2/spectre/schematic/psf \
    +lqtimeout 900 -maxw 5 -maxn 5

    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /opt/cadence/installs/LIBERATE181/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file: /opt/eda_work/hkadry/simulation/Circulator_with_local_modulation/Circulator_Osc2/adexl/results/data/.tmpADEDir_cs3090/Circulator_with_local_modulation:Circulator_Osc2:2/Circulator_with_local_modulation_Circulator_Osc2_schematic_spectre/netlist/input.scs
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/configs/mapsubckt.cfg
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file: /opt/cadence/TSMC_65n_PDK/CRN65LP/PDK_Library/PDK_main/models/spectre/toplevel.scs
    Reading file: /opt/cadence/TSMC_65n_PDK/CRN65LP/PDK_Library/PDK_main/models/spectre/crn65lp_2d5_lk_v1d7.scs
    Time for NDB Parsing: CPU = 979.517 ms, elapsed = 1.11919 s.
    Time accumulated: CPU = 1.01996 s, elapsed = 1.1192 s.
    Peak resident memory used = 101 Mbytes.

    Reading link: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading link: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file: /opt/cadence/installs/LIBERATE181/tools.lnx86/spectre/etc/ahdl/constants.vams
    Existing shared object for module bsource_dc1245 is up to date.
    Installed compiled interface for bsource_dc1245.
    Time for Elaboration: CPU = 127.857 ms, elapsed = 128.165 ms.
    Time accumulated: CPU = 1.14795 s, elapsed = 1.24749 s.
    Peak resident memory used = 113 Mbytes.


    Warning from spectre during hierarchy flattening.
    WARNING (SPECTRE-17101): The value 'psf' specified using the 'checklimitdest' option will no longer be supported in future releases.


    Time for EDB Visiting: CPU = 4.415 ms, elapsed = 4.426 ms.
    Time accumulated: CPU = 1.15248 s, elapsed = 1.25203 s.
    Peak resident memory used = 115 Mbytes.


    Notice from spectre during topology check.
    No DC path from node `I34.net013' to ground, Gmin installed to provide path.
    No DC path from node `I31.net013' to ground, Gmin installed to provide path.
    No DC path from node `I16.net013' to ground, Gmin installed to provide path.


    Global user options:
    psfversion = 1.1.0
    vabstol = 1e-06
    iabstol = 1e-12
    temp = 27
    gmin = 1e-12
    rforce = 1
    maxnotes = 5
    maxwarns = 5
    digits = 5
    cols = 80
    pivrel = 0.001
    sensfile = ../psf/sens.output
    checklimitdest = psf
    save = allpub
    reltol = 0.001
    tnom = 27
    scalem = 1
    scale = 1

    Scoped user options:

    Circuit inventory:
    nodes 153
    bsim4 6
    bsource_dc1245 12
    capacitor 72
    diode 36
    inductor 39
    isource 3
    mutual_inductor 6
    port 3
    resistor 105
    vsource 3

    Analysis and control statement inventory:
    hb 1
    hbsp 1
    info 6

    Output statements:
    .probe 0
    .measure 0
    save 0

    Time for parsing: CPU = 5.019 ms, elapsed = 5.47409 ms.
    Time accumulated: CPU = 1.15759 s, elapsed = 1.2576 s.
    Peak resident memory used = 116 Mbytes.

    ~~~~~~~~~~~~~~~~~~~~~~
    Pre-Simulation Summary
    ~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~
    Fundamental 0 in fundfreqs: period = 1.95695 ns, freq = 511 MHz, harms = 5, oversample = 1.
    Fundamental 1 in fundfreqs: period = 454.545 ps, freq = 2.2 GHz, harms = 1, oversample = 1.

    ****************************************************************
    Harmonic Balance Steady State Analysis `hb': largefund = 511 MHz
    ****************************************************************
    Use semi-autonomous solver
    DC simulation time: CPU = 2.314 ms, elapsed = 2.321 ms.


    Using linear IC
    Linear IC: estimated frequency is 5.11284e+08 Hz

    ==========================
    `hb': time = (0 s -> 1 us)
    ==========================

    Important parameter values in tstab integration:
    start = 0 s
    outputstart = 0 s
    stop = 1 us
    step = 1 ns
    maxstep = 19.5695 ps
    ic = all
    useprevic = no
    skipdc = no
    reltol = 1e-03
    abstol(V) = 1 uV
    abstol(I) = 1 pA
    temp = 27 C
    tnom = 27 C
    tempeffects = all
    method = traponly
    lteratio = 3.5
    relref = sigglobal
    cmin = 0 F
    gmin = 1 pS

    hb: time = 25.01 ns (2.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 75.01 ns (7.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 125 ns (12.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 175 ns (17.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 225 ns (22.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 275 ns (27.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 325 ns (32.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 375 ns (37.5 %), step = 19.57 ps (1.96 m%)
    hb: time = 425 ns (42.5 %), step = 19.57 ps (1.96 m%)
    99% of the nodes have reached steady-state after 442.275 ns.
    The Estimated oscillating frequency from Tstab Tran is = 511.288 MHz .

    =======================================
    `hb': time = (450.103 ns -> 452.059 ns)
    =======================================

    hb: time = 450.2 ns (3 %), step = 9.779 ps (500 m%)
    hb: time = 450.3 ns (8 %), step = 9.779 ps (500 m%)
    hb: time = 450.4 ns (13 %), step = 9.779 ps (500 m%)
    hb: time = 450.5 ns (18 %), step = 9.779 ps (500 m%)
    hb: time = 450.6 ns (23 %), step = 9.779 ps (500 m%)
    hb: time = 450.7 ns (28 %), step = 9.779 ps (500 m%)
    hb: time = 450.7 ns (33 %), step = 9.779 ps (500 m%)
    hb: time = 450.8 ns (38 %), step = 9.779 ps (500 m%)
    hb: time = 450.9 ns (43 %), step = 9.779 ps (500 m%)
    hb: time = 451 ns (48 %), step = 9.779 ps (500 m%)
    hb: time = 451.1 ns (53 %), step = 9.779 ps (500 m%)
    hb: time = 451.2 ns (58 %), step = 9.779 ps (500 m%)
    hb: time = 451.3 ns (63 %), step = 9.779 ps (500 m%)
    hb: time = 451.4 ns (68 %), step = 9.779 ps (500 m%)
    hb: time = 451.5 ns (73 %), step = 9.779 ps (500 m%)
    hb: time = 451.6 ns (78 %), step = 9.779 ps (500 m%)
    hb: time = 451.7 ns (83 %), step = 9.779 ps (500 m%)
    hb: time = 451.8 ns (88 %), step = 9.779 ps (500 m%)
    hb: time = 451.9 ns (93 %), step = 9.779 ps (500 m%)
    hb: time = 452 ns (98 %), step = 9.779 ps (500 m%)

    Notice from spectre during Harmonic Balance Steady State Analysis `hb'.
    Auto harmonic calculation has chosen 8 harmonics for tone-1.

    Pin node is 159, amplitude is 0.697625
    Pinning node: 159, harm: 1, name: I40.M0:int_d, value: (-0.608931, -0.340416)

    ==============================
    Harmonic balance
    hbhomotopy=tone (1-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=5.81e+02 at node I40.M1:int_d harm=(8 0)

    ********** iter = 1 **********
    Delta Norm=8.04e+01 at node V1:p harm=(5 0)
    Resd Norm=3.85e+02 at node I40.M0:int_d harm=(7 0)
    Frequency= 5.1129e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=4.68e+01 at node V1:p harm=(1 0)
    Resd Norm=1.32e+02 at node I40.M1:int_s harm=(5 0)
    Frequency= 5.1126e+08 Hz, delta f= -2.65e+04

    ********** iter = 3 **********
    Delta Norm=4.47e+01 at node V1:p harm=(1 0)
    Resd Norm=5.63e+01 at node I41.M0:int_d harm=(2 0)
    Frequency= 5.1129e+08 Hz, delta f= 2.59e+04

    ********** iter = 4 **********
    Delta Norm=4.91e+01 at node V1:p harm=(1 0)
    Resd Norm=5.15e+01 at node I41.M0:int_d harm=(0 0)
    Frequency= 5.1130e+08 Hz, delta f= 1.38e+04

    ********** iter = 5 **********
    Delta Norm=5.30e+01 at node V1:p harm=(1 0)
    Resd Norm=2.78e+01 at node I41.M1:int_d harm=(0 0)
    Frequency= 5.1129e+08 Hz, delta f= -9.81e+03

    ********** iter = 6 **********
    Delta Norm=1.01e+02 at node V1:p harm=(1 0)
    Resd Norm=2.94e+01 at node I41.M0:int_d harm=(4 0)
    Frequency= 5.1126e+08 Hz, delta f= -2.86e+04

    ********** iter = 7 **********
    Delta Norm=2.30e+00 at node V2:p harm=(3 0)
    Resd Norm=1.93e+00 at node I41.M0:int_d harm=(0 0)
    Frequency= 5.1126e+08 Hz, delta f= -9.55e+01

    ********** iter = 8 **********
    Delta Norm=8.23e+00 at node V1:p harm=(1 0)
    Resd Norm=2.39e-01 at node I41.M1:int_d harm=(5 0)
    Frequency= 5.1126e+08 Hz, delta f= -9.32e+02

    ********** iter = 9 **********
    Delta Norm=4.49e-01 at node V1:p harm=(1 0)
    Resd Norm=1.88e-02 at node I41.M0:int_d harm=(2 0)
    Frequency= 5.1126e+08 Hz, delta f= -7.95e+01
    Pinning node: 159, harm: 1, name: I40.M0:int_d, value: (-0.599918, -0.340416)

    ==============================
    Harmonic balance
    hbhomotopy=tone (all-tone)
    ==============================
    Important HB parameters:
    RelTol=1.00e-04
    abstol(I)=1.00e-12 A
    abstol(V)=1.00e-06 V
    residualtol=1.00e+00
    lteratio=3.50e+00
    steadyratio=1.00e+00
    maxperiods=100


    ********** initial residual **********
    Resd Norm=9.09e+03 at node PORT1:p harm=(0 1)

    ********** iter = 1 **********
    Delta Norm=2.25e+09 at node PORT1:p harm=(0 1)
    Resd Norm=3.21e+00 at node I16.C4.2 harm=(1 1)
    Frequency= 5.1126e+08 Hz, delta f= 0.00e+00

    ********** iter = 2 **********
    Delta Norm=7.29e+04 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=1.80e+00 at node I41.M0:int_d harm=(3 0)
    Frequency= 5.1126e+08 Hz, delta f= 3.38e+01

    ********** iter = 3 **********
    Delta Norm=3.67e+01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=1.17e+00 at node I41.M1:int_d harm=(1 0)
    Frequency= 5.1126e+08 Hz, delta f= 2.17e+03

    ********** iter = 4 **********
    Delta Norm=5.42e+01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=9.42e-01 at node I41.M1:int_d harm=(2 0)
    Frequency= 5.1126e+08 Hz, delta f= 1.58e+02

    ********** iter = 5 **********
    Delta Norm=2.48e+01 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=1.26e+00 at node I41.M1:int_d harm=(1 0)
    Frequency= 5.1126e+08 Hz, delta f= 6.36e+02

    ********** iter = 6 **********
    Delta Norm=2.66e+00 at node I31.L2.ls2_1:1 harm=(1 1)
    Resd Norm=4.65e-01 at node I41.M1:int_d harm=(1 0)
    Frequency= 5.1126e+08 Hz, delta f= 8.87e+01

    ********** iter = 7 **********
    Delta Norm=4.26e-01 at node I39.L0:1 harm=(1 0)
    Resd Norm=1.36e-01 at node I39.M1:int_s harm=(0 0)
    Frequency= 5.1126e+08 Hz, delta f= 2.27e+02


    *************************************************
    Fundamental frequency is 511.265 MHz.
    *************************************************

    CPU time=0 s


    Opening the PSF file ../../simulation/Circulator_Osc2/spectre/schematic/psf/hb.fd.qpss_hb ...

    Opening the PSF file ../../simulation/Circulator_Osc2/spectre/schematic/psf/hb.fi.qpss_hb ...
    Total time required for hb analysis `hb': CPU = 3.14514 s, elapsed = 3.19423 s.
    Time accumulated: CPU = 4.311 s, elapsed = 4.46011 s.
    Peak resident memory used = 125 Mbytes.


    ****************************************************
    HB S-Parameter Analysis `hbsp': sweep freq = 2.2 GHz
    ****************************************************
    Input port (PORT1) frequency = 2.2 GHz.
    Output port (PORT2) frequency = 2.2 GHz.

    Warning from spectre at freq = 2.2 GHz during HBSP analysis `hbsp'.
    WARNING: The result for relative frequency equal to 0 may be inaccuracy.
    WARNING: The result for relative frequency equal to 0 may be inaccuracy.
    WARNING (SPECTRE-16518): Arithmetic exception in analysis `hbsp' .

    Total time required for hbsp analysis `hbsp': CPU = 3.48009 s, elapsed = 3.48864 s.
    Time accumulated: CPU = 7.79166 s, elapsed = 7.94932 s.
    Peak resident memory used = 173 Mbytes.

    modelParameter: writing model parameter values to rawfile.

    Opening the PSF file ../../simulation/Circulator_Osc2/spectre/schematic/psf/modelParameter.info ...
    element: writing instance parameter values to rawfile.

    Opening the PSF file ../../simulation/Circulator_Osc2/spectre/schematic/psf/element.info ...
    outputParameter: writing output parameter values to rawfile.

    Opening the PSF file ../../simulation/Circulator_Osc2/spectre/schematic/psf/outputParameter.info ...
    designParamVals: writing netlist parameters to rawfile.

    Opening the PSFASCII file ../../simulation/Circulator_Osc2/spectre/schematic/psf/designParamVals.info ...
    primitives: writing primitives to rawfile.

    Opening the PSFASCII file ../../simulation/Circulator_Osc2/spectre/schematic/psf/primitives.info.primitives ...
    subckts: writing subcircuits to rawfile.

    Opening the PSFASCII file ../../simulation/Circulator_Osc2/spectre/schematic/psf/subckts.info.subckts ...

    Aggregate audit (3:48:13 PM, Mon Dec 14, 2020):
    Time used: CPU = 7.94 s, elapsed = 8.1 s, util. = 98%.
    Time spent in licensing: elapsed = 116 ms.
    Peak memory used = 173 Mbytes.
    Simulation started at: 3:48:04 PM, Mon Dec 14, 2020, ended at: 3:48:13 PM, Mon Dec 14, 2020, with elapsed time (wall clock): 8.1 s.
    spectre completes with 0 errors, 4 warnings, and 4 notices.

    Input.scs

    // Generated for: spectre
    // Generated on: Dec 14 15:21:02 2020
    // Design library name: Circulator_with_local_modulation
    // Design cell name: Circulator_Osc2
    // Design view name: schematic
    simulator lang=spectre
    global 0
    parameters Frf=3.0000000000000000e+09 ID=300u Pin=-10 Vb=1.25 VD=2.5
    include "/opt/cadence/TSMC_65n_PDK/CRN65LP/PDK_Library/PDK_main/tsmcN65/../models/spectre/toplevel.scs" section=tt_lib

    // Library name: Circulator_with_local_modulation
    // Cell name: Single_Oscillator_cap
    // View name: schematic
    subckt Single_Oscillator_cap IDC VDD VO\+ VO\- Vi\+ Vi\-
    L0 (VO\+ VDD) inductor l=15n r=500.0m
    L1 (VO\- VDD) inductor l=15n r=500.0m
    M1 (VO\- VO\+ IDC IDC) nmos_rf_25 lr=280.0n wr=2u nr=20 sa=3.75316u \
    sb=3.75316u sd=310.0n sca=0.536488 scb=1.71372e-07 scc=8.98234e-14 \
    m=1 sigma=1
    M0 (VO\+ VO\- IDC IDC) nmos_rf_25 lr=280.0n wr=2u nr=20 sa=3.75316u \
    sb=3.75316u sd=310.0n sca=0.536488 scb=1.71372e-07 scc=8.98234e-14 \
    m=1 sigma=1
    C1 (Vi\- VO\+) capacitor c=5p
    C0 (VO\- Vi\+) capacitor c=5p
    ends Single_Oscillator_cap
    // End of subcircuit definition.

    // Library name: Circulator_with_local_modulation
    // Cell name: LCTank
    // View name: schematic
    subckt LCTank DCMinus DCPlus TankIn TankOut
    C5 (TankIn DCMinus net24) moscap_rf25 wr=1.6u lr=400n br=64 gr=3 m=1 \
    mismatchflag=0
    C4 (TankOut DCMinus net18) moscap_rf25 wr=1.6u lr=400n br=64 gr=3 m=1 \
    mismatchflag=0
    C0 (DCPlus TankIn net25) moscap_rf25 wr=1.6u lr=400n br=64 gr=3 m=1 \
    mismatchflag=0
    C3 (DCPlus TankOut net16) moscap_rf25 wr=1.6u lr=400n br=64 gr=3 m=1 \
    mismatchflag=0
    L2 (TankOut TankIn net013) spiral_sym_mu_z w=9u nr=3 rad=90u lay=9 \
    spacing=4u gdis=10u m=1
    ends LCTank
    // End of subcircuit definition.

    // Library name: Circulator_with_local_modulation
    // Cell name: BiasT
    // View name: schematic
    subckt BiasT BTin BTout DCBias
    R3 (BTout DCBias) resistor r=10K
    C0 (BTout BTin) capacitor c=5p
    ends BiasT
    // End of subcircuit definition.

    // Library name: Circulator_with_local_modulation
    // Cell name: Circulator_Osc2
    // View name: schematic
    I41 (net024 VDD Osc3P Osc3N Osc2P Osc2N) Single_Oscillator_cap
    I40 (net025 VDD Osc2P Osc2N Osc1P Osc1N) Single_Oscillator_cap
    I39 (net036 VDD Osc1P Osc1N Osc3P Osc3N) Single_Oscillator_cap
    I16 (net015 net030 P1 P2) LCTank
    I31 (net026 net013 P2 P3) LCTank
    I34 (net017 net035 P3 P1) LCTank
    I47 (net024 0) isource dc=ID type=dc
    I44 (net036 0) isource dc=ID type=dc
    I42 (net025 0) isource dc=ID type=dc
    V2 (0 Vbn) vsource dc=Vb type=dc
    V1 (Vbp 0) vsource dc=Vb type=dc
    V0 (VDD 0) vsource dc=VD type=dc
    PORT2 (P2 0) port r=50 num=2 dc=0 type=dc
    PORT3 (P3 0) port r=50 num=3 dc=0 type=dc
    I33 (Osc3P net035 Vbp) BiasT
    I32 (Osc2P net013 Vbp) BiasT
    I30 (Osc2N net026 Vbn) BiasT
    I17 (Osc1P net030 Vbp) BiasT
    I35 (Osc3N net017 Vbn) BiasT
    I18 (Osc1N net015 Vbn) BiasT
    PORT1 (P1 0) port r=50 num=1 dc=0 type=sine freq=Frf dbm=Pin pacmag=1 \
    fundname="RF"
    simulatorOptions options psfversion="1.1.0" reltol=1e-3 vabstol=1e-6 \
    iabstol=1e-12 temp=27 tnom=27 scalem=1.0 scale=1.0 gmin=1e-12 rforce=1 \
    maxnotes=5 maxwarns=5 digits=5 cols=80 pivrel=1e-3 \
    sensfile="../psf/sens.output" checklimitdest=psf
    hb ( Osc1P Osc1N ) hb tstab=1000n autoharms=yes
    + autosteady=yes oversample=[1 1] fundfreqs=[(511M) (Frf)]
    + maxharms=[5 1] errpreset=moderate oscic=lin annotate=status
    hbsp hbsp start=Frf portharmsvec=[0 0 0 0] ports=[PORT2
    + PORT1] donoise=no annotate=status
    modelParameter info what=models where=rawfile
    element info what=inst where=rawfile
    outputParameter info what=output where=rawfile
    designParamVals info what=parameters where=rawfile
    primitives info what=primitives where=rawfile
    subckts info what=subckts where=rawfile
    saveOptions options save=allpub

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to hkadry

    You're still running semi-autonomous harmonic balance (i.e. you still have the large signal RF input enabled). Why is that? I suggested you probably don't want to do that. Also, you have your hbsp to be just a single point (so maybe that is confusing you?) rather than a sweep. More importantly, you have the frequency of the ports set to 3GHz, which is exactly the same frequency as the large signal input. So that means you have a large-signal input (in the hb) at 3GHz and a small-signal input (from the hbsp) on the same port at the same frequency - that's why there's a note in the spectre log telling you that the results might be inaccurate.

    You've also (by the port harmonics you've specified) given the input and output frequencies as 3GHz, did you mean that? (you may have done - not quite sure what you're trying to measure).

    With the simulation you had. I get waveforms for the s-parameters with only a single point at 3GHz, and the results are rather confusing given that you have a large signal and small signal at the same frequency. So I changed Frf to 0, and ran a single tone hb and set up the hbsp to sweep from 3G to 3.2G (just for interest), keeping the relative port harmonics as 0 (so no frequency shift) and then you get:

    Perhaps that's what you're expecting?

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • hkadry
    hkadry over 4 years ago in reply to Andrew Beckett

    Andrew, 

    I mentioned in my original note, that I was sweeping the frequency using parametric sweep and that's why my hbsp had only single point.  I am sweeping from 2.2G to 3G.  I did this because  I wanted to run the transient for every frequency input to get the mixing between the RF and the locally generated modulation signal(from the oscillator). 

    If I change Frf=0 then HB simulator will only have 1 tone Correct?  Also another question, when you run hbsp, does take into account the transient analysis done in HB before hand and applies that to every frequency point? 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to hkadry

    I don't think this makes sense. Doing the sweep in the hbsp is more meaningful I think (and considerably more efficient). Note that with just the oscillator enabled is indeed performing a single tone harmonic balance, but the hbsp analysis will then be performing a two tone analysis - it's just that the second (RF) tone only computes the linear terms of the mixing products with harmonics of the oscillator frequency. Given that s-parameters are a linear representation, that should be sufficient.

    As I said, the only reason for having the RF frequency present in the harmonic balance analysis itself is if you want to compute the s-parameters in the presence of a large signal blocker; note that the this would mean that the hbsp is effectively applying a second RF input frequency (which is treated linearly) and would mix with harmonics of both the oscillator and the large-signal blocker. That's why numerically it doesn't make sense to apply it at the same frequency as the large signal input - you can't really distinguish between the small signal applied on top of the large signal.

    I don't really understand why you want to "run the transient for every frequency input". You don't need to do that to compute harmonic balance responses anyway. The transient is only there to assist the convergence of the frequency domain solution by giving it a starting point closer to the final solution. In fact with a semi-autonomous (or indeed any multitone harmonic balance), the transient assist (tstab) part only has the first tone (the oscillator in this case) enabled because otherwise it would lead to the need to simulate the tstab over multiple periods of the common frequency of all tones - which with a free-running oscillator present could be a very long time indeed.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information