• 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. Mixed-Signal Design
  3. Error in PSS and PNoise simulation of a VCO followed by...

Stats

  • Locked Locked
  • Replies 11
  • Subscribers 65
  • Views 21005
  • 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

Error in PSS and PNoise simulation of a VCO followed by Frequency detector with 150MHz clock signal

Jayanta
Jayanta over 4 years ago

Hello

I am facing difficulty in simulating phase noise of an oscillator circuit. The circuit consists of a Current starved VCO (2.4GHz) followed by a frequency sensor circuit. To the frequency sensor circuit I have given a 150 MHz clock frequency(reference). while running the PSS analysis it is showing an error that this is not an autonomous circuit instead it is a driven circuit because of that reference clock signal. After going through some forum I tried the PSS analysis with the oscillator mode unchecked and tstab as 800ns. but in this case it is not converging at all.

Kindly guide me as i am stuck at this point.

Thanks & Regards,

Jayanta

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Jayanta,

    You cannot simulate using PSS a circuit that has both a driven frequency and an autonomous frequency at the same time. This is because PSS requires a single fundamental frequency to be found which is the common frequency of all frequencies in the circuit - in other words, across the lowest common frequency. This is true with PSS whether you are using shooting or harmonic balance because everything is solved across the fundamental found. If you have an autonomous frequency and a driven frequency, the common frequency is chaotic - a very tiny change to the autonomous frequency can lead to a huge change in common frequency and so it cannot be solved (this is not just a matter of a software limitation; it's a fundamental restriction of the algorithms used).

    The harmonic balance analysis does however allow for having two tones setup (this is if you use the hb analysis) where the first tone is your autonomous signal (oscillator) and the second is the driven signal. The analysis will first try to converge with just the oscillator enabled (i.e. the driven signal not present) and then apply the driven signal - so the circuit must operate even without your 150MHz clock not present. I'm not sure semi-autonomous hb is really well-suited to this because I'm assuming your current starved VCO is a ring oscillator and hence fairly square, plus your lower frequency clock being square, so you'll need a fair number of harmonics of each.

    It may make more sense to contact customer support so that we can see more details of your actual circuit and what you're trying to simulate.

    Regards,

    Andrew.

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

    Hello Andrew,

    Thank you so much for the  quick reply.

    I understood that PSS analysis cannot be performed on the circuit having both autonomous and driven circuit. I am trying for the HB analysis. In the choose analysis I have set the tones to  names . I have used two tones , Oscillator of 2.151GHz and V4 as 150MHz. I have set the fundamental harmonic to auto mode and the 150MHz to 4. But it is showing an error as  "The number of fundamental names does not agree with the number of maximum harmonics that are specified".

    Now when I am changing the tones to frequency in the choose analysis window, with the same settings, I am getting an error message as " The source V4 couldn't find matched freq. Please make sure the fundfreqs is set up correctly in analysis".

    The snapshots for the circuit and error1 (with tones selected) and error 2 ( with Frequency selected) as attached below for reference. Kindly guide me.

    Thanks & Regards,

    Jayanta

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

    Jayanta,

    As far as I know, with semi-autonomous mode you have to use the frequencies (not names) mode because there is no "name" for the oscillator and so it wouldn't make sense. 

    I don't really get how it can be complaining about V4 - you don't appear to have a V4 in the design.

    Please show the hb form with "frequencies" mode selected, and ideally the bottom part of the input.scs (with at least the analysis and options statements, and ideally the top level components) - preferrably show this input.scs as text rather than as a screenshot. Also please show the exact error message you are getting from the simulator when you use this mode.

    Andrew.

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

    Andrew,

    V4 is actually the input periodic pulse of 150MHz (screenshot attached). hb form with the frequency mode selected screenshot attached. The error report in complete is put here.

    The error is "The source V4 couldn't find matched freq. Please make sure the fundfreqs is set up correctly in analysis.


    Cadence (R) Virtuoso (R) Spectre (R) Circuit Simulator
    Version 14.1.0.765.isr11 64bit -- 24 Jul 2015
    Copyright (C) 1989-2015 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence, Virtuoso 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: pjayanta   Host: vlsi-9.nitr.in   HostID: A8C05331   PID: 10778
    Memory  available: 4.1804 GB  physical: 8.1730 GB
    CPU Type: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
              Processor PhysicalID CoreID Frequency Load
                  0         0        0     3401.0     9.9
                  1         0        1     800.0     3.6
                  2         0        2     800.0     1.2
                  3         0        3     800.0     0.3
                  4         0        0     3400.0     2.4
                  5         0        1     800.0     1.2
                  6         0        2     3401.0     0.9
                  7         0        3     800.0     0.2


    Simulating `input.scs' on vlsi-9.nitr.in at 4:41:45 PM, Fri Sep 18, 2020 (process id: 10778).
    Current working directory: /home/guests/phd/pjayanta/simulation/CSVCO_Freq_Detector/spectre/schematic/netlist
    Command line:
        /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools/bin/spectre  \
            -64 input.scs +escchars +log ../psf/spectre.out +inter=mpsc  \
            +mpssession=spectre0_5138_40 -format psfxl -raw ../psf  \
            +lqtimeout 900 -maxw 5 -maxn 5
    spectre pid = 10778

    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file:  /home/guests/phd/pjayanta/simulation/CSVCO_Freq_Detector/spectre/schematic/netlist/input.scs
    Reading file:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_NVT_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_NVT_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_V111.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_V111.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP25_V113.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP25_V113.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_25_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_25_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_33IO_GOX52_VT21.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_33IO_GOX52_VT21.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_RF_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_RF_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90-resistor-control-V041.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_res.va
    Reading link:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/constants.vams
    Reading link:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_ppo_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_ppo_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_npo_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_npo_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rnhr_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rnhr_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rsnwell_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rsnwell_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_nd_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_nd_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_pd_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_pd_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_metal_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_metal_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_BJT_V111.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_BJT_V111.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_DIODE_V101.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_RF_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_RF_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_RF_VTAB.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_RF_VTAB.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLHVT12_V101.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLHVT12_V101.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLNVT12_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLNVT12_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90SP_NCAP10_V112.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90SP_NCAP10_V112.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP12_LL_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP12_LL_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_V061.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_V061.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPHVT10_V111.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPHVT10_V111.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPLVT10_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPLVT10_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPNVT10_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPNVT10_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_mimcaps_20f_kf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_mimcaps_20f_kf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_momcaps_V041.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_momcaps_V041.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_vardiop_rf_v011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_vardiop_rf_v011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_12_llrf_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_12_llrf_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp3_rfvcl_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp3_rfvcl_V011.typ.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp4_rfvcl_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp4_rfvcl_V011.typ.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnhr_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnhr_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/res_poly.va
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnnpo_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnnpo_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnppo_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnppo_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_10_sprf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_10_sprf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/bond_pad_v011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/bond_pad_v011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_RF_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_RF_V021.mdl.scs
    Time for NDB Parsing: CPU = 95.985 ms, elapsed = 1.4417 s.
    Time accumulated: CPU = 107.982 ms, elapsed = 1.44171 s.
    Peak resident memory used = 44.3 Mbytes.


    Warning from spectre during circuit read-in.
        WARNING (SFE-2654): VerilogA module `respoly_va' override primitive/(verilogA module) `respoly_va'.
        WARNING (SFE-2654): VerilogA module `respoly_va' override primitive/(verilogA module) `respoly_va'.
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-884): "/project/foundry/UMC90/Designkits/Cadence_6.1/umc90nm/../Models/Spectre/L90-resistor-control-V041.scs" 1: The option 'tnom' is deleted because it is redefined at 'input.scs':line '370'.
    Warning from spectre in `csvco2':`I0', during hierarchy flattening.
        WARNING (SFE-30): "input.scs" 46: I0.NM26: `mis_flag' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 46: I0.NM26: `mf' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 48: I0.NM8: `mis_flag' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 48: I0.NM8: `mf' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 50: I0.NM7: `mis_flag' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
            Further occurrences of this warning will be suppressed.

    Time for Elaboration: CPU = 24.997 ms, elapsed = 26.005 ms.
    Time accumulated: CPU = 133.979 ms, elapsed = 1.46783 s.
    Peak resident memory used = 50.5 Mbytes.

    Time for EDB Visiting: CPU = 2 ms, elapsed = 2.59399 ms.
    Time accumulated: CPU = 135.979 ms, elapsed = 1.47054 s.
    Peak resident memory used = 52.3 Mbytes.


    Warning from spectre during initial setup.
        WARNING (CMI-2424): I0.PM0q: `Moin' = 4.91603 is unusually small.
        WARNING (CMI-2424): I0.PM1: `Moin' = 4.66316 is unusually small.


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

    Circuit inventory:
                  nodes 205
                  bsim4 336   
              capacitor 2     
                isource 2     
               resistor 1     
                vsource 9     

    Analysis and control statement inventory:
                     hb 1     
                   info 6     

    Output statements:
                 .probe 0     
               .measure 0     
                   save 0     


    Notice from spectre.
        667 warnings suppressed.

    Time for parsing: CPU = 5.999 ms, elapsed = 87.4801 ms.
    Time accumulated: CPU = 141.978 ms, elapsed = 1.55812 s.
    Peak resident memory used = 54 Mbytes.

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

    Warning from spectre.
        WARNING (SPECTRE-16707): Only tran supports psfxl format, result of other analyses will be in psfbin format.
    Error found by spectre.
        ERROR (SPCRTRF-15268): The source V4 couldn't find matched freq. Please make sure the fundfreqs is set up correctly in analysis.

    Analysis `hb' was terminated prematurely due to an error.
    modelParameter: writing model parameter values to rawfile.
    element: writing instance parameter values to rawfile.
    outputParameter: writing output parameter values to rawfile.
    designParamVals: writing netlist parameters to rawfile.
    primitives: writing primitives to rawfile.
    subckts: writing subcircuits to rawfile.

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

    OK, your previous picture didn't have V4, but V2 - that was what confused me.

    Anyway, the issue is that 1/period is not exactly 150MHz. I would suggest that you enter the period of the pulse source (in the edit properties command) as 1.0/150M rather than 6.66666n - that should fix it. BTW you didn't include the input.scs lines, but I don't really need those now as it's pretty clear from the screenshots you provided.

    Regards,

    Andrew.

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

     Thank you Andrew that problem is over.  Now it is the convergence error showing. Please suggest.

    Regards,

    Jayanta

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to Jayanta
    Jayanta said:
    Please suggest

    My suggestion is that  you provide the log file. I think it's pretty unlikely that 4 harmonics is enough for the second (150MHz tone); the first tone (the oscillator) will probably be OK - but hopefully the log file would give more information.

    With only "it is the convergence error showing" there's not really much to go on...

    Andrew

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

    Andrew,

    The log file put here. Also I am putting the screenshot of setting of analysis


    Cadence (R) Virtuoso (R) Spectre (R) Circuit Simulator
    Version 14.1.0.765.isr11 64bit -- 24 Jul 2015
    Copyright (C) 1989-2015 Cadence Design Systems, Inc. All rights reserved worldwide. Cadence, Virtuoso 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: pjayanta   Host: vlsi-9.nitr.in   HostID: A8C05331   PID: 11933
    Memory  available: 3.5968 GB  physical: 8.1730 GB
    CPU Type: Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
              Processor PhysicalID CoreID Frequency Load
                  0         0        0     800.0    12.1
                  1         0        1     800.0     4.4
                  2         0        2     800.0     2.7
                  3         0        3     800.0     1.2
                  4         0        0     2300.0     2.5
                  5         0        1     800.0     1.6
                  6         0        2     3401.0     0.8
                  7         0        3     800.0     0.2


    Simulating `input.scs' on vlsi-9.nitr.in at 6:05:07 PM, Fri Sep 18, 2020 (process id: 11933).
    Current working directory: /home/guests/phd/pjayanta/simulation/CSVCO_Freq_Detector/spectre/schematic/netlist
    Command line:
        /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools/bin/spectre  \
            -64 input.scs +escchars +log ../psf/spectre.out +inter=mpsc  \
            +mpssession=spectre0_5138_46 -format psfxl -raw ../psf  \
            +lqtimeout 900 -maxw 5 -maxn 5
    spectre pid = 11933

    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file:  /home/guests/phd/pjayanta/simulation/CSVCO_Freq_Detector/spectre/schematic/netlist/input.scs
    Reading file:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_NVT_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_NVT_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_V111.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_V111.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP25_V113.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP25_V113.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_25_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_25_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_33IO_GOX52_VT21.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_33IO_GOX52_VT21.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_RF_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_25IO_RF_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90-resistor-control-V041.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_res.va
    Reading link:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/constants.vams
    Reading link:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file:  /cad/cadence/MMSIM/MMSIM141ISR/MMSIM141ISR_lnx86/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_ppo_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_ppo_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_npo_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_npo_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rnhr_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rnhr_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rsnwell_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_rsnwell_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_nd_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_nd_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_pd_V031.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_pd_V031.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_metal_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_r_metal_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_BJT_V111.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_BJT_V111.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_DIODE_V101.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_RF_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_RF_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_RF_VTAB.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_RF_VTAB.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LL12_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLHVT12_V101.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLHVT12_V101.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLLVT12_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLNVT12_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_LLNVT12_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90SP_NCAP10_V112.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90SP_NCAP10_V112.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP12_LL_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_NCAP12_LL_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_V061.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_V061.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPHVT10_V111.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPHVT10_V111.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPLVT10_V102.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPLVT10_V102.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPNVT10_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SPNVT10_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_mimcaps_20f_kf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_mimcaps_20f_kf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_momcaps_V041.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_momcaps_V041.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_vardiop_rf_v011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_vardiop_rf_v011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_12_llrf_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_12_llrf_V021.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp3_rfvcl_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp3_rfvcl_V011.typ.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp4_rfvcl_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/momcaps_array_vp4_rfvcl_V011.typ.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnhr_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnhr_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/res_poly.va
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnnpo_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnnpo_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnppo_rf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/rnppo_rf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_10_sprf_V011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_varmis_10_sprf_V011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/bond_pad_v011.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/bond_pad_v011.mdl.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_RF_V021.lib.scs
    Reading file:  /project/foundry/UMC90/Designkits/Cadence_6.1/Models/Spectre/L90_SP10_RF_V021.mdl.scs
    Time for NDB Parsing: CPU = 105.984 ms, elapsed = 2.27146 s.
    Time accumulated: CPU = 117.981 ms, elapsed = 2.27147 s.
    Peak resident memory used = 44.3 Mbytes.


    Warning from spectre during circuit read-in.
        WARNING (SFE-2654): VerilogA module `respoly_va' override primitive/(verilogA module) `respoly_va'.
        WARNING (SFE-2654): VerilogA module `respoly_va' override primitive/(verilogA module) `respoly_va'.
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-884): "/project/foundry/UMC90/Designkits/Cadence_6.1/umc90nm/../Models/Spectre/L90-resistor-control-V041.scs" 1: The option 'tnom' is deleted because it is redefined at 'input.scs':line '370'.
    Warning from spectre in `csvco2':`I0', during hierarchy flattening.
        WARNING (SFE-30): "input.scs" 46: I0.NM26: `mis_flag' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 46: I0.NM26: `mf' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 48: I0.NM8: `mis_flag' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 48: I0.NM8: `mf' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
        WARNING (SFE-30): "input.scs" 50: I0.NM7: `mis_flag' is not a valid parameter for an instance of `n_12_ll'.  Ignored.
            Further occurrences of this warning will be suppressed.

    Time for Elaboration: CPU = 22.997 ms, elapsed = 23.844 ms.
    Time accumulated: CPU = 140.978 ms, elapsed = 2.29541 s.
    Peak resident memory used = 50.5 Mbytes.

    Time for EDB Visiting: CPU = 2 ms, elapsed = 2.39515 ms.
    Time accumulated: CPU = 142.978 ms, elapsed = 2.29792 s.
    Peak resident memory used = 52.3 Mbytes.


    Warning from spectre during initial setup.
        WARNING (CMI-2424): I0.PM0q: `Moin' = 4.91603 is unusually small.
        WARNING (CMI-2424): I0.PM1: `Moin' = 4.66316 is unusually small.


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

    Circuit inventory:
                  nodes 205
                  bsim4 336   
              capacitor 2     
                isource 2     
               resistor 1     
                vsource 9     

    Analysis and control statement inventory:
                     hb 1     
                   info 6     

    Output statements:
                 .probe 0     
               .measure 0     
                   save 0     


    Notice from spectre.
        667 warnings suppressed.

    Time for parsing: CPU = 5.999 ms, elapsed = 73.401 ms.
    Time accumulated: CPU = 148.977 ms, elapsed = 2.37143 s.
    Peak resident memory used = 54 Mbytes.

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

    Warning from spectre.
        WARNING (SPECTRE-16707): Only tran supports psfxl format, result of other analyses will be in psfbin format.

    Fundamental 0 in fundfreqs:  period = 464.9 ps, freq = 2.151 GHz, harms = 5, oversample = 8.
    Fundamental 1 in fundfreqs:  period = 6.66667 ns, freq = 150 MHz, harms = 16, oversample = 8.

    ******************************************************************
    Harmonic Balance Steady State Analysis `hb': largefund = 2.151 GHz
    ******************************************************************
    Use semi-autonomous solver

    Notice from spectre during DC analysis, during periodic steady state analysis, during Harmonic Balance Steady State Analysis `hb'.
        GminDC = 1 pS is large enough to noticeably affect the DC solution.
            dV(I1.I22.I46.NM1:int_s) = 47.7375 mV
            Use the `gmin_check' option to eliminate or expand this report.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.

    DC simulation time: CPU = 105.984 ms, elapsed = 105.429 ms.


    Using linear IC

    Warning from spectre at time = 4.649 ps during periodic steady state analysis, during Harmonic Balance Steady State Analysis `hb'.
        WARNING: Linear IC: Fail to find out initial frequency. [ Early Reject ]


    INFO: Can't find linear initial condition.

    INFO: Redo the DC analysis, and do transient from DC.


    Notice from spectre at time = 4.649 ps during IC analysis, during periodic steady state analysis, during Harmonic Balance Steady State Analysis `hb'.
        There are 1 IC nodes defined.

    Trying `homotopy = gmin' for initial conditions.
    Trying `homotopy = source' for initial conditions.

    Notice from spectre at time = 4.649 ps during IC analysis, during periodic steady state analysis, during Harmonic Balance Steady State Analysis `hb'.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.
        Initial condition computed for node I0.net29 is in error by 80.2553 uV.
            Decrease `rforce' to reduce error in computed initial conditions.  However, setting rforce too small may result in convergence difficulties or in the matrix becoming singular.

    DC simulation time: CPU = 807.877 ms, elapsed = 808.627 ms.

    ===============================
    `hb': time = (0 s -> 23.245 ns)
    ===============================

    Important parameter values in tstab integration:
        start = 0 s
        outputstart = 0 s
        stop = 23.245 ns
        step = 23.245 ps
        maxstep = 4.649 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 = 581.5 ps     (2.5 %), step = 3.441 ps    (14.8 m%)
        hb: time = 1.746 ns    (7.51 %), step = 4.649 ps      (20 m%)
        hb: time = 2.907 ns    (12.5 %), step = 4.649 ps      (20 m%)
        hb: time = 4.071 ns    (17.5 %), step = 4.649 ps      (20 m%)
        hb: time = 5.23 ns     (22.5 %), step = 1.479 ps    (6.36 m%)
        hb: time = 6.394 ns    (27.5 %), step = 4.649 ps      (20 m%)
        hb: time = 7.558 ns    (32.5 %), step = 4.649 ps      (20 m%)
        hb: time = 8.721 ns    (37.5 %), step = 4.649 ps      (20 m%)
        hb: time = 9.882 ns    (42.5 %), step = 3.753 ps    (16.1 m%)
        hb: time = 11.04 ns    (47.5 %), step = 4.649 ps      (20 m%)
        hb: time = 12.21 ns    (52.5 %), step = 4.649 ps      (20 m%)
        hb: time = 13.37 ns    (57.5 %), step = 4.649 ps      (20 m%)
        hb: time = 14.53 ns    (62.5 %), step = 2.098 ps    (9.03 m%)
        hb: time = 15.69 ns    (67.5 %), step = 4.649 ps      (20 m%)
        hb: time = 16.86 ns    (72.5 %), step = 3.723 ps      (16 m%)
        hb: time = 18.02 ns    (77.5 %), step = 4.649 ps      (20 m%)
        hb: time = 19.18 ns    (82.5 %), step = 3.523 ps    (15.2 m%)
        hb: time = 20.34 ns    (87.5 %), step = 4.649 ps      (20 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 39.58 ns    (88.7 %), step = 2.622 ps    (5.87 m%)
        hb: time = 41.29 ns    (92.5 %), step = 4.649 ps    (10.4 m%)
        hb: time = 43.52 ns    (97.5 %), step = 4.649 ps    (10.4 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 62.84 ns    (92.6 %), step = 3.668 ps     (5.4 m%)
        hb: time = 66.18 ns    (97.5 %), step = 3.321 ps    (4.89 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 85.4 ns     (93.7 %), step = 4.649 ps     (5.1 m%)
        hb: time = 88.84 ns    (97.5 %), step = 2.342 ps    (2.57 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 108.1 ns    (94.5 %), step = 2.03 ps     (1.77 m%)
        hb: time = 111.5 ns    (97.5 %), step = 4.649 ps    (4.07 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 130.7 ns    (94.9 %), step = 2.116 ps    (1.54 m%)
        hb: time = 134.2 ns    (97.5 %), step = 3.407 ps    (2.48 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 153.4 ns    (95.4 %), step = 4.649 ps    (2.89 m%)
        hb: time = 156.8 ns    (97.5 %), step = 2.417 ps     (1.5 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 176 ns      (95.6 %), step = 4.649 ps    (2.53 m%)
        hb: time = 179.5 ns    (97.5 %), step = 3.908 ps    (2.12 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 198.6 ns    (95.8 %), step = 2.111 ps    (1.02 m%)
        hb: time = 202.2 ns    (97.5 %), step = 4.649 ps    (2.24 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 221.4 ns      (96 %), step = 2.697 ps    (1.17 m%)
        hb: time = 224.8 ns    (97.5 %), step = 4.649 ps    (2.02 m%)
    Automatically increase tstab for better initial solution.
        hb: time = 243.9 ns    (96.1 %), step = 4.649 ps    (1.83 m%)
        hb: time = 247.5 ns    (97.5 %), step = 4.649 ps    (1.83 m%)

    Warning from spectre at time = 253.835 ns during periodic steady state analysis, during Harmonic Balance Steady State Analysis `hb'.
        WARNING (SPCRTRF-15311): Steady-state has not been detected after 253.835 ns.
            If the circuit does not converge, set a longer transient stop time manually.
            The number of tone-1 harmonics is set to 5.

    Frequency divided by 3 at node CLK_OUT_16
    The Estimated oscillating frequency from Tstab Tran is = 719.733 MHz .

    =======================================
    `hb': time = (255.695 ns -> 257.084 ns)
    =======================================

        hb: time = 255.7 ns    (2.52 %), step = 2.345 ps     (169 m%)
        hb: time = 255.8 ns    (7.51 %), step = 4.649 ps     (335 m%)
        hb: time = 255.9 ns    (12.6 %), step = 4.649 ps     (335 m%)
        hb: time = 255.9 ns    (17.7 %), step = 4.649 ps     (335 m%)
        hb: time = 256 ns      (22.7 %), step = 4.649 ps     (335 m%)
        hb: time = 256.1 ns    (27.7 %), step = 4.649 ps     (335 m%)
        hb: time = 256.2 ns    (32.8 %), step = 3.835 ps     (276 m%)
        hb: time = 256.2 ns    (37.5 %), step = 4.649 ps     (335 m%)
        hb: time = 256.3 ns    (42.6 %), step = 4.649 ps     (335 m%)
        hb: time = 256.4 ns    (47.6 %), step = 4.649 ps     (335 m%)
        hb: time = 256.4 ns    (52.6 %), step = 4.649 ps     (335 m%)
        hb: time = 256.5 ns    (57.6 %), step = 4.649 ps     (335 m%)
        hb: time = 256.6 ns    (62.7 %), step = 4.649 ps     (335 m%)
        hb: time = 256.6 ns    (67.7 %), step = 3.791 ps     (273 m%)
        hb: time = 256.7 ns    (72.7 %), step = 3.03 ps      (218 m%)
        hb: time = 256.8 ns    (77.6 %), step = 3.256 ps     (234 m%)
        hb: time = 256.8 ns    (82.6 %), step = 4.649 ps     (335 m%)
        hb: time = 256.9 ns    (87.7 %), step = 4.649 ps     (335 m%)
        hb: time = 257 ns      (92.7 %), step = 4.649 ps     (335 m%)
        hb: time = 257.1 ns    (97.6 %), step = 4.649 ps     (335 m%)

    Warning from spectre during Harmonic Balance Steady State Analysis `hb'.
        WARNING (SPCRTRF-15319): The number of fundamental harmonics is small. If the analysis struggles to converge, please try increasing it.

    Pin node is 533, amplitude is 0.699055
    Pinning node: 533, harm: 1, name: I10.I2.NM4:int_d, value: (-0.359888, 0.599298)

    ==============================
         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.99e+03  at node I1.I34.I1.NM1:int_s  harm=(5 0)

    ********** iter = 1 **********

    Warning from spectre during Harmonic Balance Steady State Analysis `hb'.
        WARNING (CMI-2682): I1.I26.I5.NM3: The bulk-drain junction forward bias voltage (4.60632 V) exceeds `VjdmFwd' = 1.01369 V.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2682): I1.I26.I5.NM7: The bulk-drain junction forward bias voltage (4.60632 V) exceeds `VjdmFwd' = 1.03066 V.  The results are now incorrect because the junction current model has been linearized

    Damping Factor is 0.1
    Delta Norm=7.04e+03  at node I1.I26.I2.net15  harm=(0 0)
    Resd Norm=5.83e+03  at node I1.I34.I1.NM1:int_s  harm=(5 0)
    Frequency= 7.1607e+08 Hz, delta f= -3.66e+06

    ********** iter = 2 **********
    Delta Norm=1.23e+05  at node I1.I26.I5.PM3:int_d  harm=(0 0)
    Resd Norm=9.91e+03  at node I1.I26.I6.NM1:int_s  harm=(0 0)
    Frequency= 6.8011e+08 Hz, delta f= -3.60e+07

    ********** iter = 3 **********

    Warning from spectre during Harmonic Balance Steady State Analysis `hb'.
        WARNING (CMI-2682): I1.I26.I7.PM2: The bulk-drain junction forward bias voltage (13.1102 V) exceeds `VjdmFwd' = 990.229 mV.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2377): I1.I26.I7.PM2: Vgd has exceeded the oxide breakdown voltage of `vbox' = 9.3 V.
        WARNING (CMI-2375): I1.I26.I7.PM3: Vgs has exceeded the oxide breakdown voltage of `vbox' = 9.3 V.
        WARNING (CMI-2377): I1.I26.I7.PM3: Vgd has exceeded the oxide breakdown voltage of `vbox' = 9.3 V.
        WARNING (CMI-2682): I1.I26.I7.NM2: The bulk-drain junction forward bias voltage (485.289 V) exceeds `VjdmFwd' = 1.01369 V.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2375): I1.I26.I7.NM2: Vgs has exceeded the oxide breakdown voltage of `vbox' = 8.85 V.
        WARNING (CMI-2377): I1.I26.I7.NM2: Vgd has exceeded the oxide breakdown voltage of `vbox' = 8.85 V.
        WARNING (CMI-2683): I1.I26.I7.NM3: The `bulk-drain' junction reverse bias voltage (-14.3102 V) exceeds `VjdmRev' = -12.0276 V.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2377): I1.I26.I7.NM3: Vgd has exceeded the oxide breakdown voltage of `vbox' = 8.85 V.
        WARNING (CMI-2683): I1.I26.I7.NM4: The `bulk-drain' junction reverse bias voltage (-486.485 V) exceeds `VjdmRev' = -12.0276 V.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2375): I1.I26.I7.NM4: Vgs has exceeded the oxide breakdown voltage of `vbox' = 8.85 V.
        WARNING (CMI-2683): I1.I26.I7.NM7: The `bulk-drain' junction reverse bias voltage (-14.3102 V) exceeds `VjdmRev' = -12.0445 V.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2377): I1.I26.I7.NM7: Vgd has exceeded the oxide breakdown voltage of `vbox' = 8.85 V.
            Further occurrences of this warning will be suppressed.
        WARNING (CMI-2682): I1.I26.I7.NM2: The bulk-drain junction forward bias voltage (47.6614 V) exceeds `VjdmFwd' = 1.01369 V.  The results are now incorrect because the junction current model has been linearized
            Further occurrences of this warning will be suppressed.
        WARNING (CMI-2683): I1.I26.I7.NM4: The `bulk-drain' junction reverse bias voltage (-48.861 V) exceeds `VjdmRev' = -12.0276 V.  The results are now incorrect because the junction current model has been linearized
        WARNING (CMI-2375): I1.I26.I7.NM4: Vgs has exceeded the oxide breakdown voltage of `vbox' = 8.85 V.

    Damping Factor is 0.001
    Delta Norm=7.20e+02  at node I1.I26.I7.NM2:int_d  harm=(0 0)
    Resd Norm=9.91e+03  at node I1.I26.I6.NM1:int_s  harm=(0 0)
    Frequency= 6.8001e+08 Hz, delta f= -1.07e+05

    ********** iter = 4 **********

    Warning from spectre during Harmonic Balance Steady State Analysis `hb'.
        WARNING (CMI-2375): I1.I26.I7.PM3: Vgs has exceeded the oxide breakdown voltage of `vbox' = 9.3 V.
            Further occurrences of this warning will be suppressed.
        WARNING (CMI-2683): I1.I26.I7.NM3: The `bulk-drain' junction reverse bias voltage (-14.1336 V) exceeds `VjdmRev' = -12.0276 V.  The results are now incorrect because the junction current model has been linearized
            Further occurrences of this warning will be suppressed.

    Damping Factor is 0.1
    Delta Norm=6.39e+03  at node I1.I26.I7.NM7:int_d  harm=(0 0)
    Resd Norm=9.96e+03  at node I1.I26.I7.NM2:int_s  harm=(0 0)
    Frequency= 6.6903e+08 Hz, delta f= -1.10e+07

    ********** iter = 5 **********
    Damping Factor is 0.1
    Delta Norm=1.19e+04  at node I1.I22.I18.PM2:int_d  harm=(0 0)
    Resd Norm=9.96e+03  at node I1.I26.I7.NM2:int_s  harm=(0 0)
    Frequency= 6.6408e+08 Hz, delta f= -4.95e+06

    ********** iter = 6 **********

    Notice from spectre during Harmonic Balance Steady State Analysis `hb'.
        I1.I26.I0.PM0: The bulk-drain junction returns to normal bias condition

    Damping Factor is 0.3
    Delta Norm=5.86e+03  at node I1.I22.I16.NM7:int_d  harm=(0 0)
    Resd Norm=1.00e+04  at node I1.I26.I7.NM2:int_s  harm=(0 0)
    Frequency= 6.4732e+08 Hz, delta f= -1.68e+07

    ********** iter = 7 **********
    Delta Norm=9.87e+07  at node I1.I26.I3.NM2:int_d  harm=(0 0)
    Resd Norm=1.00e+04  at node I1.I22.I16.NM1:int_d  harm=(0 0)
    Frequency= 5.8857e+08 Hz, delta f= -5.87e+07

    ********** iter = 8 **********
    Newton upate not valid! Seaching for new update
    Newton update is rejected

    ********** iter = 9 **********
    Newton upate not valid! Seaching for new update
    Newton update is rejected

    ********** iter = 10 **********
    Newton upate not valid! Seaching for new update
    Newton update is rejected
    Pinning node: 533, harm: 1, name: I10.I2.NM4:int_d, value: (-0.359913, 0.590121)

    ==============================
         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.00e+04  at node I1.I26.I3.net9  harm=(0 0)

    ********** iter = 1 **********

    Warning from spectre during Harmonic Balance Steady State Analysis `hb'.
        WARNING (SPCRTRF-15287):
            Solution Norm is zero. Jacobian Matrix is corrupted. Harmonic Balance failed to converge.


    CPU time=41 s


    Error found by spectre during Harmonic Balance Steady State Analysis `hb'.
        ERROR:
            Harmonic balance failed to converge.
    Warning from spectre during Harmonic Balance Steady State Analysis `hb'.
        WARNING (SPECTRE-16518): Arithmetic exception in analysis `hb' .

    Analysis `hb' was terminated prematurely due to an error.

    Notice from spectre.
        582 warnings suppressed.

    modelParameter: writing model parameter values to rawfile.
    element: writing instance parameter values to rawfile.
    outputParameter: writing output parameter values to rawfile.
    designParamVals: writing netlist parameters to rawfile.
    primitives: writing primitives to rawfile.
    subckts: writing subcircuits to rawfile.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 4 years ago in reply to Jayanta

    Dear Jayanta,

    To add to Andrew's comments after I perused your spectre.out file, did you happen to see the two warnings that suggest the potential sources of your convergence error?

    1. The first warning suggests you should set the value of tstab manually in lieu of relying on an automatic assignment of its value (you have it set to "Decide automatically"). Under your GUI panel, set the value of tstab manually (under "Transient Aided options"). I might also suggest you check the radio button to allow you to study the tstab transient results to further verify its settling with the value of tstab you choose.

    2. The second warning indicates you have not set an appropriate number of harmonics (Andrew's suggestion in his post).

    Jayanta said:
    WARNING (SPCRTRF-15319): The number of fundamental harmonics is small. If the analysis struggles to converge, please try increasing it.

    I might suggest you consider both of these changes to potentially eliminate your convergence error.

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Jayanta
    Jayanta over 4 years ago in reply to ShawnLogan

    Dear Shawn,

    Thanks for replying. I tried to overcome both the warnings. 1. Tried with giving manual Tstab of even 1us. 2. The harmonics also increased to 16 for tone 2. But still not converging. 

    I am wondering whether its because of the digital output at the Frequency detector circuit i.e. there is a non periodic signal(digital signals) at the output of the Frequency detector for whicih HB/PSS is not converging.

    Thanks & Regards,

    Jayanta

    • 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