• 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. Problem of Nport PSS shooting simulation

Stats

  • Locked Locked
  • Replies 12
  • Subscribers 63
  • Views 22515
  • 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

Problem of Nport PSS shooting simulation

Hubertastra
Hubertastra over 4 years ago

Hello,

I have some problem when doing the PSS/PAC/PSP simulation with Nport from the analoglib.

I'm using Spectre Version 19.1.0.373.isr7 64bit and Virtuoso IC6.1.8-64b.

I wrote a S4P touchstone file to model an ideal IQ coupler and simulated it with Nport component from analoglib.

I tried PSS/PSP/PAC simulations with both shooting and HB engine.

The result of HB engine is correct, funtioning exactly as an ideal IQ coupler. While the result of shooting engine is completely wrong.

I used the PSS shooting engine for NPORT simulation with Spectre 14 and Virtuoso IC6.1.6 before. It works very well.

I wonder whether there is a way to get NPORT works with PSS shooting engine in the new Spectre/Virtuoso version.

For the Nport setup, I  tried nearly all the options for passivity, causilty, interpolation methods.

One weird thing is that no matter which interpolation methods I chose (linear, rational), the final fitting is always based on BBspice.

Any comment is appreciated. Thank you.

 

Best regards,

Yang

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    Yang,

    Perhaps you can post your s-parameter file? Normally I would expect an "ideal" IQ coupler to be something that would be difficult to simulate in the time-domain because it represents something that is very hard to model in the time-domain (it would probably have passivity/causality problems). So almost certainly, bbspice would be problematic, but even linear could be tricky. With hb it would be easier since that is a frequency-domain analysis, but shooting could be a challenge.

    What is odd is that there are some automatic methods to switch to linear if bbspice modelling is problematic, but I wouldn't expect it to auto-switch the other way - that's what I'd like to investigate.

    Note that "rational" should never be used; it's been obsolete for many years and in fact in later IC6.1.8 ISRs (ISR9 onwards) it has been removed as a choice on the port component.

    I'd normally point to Tawna's 7 Habits of Highly Successful S-Parameters (Spectre 20.1, 19.1 and IC6.1.8 ISR9) but I think the issue here is a combination of an ideal model and something strange going on.

    Andrew

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

    Dear Andrew,

    Thank you for your quick response. I cannot upload my s-paramtere file directly due to unknown error. An screenshot is attached in stead.

    I read the  7 Habits of Highly Successful S-Parameters (Spectre 20.1, 19.1 and IC6.1.8 ISR9). However, the Nport interpolation setup is different with what I have. I don't have the default option (auto_switch) and rational is stii there. .  I didn't see nportbbsversion option in simulator option (I saw all the nports options except nportbbsversion). It turns out that the version I used is ISR 7.

    I agree that ideal coupler might be the source of problem. I will work with HB engine when using components like that.

    Thank you again.

    Best regards,

    Yang

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

    Yang,

    Well, I'm not going to type in the file from your image, and my attempts to use OCR to convert it to something usable failed (too many characters in the wrong place - not helped by your image being line wrapped in the wrong places). Please try giving the file a ".txt" suffix and uploading it via Insert->Insert Image/Video/File

    Andrew

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

    Andrew,

    Sorry. I didn't know that I need to change the suffix. Here it is.

    Ideal_90_coupler_1.txt

    Thank you.

    Best regards,

    Yang

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

    Hi Yang,

    As I suspected, the s-parameters represent something totally non-physical - you can't have constant magnitude and 90-degree phase shift for s13 and s24 across a 60GHz bandwidth. As reported in the log files, the errors when trying to get a bbspice rational fit for this are huge, so it makes no sense. It's also likely to cause problems for time-domain analyses even with linear mode as the convolution-based approach will struggle to produce something that makes sense in the time-domain (because it's impossible to realise this in real life):

    WARNING (CMI-2837): In file `/export/home/andrewb/tools/spectre/Ideal_90_coupler.s4p', after causality enforcement, the maximum in-band error is 0.000104%, detected in S1_1 at 59.9854 GHz. Data may be non-causal.
    WARNING (CMI-2971): After causality enforcement, the maximum passivity violation is 91.750461% at 101.865 GHz. Data may be non-passive.

    Anyway, the reason for the problem is that in the IC version you're using, the only choices for Interpolation Method were linear, spline, rational and bbspice. Unfortunately if you left the setting at linear, then as this is the default, it gets omitted from the netlist. Then spectre kicks in and has the automatic switch to bbspice for PSS kick in (because usually this is the best option for PSS). In later IC ISRs, there's the new choice of "default" which does this, and if you explicitly pick "linear" then it will honour that.

    There are two ways to solve this (other than switching to a newer ISR subversion). One is to use the additional parameter list in the rarely used parameters on the nport as below:

    The alternative (because again, this option is not on the form in the version you're using) is to go to Simuilation->Options->Analog, Miscellaneous tab and enter "nport_default_interp=linear" in the Additional arguments field:

    In later IC618 ISRs, this choice is on the Component tab.

    Either way, this is risky with shooting PSS anyway, so be warned...

    Andrew

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

    Andrew

    Problem solved. Thank you very much.

    I will use HB engine first when I need to simulate such ideal S-parameter components in the future.

    Best regards,

    Yang

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

    HBC_6_ports_0_180G.txt

    Dear Andrew,

    Following up the previous question, I have another problem which is quite relevant.

    This time I have a pratical S-parameter file as attached(EM simulation result). This Snp file (touchstone), together with some explicit capacitors, is my quadrature hybrid coupler design.

    I compared 3 different simulation setup to verify my design:

    case 1. SP+AC

    case 2. PSS(HB)+PAC+PSP

    case 3. PSS(shooting)+PAC+PSP

    The results of case 1 and case 2 is identical to what I got from ADS. However, the result of case 3 is quite different. 

    Based on this comparison, it seems case 2 is the way to go.

    However, in my system, there is also LO generation circuit (including RO). I found that PSS(HB) doesn't work when LO generation circuit is included.

    In summary, if I choose PSS_shooting, my coupler doesn't work. But if I choose PSS_HB, my LO doesn't work.

    I wonder if there is a way to get out of this dilemma.

    FYI, I'm using Spectre Version 19.1.0.373.isr7 64bit and Virtuoso IC6.1.8-64b.

    Looking forward to your reply.

    Best regards,

    Yang

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

    Dear Yang,

    Hubertastra said:

    In summary, if I choose PSS_shooting, my coupler doesn't work. But if I choose PSS_HB, my LO doesn't work.

    I wonder if there is a way to get out of this dilemma.

    I am not Andrew and am not suggesting my response will be as good or thorough as he might provide! However, a couple of thoughts came to mind when I read your recent forum  post that I thought I might pass by you. 

    1. 

    Hubertastra said:

    case 1. SP+AC

    case 2. PSS(HB)+PAC+PSP

    case 3. PSS(shooting)+PAC+PSP

    The results of case 1 and case 2 is identical to what I got from ADS. However, the result of case 3 is quite different. 

    a. Did you ever include what the symptom of your case 3? In other words, how is the solution in case 3 different than that in cases 1 and 2? For me anyway, this would help understand possible issues.

    b. It would be helpful to also provide the simulation settings (input.scs files) and simulator outputs (spectre.out files) for each of the 3 cases.

    2. Without specific knowledge concerning your EMX S-parameter network, I have no idea if it is a passive or contains active devices. As such, there are different techniques used to handle S-parameter files and these can have a first-order effect on the solution. I did inspect your S-parameter file and it does contain a DC term - which is good. Since I don't know its details nor the specifics of your simulation settings, I can only recommend you review the On-line support article at URL:

    if you have not already seen this. It has a number of suggestions regarding the use of HB and Shooting algorithms and their use in pss  simulations that may provide you some insights since you are aware of the specific simulator settings.

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1Od0000007MVjAEAW&pageName=ArticleContent

    With regard to your use of the S-parameter file, Tawna Wilsey has prepared an excellent document detailing different items to study regarding your simulator settings and actual S-parameter file at the On-line support URL:

    https://support.cadence.com/apex/ArticleAttachmentPortal?id=a1O3w000009bgt4EAA&pageName=ArticleContent&oMenu=People%20who%20viewed%20this%20also%20viewed

    3.

    Hubertastra said:
    However, in my system, there is also LO generation circuit (including RO). I found that PSS(HB) doesn't work when LO generation circuit is included.

    a. Is the LO intended to be the same frequency as the RO (ring oscillator)?

    b. Do you have dividers between the RO output and the LO frequency?

    c. If the two frequencies are not the same and asynchronous, are you sure the solution is actually periodic? 

    Shawn

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

    Dear Shawn,

    Thank you for your quick response.

    Unknown said:

    a. Did you ever include what the symptom of your case 3? In other words, how is the solution in case 3 different than that in cases 1 and 2? For me anyway, this would help understand possible issues.

    b. It would be helpful to also provide the simulation settings (input.scs files) and simulator outputs (spectre.out files) for each of the 3 cases.

    Attached please find those input and output files. Generally speaking, case 1 and case 2 results in 90 degree output phase difference while case 3 results in 110 degree. The voltage transfer function (AC and PAC) is also quite different. Case 1 and case 2 result in -2/-3 dB for two outputs while case 3 results in -4dB.

    Fullscreen input_case1.txt Download
    // Generated for: spectre
    // Generated on: Jun 23 11:41:53 2021
    // Design library name: 2020_GNPF_system_test_HPC_plus
    // Design cell name: HBC_snp_Jun21
    // Design view name: schematic
    simulator lang=spectre
    global 0
    parameters Riso=113.68 RC0=1/(2*w0*C0*Q_C0) RC1=1/(2*w0*C1*Q_C1) \
        RC2=1/(2*w0*C2*Q_C2) RC3=1/(2*w0*C3*Q_C3) RC4=1/(2*w0*C4*Q_C4) \
        RC5=1/(2*w0*C5*Q_C5) RC6=1/(2*w0*C6*Q_C6) f0=60G freq1=15G RL=300 \
        Rs=100 Rcom=25 V_varactor_3_bias=0 V_varactor_6_bias=0.7 C_NPF=42f \
        Xcom=0 Xs=0 Vbias=200m prf=-50 w0=2*3.14159*f0
    include "/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/toplevel.scs" section=top_tt
    
    // Library name: mixer_first_Rx
    // Cell name: gm_buffer1
    // View name: schematic
    subckt gm_buffer1 in_n in_p out_n out_p
    parameters output_resistance transconductance
        R0 (out_p out_n) resistor r=output_resistance isnoisy=no
        G0 (out_p out_n in_p in_n) vccs gm=transconductance
    ends gm_buffer1
    // End of subcircuit definition.
    
    // Library name: 2020_GNPF_system_test_HPC_plus
    // Cell name: HBC_snp_Jun21
    // View name: schematic
    PORT0 (net172 0) port r=Rs/2 num=1 type=sine freq=f0 dbm=prf sinephase=0 \
            pacmag=500m pacphase=0 mag=500m phase=0
    PORT2 (P2 0) port r=Rs/2 x=0 num=1 type=sine pacmag=500m pacphase=180 \
            mag=500m phase=180
    PORT4 (P3 0) port r=RL type=sine
    PORT5 (P6 0) port r=RL type=sine
    PORT1 (P4 0) port r=Riso/2 num=1 type=sine
    PORT3 (P5 0) port r=Riso/2 num=1 type=sine
    PORT12 (out 0) port r=100 num=4 type=sine isnoisy=yes
    PORT13 (net187 0) port r=100 num=4 type=sine isnoisy=yes
    NPORT2 ( out 0 Vout_I 0 Vout_Q 0 net187 0) nport \
            file="/home/anr2/ygaoay/ideal_hybrid_coupler.s4p" thermalnoise=no \
            interp=linear
    V14 (P1 net172) vsource type=dc
    V1 (VB 0) vsource dc=0 type=dc
    V0 (VSS 0) vsource dc=0 type=dc
    V27 (V_bias_varactor_3 0) vsource dc=V_varactor_3_bias type=dc
    V28 (V_bias_varactor_6 0) vsource dc=V_varactor_6_bias type=dc
    C23 (P6 V_bias_varactor_6 0) cmoscap_rf multi=1 br=2 gr=1 lr=200n wr=400n
    C22 (P3 V_bias_varactor_3 0) cmoscap_rf multi=1 br=2 gr=2 lr=200n wr=400n
    I7 (0 P3 0 Vout_I) gm_buffer1 output_resistance=100 transconductance=20m
    I15 (0 P6 0 Vout_Q) gm_buffer1 output_resistance=100 transconductance=20m
    NPORT0 ( P1 0 P2 0 P3 0 P4 0 P5 0 P6 0 VB 0) nport datafmt=touchstone \
            file="/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p" \
            hfextrap=linear interp=bbspice interp=bbspice
    C4 (0 P6) capacitor c=C_NPF
    C5 (0 P3) capacitor c=C_NPF
    C9 (P1 P2 VSS) cfmom_wo_rf nr=42 lr=2.02u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C2 (P4 P5 VSS) cfmom_wo_rf nr=46 lr=3u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C6 (P3 VSS VSS) cfmom_wo_rf nr=24 lr=1.37u w=50n s=50n stm=1 spm=7 \
            dmflag=0 shield=2 multi=1
    C8 (P3 P6 VSS) cfmom_wo_rf nr=16 lr=1.12u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C59 (net035 0 0) cfmom_wo_rf nr=6 lr=800n w=50n s=50n stm=3 spm=7 dmflag=0 \
            shield=1 multi=1
    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 
    sp sp ports=[PORT0 PORT4 PORT5 PORT1 PORT2 PORT3] start=55G stop=67G \
        step=0.5G annotate=status 
    ac ac start=55G stop=67G step=0.5G annotate=status 
    dcOp dc write="spectre.dc" maxiters=150 maxsteps=10000 annotate=status
    dcOpInfo info what=oppoint where=rawfile
    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
    

    Fullscreen spectre_case1.txt Download
    Spectre (R) Circuit Simulator
    Version 19.1.0.373.isr7 64bit -- 21 May 2020
    Copyright (C) 1989-2020 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: rfid   Host: EEX136   HostID: 598F882C   PID: 5817
    Memory  available: 26.7010 GB  physical: 101.4283 GB
    Linux   : CentOS release 6.10 (Final)
    CPU Type: Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
    All processors running at 3458.3 MHz
            Socket: Processors (Hyperthreaded Processor)
            0:       1 ( 13 ),  3 ( 15 ),  5 ( 17 ),  7 ( 19 ),  9 ( 21 )
                    11 ( 23 )
            1:       0 ( 12 ),  2 ( 14 ),  4 ( 16 ),  6 ( 18 ),  8 ( 20 )
                    10 ( 22 )
            
    System load averages (1min, 5min, 15min) : 2.1 %, 2.2 %, 2.2 %
    Hyperthreading is enabled
    
    
    Simulating `input.scs' on EEX136 at 11:44:54 AM, Wed Jun 23, 2021 (process id: 5817).
    Current working directory: /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist
    Command line:
        /usr/eelocal/cadence/spectre191hf/tools/bin/spectre -64 input.scs  \
            +escchars +log ../psf/spectre.out -format psfxl -raw ../psf  \
            +lqtimeout 900 -maxw 5 -maxn 5 -env ade
    
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file:  /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input.scs
    Reading link:  /usr/eelocal/cadence
    Reading link:  /usr/eelocal
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/toplevel.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28ull_1d8_elk_v1d8_3.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/crn28ull_1d8_elk_v1d8_2p2.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/res_metal.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28hpcp_hv_1d8_elk_v1d1_2p1_shrink0d9_embedded_usage.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28hpcp_hv_1d8_elk_v1d1_2p1.scs
    Time for NDB Parsing: CPU = 14.8417 s, elapsed = 15.1118 s.
    Time accumulated: CPU = 14.9667 s, elapsed = 15.1118 s.
    Peak resident memory used = 280 Mbytes.
    
    Reading link:  /usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading link:  /usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/constants.vams
    
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `272' has also been specified at line `1582' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1582' has also been specified at line `1816' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1816' has also been specified at line `1970' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1970' has also been specified at line `1929' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1929' has also been specified at line `13' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./cln28hpcp_hv_1d8_elk_v1d1_2p1_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
            Further occurrences of this warning will be suppressed.
    
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28ull_1d8_elk_v1d8_3_dir
    
    
    Existing shared object for module bsource_69f2b9 is up to date.
    Installed compiled interface for bsource_69f2b9.
    Existing shared object for module bsource_e0e0b9 is up to date.
    Installed compiled interface for bsource_e0e0b9.
    Existing shared object for module bsource_9e2720 is up to date.
    Installed compiled interface for bsource_9e2720.
    Existing shared object for module bsource_3c5fc9 is up to date.
    Installed compiled interface for bsource_3c5fc9.
    Existing shared object for module bsource_569dd9 is up to date.
    Installed compiled interface for bsource_569dd9.
    Existing shared object for module bsource_bfd22a is up to date.
    Installed compiled interface for bsource_bfd22a.
    Existing shared object for module bsource_0ac3b1 is up to date.
    Installed compiled interface for bsource_0ac3b1.
    Existing shared object for module bsource_d2112e is up to date.
    Installed compiled interface for bsource_d2112e.
    Reading file:  /home/anr2/ygaoay/ideal_hybrid_coupler.s4p
    
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-32): "input.scs" 50: Duplicate specification for parameter `interp' (using last value specified).
    
    Reading file:  /home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p
    Time for Elaboration: CPU = 152.976 ms, elapsed = 161.886 ms.
    Time accumulated: CPU = 15.1197 s, elapsed = 15.2738 s.
    Peak resident memory used = 307 Mbytes.
    
    
    Warning from spectre during hierarchy flattening.
        WARNING (SPECTRE-17101): The value 'psf' specified for the 'checklimitdest' option will no longer be supported in future releases. Use 'spectre -h' to see other recommended values for the 'checklimitdest' option.
    Notice from spectre during hierarchy flattening.
        Nport compression is disabled on instance NPORT2 because its port number 4 is smaller than 10.
            
        Nport compression is disabled on instance NPORT0 because its port number 7 is smaller than 10.
            
    
    
    Time for EDB Visiting: CPU = 3 ms, elapsed = 3.19695 ms.
    Time accumulated: CPU = 15.1227 s, elapsed = 15.2771 s.
    Peak resident memory used = 308 Mbytes.
    
    
    Notice from spectre during initial setup.
        NPORT0: Use existing rational fitting data '/staff/ee/rfid/.cadence/mmsim//e21914493bd2924d090d1d22470a7911_encrypt'.
        The extracted model is passive.
            
           Entry       Average Error
         -------------------------------------------------- 
          S(7, 3)      0.056238 
          S(3, 7)      0.055821 
          S(6, 7)      0.053617 
          S(6, 3)      0.052757 
          S(7, 6)      0.035891 
          S(3, 6)      0.033243 
          S(7, 7)      0.025450 
          S(3, 3)      0.024185 
          S(5, 4)      0.023060 
          S(4, 5)      0.020544 
            
           Entry      Maximum  Error    @Frequency(GHz)
         -------------------------------------------------- 
          S(3, 7)     0.128316        0.500000000  
          S(6, 7)     0.127429        0.750000000  
          S(7, 3)     0.110753      155.000000000  
          S(4, 5)     0.099107      180.000000000  
          S(4, 4)     0.096137      180.000000000  
          S(5, 4)     0.094408      180.000000000  
          S(6, 3)     0.082584      155.000000000  
          S(4, 3)     0.076421      180.000000000  
          S(3, 4)     0.074614      180.000000000  
          S(5, 5)     0.069948      180.000000000  
            
        Maximum Average Error = 0.056238         Maximum Error = 0.128316 
            
        Fitted S-Parameter: /home/anr2/rfid/Simulation/HBC_NPF_testbench_Jun03/spectre/schematic/netlist/BBSpiceOutput/e21914493bd2924d090d1d22470a7911/BBSResult_May_30_HBC_TF2_v4_0_5l_180/May_30_HBC_TF2_v4_0_5l_180_Fitted.s7p
    Warning from spectre during initial setup.
        WARNING (NPORT-1030): NPORT0: Large error exists in BBSpice fitting. This may cause simulation accuracy issue. If unacceptable accuracy issue shows up, try other 'interp' method, or refine the input S-parameter.
        WARNING (CMI-2838): In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', Im(S1_2) is non-zero ( 0.000 + j * -0.707 ) at DC.
        WARNING (CMI-2838): In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', Im(S3_4) is non-zero ( 0.000 + j * -0.707 ) at DC.
    Notice from spectre during initial setup.
        In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', the maximum passivity violation is 0.000597% at 0 Hz.
    Notice from spectre during topology check.
        Only one connection to node `net035'.
        No DC path from node `C59.a1' 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
              tmioutput = /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input
                degfile = /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input
            scalefactor = 0.9
                 reltol = 0.001
                   tnom = 27
                 scalem = 1
                  scale = 1
    
    Scoped user options:
    
    Circuit inventory:
                  nodes 69
         bsource_0ac3b1 5     
         bsource_3c5fc9 6     
         bsource_9e2720 6     
         bsource_69f2b9 6     
         bsource_569dd9 6     
         bsource_bfd22a 6     
         bsource_d2112e 10    
         bsource_e0e0b9 6     
              capacitor 22    
                  diode 2     
               inductor 14    
                  nport 2     
                   port 8     
               resistor 39    
                   vccs 2     
                vsource 5     
    
    Analysis and control statement inventory:
                     ac 1     
                     dc 1     
                   info 7     
                     sp 1     
    
    Output statements:
                 .probe 0     
               .measure 0     
                   save 0     
    
    Time for parsing: CPU = 23.997 ms, elapsed = 1.0425 s.
    Time accumulated: CPU = 15.1467 s, elapsed = 16.3197 s.
    Peak resident memory used = 312 Mbytes.
    
    ~~~~~~~~~~~~~~~~~~~~~~
    Pre-Simulation Summary
    ~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~
    
    Notice from spectre.
        NPORT0: `interp` value is set to `linear` for frequency-domain/dc/tran analysis, because BBSpice generated large fitting errors and the value of global option `nport_bbspice_to_linear` has been set to `yes`.
        S parameters are passive in file `/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p'.
    
    Circuit topology changed. 
    
    ****************************************************
    S-Parameter Analysis `sp': freq = (55 GHz -> 67 GHz)
    ****************************************************
    DC simulation time: CPU = 2 ms, elapsed = 2.26498 ms.
        sp: freq = 55.5 GHz    (4.17 %), step = 500 MHz      (4.17 %)
        sp: freq = 56 GHz      (8.33 %), step = 500 MHz      (4.17 %)
        sp: freq = 56.5 GHz    (12.5 %), step = 500 MHz      (4.17 %)
        sp: freq = 57 GHz      (16.7 %), step = 500 MHz      (4.17 %)
        sp: freq = 57.5 GHz    (20.8 %), step = 500 MHz      (4.17 %)
        sp: freq = 58 GHz        (25 %), step = 500 MHz      (4.17 %)
        sp: freq = 58.5 GHz    (29.2 %), step = 500 MHz      (4.17 %)
        sp: freq = 59 GHz      (33.3 %), step = 500 MHz      (4.17 %)
        sp: freq = 59.5 GHz    (37.5 %), step = 500 MHz      (4.17 %)
        sp: freq = 60 GHz      (41.7 %), step = 500 MHz      (4.17 %)
        sp: freq = 60.5 GHz    (45.8 %), step = 500 MHz      (4.17 %)
        sp: freq = 61 GHz        (50 %), step = 500 MHz      (4.17 %)
        sp: freq = 61.5 GHz    (54.2 %), step = 500 MHz      (4.17 %)
        sp: freq = 62 GHz      (58.3 %), step = 500 MHz      (4.17 %)
        sp: freq = 62.5 GHz    (62.5 %), step = 500 MHz      (4.17 %)
        sp: freq = 63 GHz      (66.7 %), step = 500 MHz      (4.17 %)
        sp: freq = 63.5 GHz    (70.8 %), step = 500 MHz      (4.17 %)
        sp: freq = 64 GHz        (75 %), step = 500 MHz      (4.17 %)
        sp: freq = 64.5 GHz    (79.2 %), step = 500 MHz      (4.17 %)
        sp: freq = 65 GHz      (83.3 %), step = 500 MHz      (4.17 %)
        sp: freq = 65.5 GHz    (87.5 %), step = 500 MHz      (4.17 %)
        sp: freq = 66 GHz      (91.7 %), step = 500 MHz      (4.17 %)
        sp: freq = 66.5 GHz    (95.8 %), step = 500 MHz      (4.17 %)
        sp: freq = 67 GHz       (100 %), step = 500 MHz      (4.17 %)
    Accumulated DC solution time =            0 s.
    Intrinsic sp analysis time =              15.04 s.
    Total time required for sp analysis `sp': CPU = 24.996 ms, elapsed = 28.223 ms.
    Time accumulated: CPU = 15.1837 s, elapsed = 16.3614 s.
    Peak resident memory used = 313 Mbytes.
    
    
    *******************************************
    AC Analysis `ac': freq = (55 GHz -> 67 GHz)
    *******************************************
    
    Notice from spectre during AC analysis `ac'.
        Operating points will not be recomputed: the circuit and conditions were not changed since previous analysis.
    
    
    Opening the PSF file ../psf/ac.ac ...
        ac: freq = 55.5 GHz    (4.17 %), step = 500 MHz      (4.17 %)
        ac: freq = 56 GHz      (8.33 %), step = 500 MHz      (4.17 %)
        ac: freq = 56.5 GHz    (12.5 %), step = 500 MHz      (4.17 %)
        ac: freq = 57 GHz      (16.7 %), step = 500 MHz      (4.17 %)
        ac: freq = 57.5 GHz    (20.8 %), step = 500 MHz      (4.17 %)
        ac: freq = 58 GHz        (25 %), step = 500 MHz      (4.17 %)
        ac: freq = 58.5 GHz    (29.2 %), step = 500 MHz      (4.17 %)
        ac: freq = 59 GHz      (33.3 %), step = 500 MHz      (4.17 %)
        ac: freq = 59.5 GHz    (37.5 %), step = 500 MHz      (4.17 %)
        ac: freq = 60 GHz      (41.7 %), step = 500 MHz      (4.17 %)
        ac: freq = 60.5 GHz    (45.8 %), step = 500 MHz      (4.17 %)
        ac: freq = 61 GHz        (50 %), step = 500 MHz      (4.17 %)
        ac: freq = 61.5 GHz    (54.2 %), step = 500 MHz      (4.17 %)
        ac: freq = 62 GHz      (58.3 %), step = 500 MHz      (4.17 %)
        ac: freq = 62.5 GHz    (62.5 %), step = 500 MHz      (4.17 %)
        ac: freq = 63 GHz      (66.7 %), step = 500 MHz      (4.17 %)
        ac: freq = 63.5 GHz    (70.8 %), step = 500 MHz      (4.17 %)
        ac: freq = 64 GHz        (75 %), step = 500 MHz      (4.17 %)
        ac: freq = 64.5 GHz    (79.2 %), step = 500 MHz      (4.17 %)
        ac: freq = 65 GHz      (83.3 %), step = 500 MHz      (4.17 %)
        ac: freq = 65.5 GHz    (87.5 %), step = 500 MHz      (4.17 %)
        ac: freq = 66 GHz      (91.7 %), step = 500 MHz      (4.17 %)
        ac: freq = 66.5 GHz    (95.8 %), step = 500 MHz      (4.17 %)
        ac: freq = 67 GHz       (100 %), step = 500 MHz      (4.17 %)
    Accumulated DC solution time =            0 s.
    Intrinsic ac analysis time =              0 s.
    Total time required for ac analysis `ac': CPU = 15.998 ms, elapsed = 18.2979 ms.
    Time accumulated: CPU = 15.2017 s, elapsed = 16.3822 s.
    Peak resident memory used = 314 Mbytes.
    
    
    ******************
    DC Analysis `dcOp'
    ******************
    
    Opening the PSF file ../psf/dcOp.dc ...
    Important parameter values:
        reltol = 1e-03
        abstol(V) = 1 uV
        abstol(I) = 1 pA
        temp = 27 C
        tnom = 27 C
        tempeffects = all
        gmindc = 1 pS
    
    Maximum value achieved for any signal of each quantity: 
    V: V(C23.6) = 700 mV
    I: I(V28:p) = 11.48 pA
    Convergence achieved in 2 iterations.
    DC simulation time: CPU = 5.999 ms, elapsed = 7.74789 ms.
    Total time required for dc analysis `dcOp': CPU = 5.999 ms, elapsed = 7.80702 ms.
    Time accumulated: CPU = 15.2087 s, elapsed = 16.3916 s.
    Peak resident memory used = 314 Mbytes.
    
    dcOpInfo: writing operating point information to rawfile.
    
    Opening the PSF file ../psf/dcOpInfo.info ...
    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 ...
    
    Aggregate audit (11:45:11 AM, Wed Jun 23, 2021):
    Time used: CPU = 15.8 s, elapsed = 17 s, util. = 92.7%.
    Time spent in licensing: elapsed = 20 ms.
    Peak memory used = 319 Mbytes.
    Simulation started at: 11:44:54 AM, Wed Jun 23, 2021, ended at: 11:45:11 AM, Wed Jun 23, 2021, with elapsed time (wall clock): 17 s.
    spectre completes with 0 errors, 10 warnings, and 41 notices.
    

    Fullscreen input_case2.txt Download
    // Generated for: spectre
    // Generated on: Jun 23 11:41:53 2021
    // Design library name: 2020_GNPF_system_test_HPC_plus
    // Design cell name: HBC_snp_Jun21
    // Design view name: schematic
    simulator lang=spectre
    global 0
    parameters Riso=113.68 RC0=1/(2*w0*C0*Q_C0) RC1=1/(2*w0*C1*Q_C1) \
        RC2=1/(2*w0*C2*Q_C2) RC3=1/(2*w0*C3*Q_C3) RC4=1/(2*w0*C4*Q_C4) \
        RC5=1/(2*w0*C5*Q_C5) RC6=1/(2*w0*C6*Q_C6) f0=60G freq1=15G RL=300 \
        Rs=100 Rcom=25 V_varactor_3_bias=0 V_varactor_6_bias=0.7 C_NPF=42f \
        Xcom=0 Xs=0 Vbias=200m prf=-50 w0=2*3.14159*f0
    include "/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/toplevel.scs" section=top_tt
    
    // Library name: mixer_first_Rx
    // Cell name: gm_buffer1
    // View name: schematic
    subckt gm_buffer1 in_n in_p out_n out_p
    parameters output_resistance transconductance
        R0 (out_p out_n) resistor r=output_resistance isnoisy=no
        G0 (out_p out_n in_p in_n) vccs gm=transconductance
    ends gm_buffer1
    // End of subcircuit definition.
    
    // Library name: 2020_GNPF_system_test_HPC_plus
    // Cell name: HBC_snp_Jun21
    // View name: schematic
    PORT0 (net172 0) port r=Rs/2 num=1 type=sine freq=f0 dbm=prf sinephase=0 \
            pacmag=500m pacphase=0 mag=500m phase=0
    PORT2 (P2 0) port r=Rs/2 x=0 num=1 type=sine pacmag=500m pacphase=180 \
            mag=500m phase=180
    PORT4 (P3 0) port r=RL type=sine
    PORT5 (P6 0) port r=RL type=sine
    PORT1 (P4 0) port r=Riso/2 num=1 type=sine
    PORT3 (P5 0) port r=Riso/2 num=1 type=sine
    PORT12 (out 0) port r=100 num=4 type=sine isnoisy=yes
    PORT13 (net187 0) port r=100 num=4 type=sine isnoisy=yes
    NPORT2 ( out 0 Vout_I 0 Vout_Q 0 net187 0) nport \
            file="/home/anr2/ygaoay/ideal_hybrid_coupler.s4p" thermalnoise=no \
            interp=linear
    V14 (P1 net172) vsource type=dc
    V1 (VB 0) vsource dc=0 type=dc
    V0 (VSS 0) vsource dc=0 type=dc
    V27 (V_bias_varactor_3 0) vsource dc=V_varactor_3_bias type=dc
    V28 (V_bias_varactor_6 0) vsource dc=V_varactor_6_bias type=dc
    C23 (P6 V_bias_varactor_6 0) cmoscap_rf multi=1 br=2 gr=1 lr=200n wr=400n
    C22 (P3 V_bias_varactor_3 0) cmoscap_rf multi=1 br=2 gr=2 lr=200n wr=400n
    I7 (0 P3 0 Vout_I) gm_buffer1 output_resistance=100 transconductance=20m
    I15 (0 P6 0 Vout_Q) gm_buffer1 output_resistance=100 transconductance=20m
    NPORT0 ( P1 0 P2 0 P3 0 P4 0 P5 0 P6 0 VB 0) nport datafmt=touchstone \
            file="/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p" \
            hfextrap=linear interp=bbspice interp=bbspice
    C4 (0 P6) capacitor c=C_NPF
    C5 (0 P3) capacitor c=C_NPF
    C9 (P1 P2 VSS) cfmom_wo_rf nr=42 lr=2.02u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C2 (P4 P5 VSS) cfmom_wo_rf nr=46 lr=3u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C6 (P3 VSS VSS) cfmom_wo_rf nr=24 lr=1.37u w=50n s=50n stm=1 spm=7 \
            dmflag=0 shield=2 multi=1
    C8 (P3 P6 VSS) cfmom_wo_rf nr=16 lr=1.12u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C59 (net035 0 0) cfmom_wo_rf nr=6 lr=800n w=50n s=50n stm=3 spm=7 dmflag=0 \
            shield=1 multi=1
    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 
    pss  pss  flexbalance=yes  oversamplefactor=10  fund=15G  harms=12
    +    annotate=status
    pac  pac  start=55G  stop=67G  step=0.5G  maxsideband=3
    +    annotate=status
    dcOp dc write="spectre.dc" maxiters=150 maxsteps=10000 annotate=status
    dcOpInfo info what=oppoint where=rawfile
    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
    

    Fullscreen spectre_case2.txt Download
    Spectre (R) Circuit Simulator
    Version 19.1.0.373.isr7 64bit -- 21 May 2020
    Copyright (C) 1989-2020 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: rfid   Host: EEX136   HostID: 598F882C   PID: 7247
    Memory  available: 32.4962 GB  physical: 101.4283 GB
    Linux   : CentOS release 6.10 (Final)
    CPU Type: Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
    All processors running at 3458.3 MHz
            Socket: Processors (Hyperthreaded Processor)
            0:       1 ( 13 ),  3 ( 15 ),  5 ( 17 ),  7 ( 19 ),  9 ( 21 )
                    11 ( 23 )
            1:       0 ( 12 ),  2 ( 14 ),  4 ( 16 ),  6 ( 18 ),  8 ( 20 )
                    10 ( 22 )
            
    System load averages (1min, 5min, 15min) : 1.4 %, 1.7 %, 2.0 %
    Hyperthreading is enabled
    
    
    Simulating `input.scs' on EEX136 at 11:49:03 AM, Wed Jun 23, 2021 (process id: 7247).
    Current working directory: /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist
    Command line:
        /usr/eelocal/cadence/spectre191hf/tools/bin/spectre -64 input.scs  \
            +escchars +log ../psf/spectre.out -format psfxl -raw ../psf  \
            +lqtimeout 900 -maxw 5 -maxn 5 -env ade
    
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file:  /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input.scs
    Reading link:  /usr/eelocal/cadence
    Reading link:  /usr/eelocal
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/toplevel.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28ull_1d8_elk_v1d8_3.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/crn28ull_1d8_elk_v1d8_2p2.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/res_metal.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28hpcp_hv_1d8_elk_v1d1_2p1_shrink0d9_embedded_usage.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28hpcp_hv_1d8_elk_v1d1_2p1.scs
    Time for NDB Parsing: CPU = 14.9167 s, elapsed = 15.186 s.
    Time accumulated: CPU = 15.0407 s, elapsed = 15.186 s.
    Peak resident memory used = 277 Mbytes.
    
    Reading link:  /usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading link:  /usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/constants.vams
    
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `272' has also been specified at line `1582' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1582' has also been specified at line `1816' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1816' has also been specified at line `1970' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1970' has also been specified at line `1929' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1929' has also been specified at line `13' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./cln28hpcp_hv_1d8_elk_v1d1_2p1_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
            Further occurrences of this warning will be suppressed.
    
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28ull_1d8_elk_v1d8_3_dir
    
    
    Existing shared object for module bsource_69f2b9 is up to date.
    Installed compiled interface for bsource_69f2b9.
    Existing shared object for module bsource_e0e0b9 is up to date.
    Installed compiled interface for bsource_e0e0b9.
    Existing shared object for module bsource_9e2720 is up to date.
    Installed compiled interface for bsource_9e2720.
    Existing shared object for module bsource_3c5fc9 is up to date.
    Installed compiled interface for bsource_3c5fc9.
    Existing shared object for module bsource_569dd9 is up to date.
    Installed compiled interface for bsource_569dd9.
    Existing shared object for module bsource_bfd22a is up to date.
    Installed compiled interface for bsource_bfd22a.
    Existing shared object for module bsource_0ac3b1 is up to date.
    Installed compiled interface for bsource_0ac3b1.
    Existing shared object for module bsource_d2112e is up to date.
    Installed compiled interface for bsource_d2112e.
    Reading file:  /home/anr2/ygaoay/ideal_hybrid_coupler.s4p
    
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-32): "input.scs" 50: Duplicate specification for parameter `interp' (using last value specified).
    
    Reading file:  /home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p
    Time for Elaboration: CPU = 153.977 ms, elapsed = 164.712 ms.
    Time accumulated: CPU = 15.1947 s, elapsed = 15.3508 s.
    Peak resident memory used = 305 Mbytes.
    
    
    Warning from spectre during hierarchy flattening.
        WARNING (SPECTRE-17101): The value 'psf' specified for the 'checklimitdest' option will no longer be supported in future releases. Use 'spectre -h' to see other recommended values for the 'checklimitdest' option.
    Notice from spectre during hierarchy flattening.
        Nport compression is disabled on instance NPORT2 because its port number 4 is smaller than 10.
            
        Nport compression is disabled on instance NPORT0 because its port number 7 is smaller than 10.
            
    
    
    Time for EDB Visiting: CPU = 3.999 ms, elapsed = 3.12781 ms.
    Time accumulated: CPU = 15.1987 s, elapsed = 15.354 s.
    Peak resident memory used = 306 Mbytes.
    
    
    Notice from spectre during initial setup.
        NPORT0: Use existing rational fitting data '/staff/ee/rfid/.cadence/mmsim//e21914493bd2924d090d1d22470a7911_encrypt'.
        The extracted model is passive.
            
           Entry       Average Error
         -------------------------------------------------- 
          S(7, 3)      0.056238 
          S(3, 7)      0.055821 
          S(6, 7)      0.053617 
          S(6, 3)      0.052757 
          S(7, 6)      0.035891 
          S(3, 6)      0.033243 
          S(7, 7)      0.025450 
          S(3, 3)      0.024185 
          S(5, 4)      0.023060 
          S(4, 5)      0.020544 
            
           Entry      Maximum  Error    @Frequency(GHz)
         -------------------------------------------------- 
          S(3, 7)     0.128316        0.500000000  
          S(6, 7)     0.127429        0.750000000  
          S(7, 3)     0.110753      155.000000000  
          S(4, 5)     0.099107      180.000000000  
          S(4, 4)     0.096137      180.000000000  
          S(5, 4)     0.094408      180.000000000  
          S(6, 3)     0.082584      155.000000000  
          S(4, 3)     0.076421      180.000000000  
          S(3, 4)     0.074614      180.000000000  
          S(5, 5)     0.069948      180.000000000  
            
        Maximum Average Error = 0.056238         Maximum Error = 0.128316 
            
        Fitted S-Parameter: /home/anr2/rfid/Simulation/HBC_NPF_testbench_Jun03/spectre/schematic/netlist/BBSpiceOutput/e21914493bd2924d090d1d22470a7911/BBSResult_May_30_HBC_TF2_v4_0_5l_180/May_30_HBC_TF2_v4_0_5l_180_Fitted.s7p
    Warning from spectre during initial setup.
        WARNING (NPORT-1030): NPORT0: Large error exists in BBSpice fitting. This may cause simulation accuracy issue. If unacceptable accuracy issue shows up, try other 'interp' method, or refine the input S-parameter.
        WARNING (CMI-2838): In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', Im(S1_2) is non-zero ( 0.000 + j * -0.707 ) at DC.
        WARNING (CMI-2838): In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', Im(S3_4) is non-zero ( 0.000 + j * -0.707 ) at DC.
    Notice from spectre during initial setup.
        In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', the maximum passivity violation is 0.000597% at 0 Hz.
    Notice from spectre during topology check.
        Only one connection to node `net035'.
        No DC path from node `C59.a1' 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
              tmioutput = /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input
                degfile = /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input
            scalefactor = 0.9
                 reltol = 0.001
                   tnom = 27
                 scalem = 1
                  scale = 1
    
    Scoped user options:
    
    Circuit inventory:
                  nodes 69
         bsource_0ac3b1 5     
         bsource_3c5fc9 6     
         bsource_9e2720 6     
         bsource_69f2b9 6     
         bsource_569dd9 6     
         bsource_bfd22a 6     
         bsource_d2112e 10    
         bsource_e0e0b9 6     
              capacitor 22    
                  diode 2     
               inductor 14    
                  nport 2     
                   port 8     
               resistor 39    
                   vccs 2     
                vsource 5     
    
    Analysis and control statement inventory:
                     dc 1     
                   info 7     
                    pac 1     
                    pss 1     
    
    Output statements:
                 .probe 0     
               .measure 0     
                   save 0     
    
    Time for parsing: CPU = 23.997 ms, elapsed = 1.04155 s.
    Time accumulated: CPU = 15.2227 s, elapsed = 16.3957 s.
    Peak resident memory used = 310 Mbytes.
    
    ~~~~~~~~~~~~~~~~~~~~~~
    Pre-Simulation Summary
    ~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~
    
    Notice from spectre.
        NPORT0: `interp` value is set to `linear` for frequency-domain/dc/tran analysis, because BBSpice generated large fitting errors and the value of global option `nport_bbspice_to_linear` has been set to `yes`.
        S parameters are passive in file `/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p'.
    
    Circuit topology changed. 
    
    
    
    Warning message from ahdl:
    Internal (bsource), at line 539: limexp.  Limexp will be replace by exp in hb analysis.
    Internal (bsource), at line 539: limexp.  Limexp will be replace by exp in hb analysis.
    
    Confirm the result is expected or not.
    
    ***************************************************
    Periodic Steady-State Analysis `pss': fund = 15 GHz
    ***************************************************
    DC simulation time: CPU = 3 ms, elapsed = 2.82097 ms.
    
    ==============================
         Harmonic balance
    ==============================
    Important HB parameters:
        RelTol=1.00e-03
        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
    
    
    Warning from spectre during periodic steady state analysis `pss'.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
    
    
    
    ******** Harmonic Balance Memory Estimate ********
    The estimated memory usage is (320 M  -  430 M). This estimate will be accurate 80 percent of the time.
    The following table gives the maximum memory usage corresponding to max_krylov_size
            max_krylov_size =  50         320 M
            max_krylov_size = 100         320 M
            max_krylov_size = 250         330 M
            max_krylov_size = 500         330 M
    
    ******** Harmonic Balance Small Signal Analysis Memory Estimate ********
    The following table gives the maximum memory usage corresponding to max_krylov_size
            max_krylov_size = 250         340 M
            max_krylov_size = 500         350 M
    **************************************************
    
    
    ********** initial residual **********
    Resd Norm=7.86e+02  at node net172  harm=(4)
    
    ********** iter = 1 **********
    Delta Norm=2.77e+07  at node NPORT0:t2  harm=(4)
    Resd Norm=3.53e-01  at node C22.32  harm=(8)
    
    ********** iter = 2 **********
    Delta Norm=5.89e-02  at node C22.lgate_rf:1  harm=(8)
    Resd Norm=2.85e-08  at node C23.8  harm=(8)
    
    CPU time=0 s
    
    
    Time used for HB 1-tone: CPU = 144 ms, elapsed = 145 ms, util. = 99.6%.
    Peak resident memory used = 316 Mbytes, peak virtual memory used = 882 Mbytes.
    
    Opening the PSF file ../psf/pss.td.pss ...
    
    Opening the PSF file ../psf/pss.fd.pss ...
    Total time required for pss analysis `pss': CPU = 229.965 ms, elapsed = 278.293 ms.
    Time accumulated: CPU = 15.4636 s, elapsed = 16.6865 s.
    Peak resident memory used = 318 Mbytes.
    
    
    *****************************************************
    Periodic AC Analysis `pac': freq = (55 GHz -> 67 GHz)
    *****************************************************
    
    Opening the PSF file ../psf/pac.pac ...
    
    Opening the PSF file ../psf/pac.-3.pac ...
    
    Opening the PSF file ../psf/pac.-2.pac ...
    
    Opening the PSF file ../psf/pac.-1.pac ...
    
    Opening the PSF file ../psf/pac.0.pac ...
    
    Opening the PSF file ../psf/pac.1.pac ...
    
    Opening the PSF file ../psf/pac.2.pac ...
    
    Opening the PSF file ../psf/pac.3.pac ...
    
    Warning from spectre at freq = 55 GHz during PAC analysis `pac'.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
    
        pac: freq = 55.5 GHz    (4.17 %), step = 500 MHz      (4.17 %)
        pac: freq = 56 GHz      (8.33 %), step = 500 MHz      (4.17 %)
        pac: freq = 56.5 GHz    (12.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 57 GHz      (16.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 57.5 GHz    (20.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 58 GHz        (25 %), step = 500 MHz      (4.17 %)
        pac: freq = 58.5 GHz    (29.2 %), step = 500 MHz      (4.17 %)
        pac: freq = 59 GHz      (33.3 %), step = 500 MHz      (4.17 %)
        pac: freq = 59.5 GHz    (37.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 60 GHz      (41.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 60.5 GHz    (45.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 61 GHz        (50 %), step = 500 MHz      (4.17 %)
        pac: freq = 61.5 GHz    (54.2 %), step = 500 MHz      (4.17 %)
        pac: freq = 62 GHz      (58.3 %), step = 500 MHz      (4.17 %)
        pac: freq = 62.5 GHz    (62.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 63 GHz      (66.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 63.5 GHz    (70.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 64 GHz        (75 %), step = 500 MHz      (4.17 %)
        pac: freq = 64.5 GHz    (79.2 %), step = 500 MHz      (4.17 %)
        pac: freq = 65 GHz      (83.3 %), step = 500 MHz      (4.17 %)
        pac: freq = 65.5 GHz    (87.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 66 GHz      (91.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 66.5 GHz    (95.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 67 GHz       (100 %), step = 500 MHz      (4.17 %)
    Total time required for pac analysis `pac': CPU = 1.07584 s, elapsed = 1.17099 s.
    Time accumulated: CPU = 16.5415 s, elapsed = 17.8705 s.
    Peak resident memory used = 320 Mbytes.
    
    
    ******************
    DC Analysis `dcOp'
    ******************
    
    Opening the PSF file ../psf/dcOp.dc ...
    Important parameter values:
        reltol = 1e-03
        abstol(V) = 1 uV
        abstol(I) = 1 pA
        temp = 27 C
        tnom = 27 C
        tempeffects = all
        gmindc = 1 pS
    
    Maximum value achieved for any signal of each quantity: 
    V: V(C23.6) = 700 mV
    I: I(V28:p) = 11.49 pA
    Convergence achieved in 3 iterations.
    DC simulation time: CPU = 4 ms, elapsed = 8.01587 ms.
    Total time required for dc analysis `dcOp': CPU = 5 ms, elapsed = 8.12006 ms.
    Time accumulated: CPU = 16.5465 s, elapsed = 17.8806 s.
    Peak resident memory used = 320 Mbytes.
    
    dcOpInfo: writing operating point information to rawfile.
    
    Opening the PSF file ../psf/dcOpInfo.info ...
    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 ...
    
    Aggregate audit (11:49:21 AM, Wed Jun 23, 2021):
    Time used: CPU = 16.8 s, elapsed = 18.2 s, util. = 92.4%.
    Time spent in licensing: elapsed = 61.3 ms.
    Peak memory used = 321 Mbytes.
    Simulation started at: 11:49:03 AM, Wed Jun 23, 2021, ended at: 11:49:21 AM, Wed Jun 23, 2021, with elapsed time (wall clock): 18.2 s.
    spectre completes with 0 errors, 12 warnings, and 40 notices.
    

    Fullscreen input_case3.txt Download
    // Generated for: spectre
    // Generated on: Jun 23 11:41:53 2021
    // Design library name: 2020_GNPF_system_test_HPC_plus
    // Design cell name: HBC_snp_Jun21
    // Design view name: schematic
    simulator lang=spectre
    global 0
    parameters Riso=113.68 RC0=1/(2*w0*C0*Q_C0) RC1=1/(2*w0*C1*Q_C1) \
        RC2=1/(2*w0*C2*Q_C2) RC3=1/(2*w0*C3*Q_C3) RC4=1/(2*w0*C4*Q_C4) \
        RC5=1/(2*w0*C5*Q_C5) RC6=1/(2*w0*C6*Q_C6) f0=60G freq1=15G RL=300 \
        Rs=100 Rcom=25 V_varactor_3_bias=0 V_varactor_6_bias=0.7 C_NPF=42f \
        Xcom=0 Xs=0 Vbias=200m prf=-50 w0=2*3.14159*f0
    include "/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/toplevel.scs" section=top_tt
    
    // Library name: mixer_first_Rx
    // Cell name: gm_buffer1
    // View name: schematic
    subckt gm_buffer1 in_n in_p out_n out_p
    parameters output_resistance transconductance
        R0 (out_p out_n) resistor r=output_resistance isnoisy=no
        G0 (out_p out_n in_p in_n) vccs gm=transconductance
    ends gm_buffer1
    // End of subcircuit definition.
    
    // Library name: 2020_GNPF_system_test_HPC_plus
    // Cell name: HBC_snp_Jun21
    // View name: schematic
    PORT0 (net172 0) port r=Rs/2 num=1 type=sine freq=f0 dbm=prf sinephase=0 \
            pacmag=500m pacphase=0 mag=500m phase=0
    PORT2 (P2 0) port r=Rs/2 x=0 num=1 type=sine pacmag=500m pacphase=180 \
            mag=500m phase=180
    PORT4 (P3 0) port r=RL type=sine
    PORT5 (P6 0) port r=RL type=sine
    PORT1 (P4 0) port r=Riso/2 num=1 type=sine
    PORT3 (P5 0) port r=Riso/2 num=1 type=sine
    PORT12 (out 0) port r=100 num=4 type=sine isnoisy=yes
    PORT13 (net187 0) port r=100 num=4 type=sine isnoisy=yes
    NPORT2 ( out 0 Vout_I 0 Vout_Q 0 net187 0) nport \
            file="/home/anr2/ygaoay/ideal_hybrid_coupler.s4p" thermalnoise=no \
            interp=linear
    V14 (P1 net172) vsource type=dc
    V1 (VB 0) vsource dc=0 type=dc
    V0 (VSS 0) vsource dc=0 type=dc
    V27 (V_bias_varactor_3 0) vsource dc=V_varactor_3_bias type=dc
    V28 (V_bias_varactor_6 0) vsource dc=V_varactor_6_bias type=dc
    C23 (P6 V_bias_varactor_6 0) cmoscap_rf multi=1 br=2 gr=1 lr=200n wr=400n
    C22 (P3 V_bias_varactor_3 0) cmoscap_rf multi=1 br=2 gr=2 lr=200n wr=400n
    I7 (0 P3 0 Vout_I) gm_buffer1 output_resistance=100 transconductance=20m
    I15 (0 P6 0 Vout_Q) gm_buffer1 output_resistance=100 transconductance=20m
    NPORT0 ( P1 0 P2 0 P3 0 P4 0 P5 0 P6 0 VB 0) nport datafmt=touchstone \
            file="/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p" \
            hfextrap=linear interp=bbspice interp=bbspice
    C4 (0 P6) capacitor c=C_NPF
    C5 (0 P3) capacitor c=C_NPF
    C9 (P1 P2 VSS) cfmom_wo_rf nr=42 lr=2.02u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C2 (P4 P5 VSS) cfmom_wo_rf nr=46 lr=3u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C6 (P3 VSS VSS) cfmom_wo_rf nr=24 lr=1.37u w=50n s=50n stm=1 spm=7 \
            dmflag=0 shield=2 multi=1
    C8 (P3 P6 VSS) cfmom_wo_rf nr=16 lr=1.12u w=50n s=50n stm=1 spm=7 dmflag=0 \
            shield=2 multi=1
    C59 (net035 0 0) cfmom_wo_rf nr=6 lr=800n w=50n s=50n stm=3 spm=7 dmflag=0 \
            shield=1 multi=1
    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 
    pss  pss  fund=15G  harms=12  annotate=status
    pac  pac  start=55G  stop=67G  step=0.5G  maxsideband=3
    +    annotate=status
    dcOp dc write="spectre.dc" maxiters=150 maxsteps=10000 annotate=status
    dcOpInfo info what=oppoint where=rawfile
    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
    

    Fullscreen spectre_case3.txt Download
    Spectre (R) Circuit Simulator
    Version 19.1.0.373.isr7 64bit -- 21 May 2020
    Copyright (C) 1989-2020 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: rfid   Host: EEX136   HostID: 598F882C   PID: 6544
    Memory  available: 26.7012 GB  physical: 101.4283 GB
    Linux   : CentOS release 6.10 (Final)
    CPU Type: Intel(R) Xeon(R) CPU           X5690  @ 3.47GHz
    All processors running at 3458.3 MHz
            Socket: Processors (Hyperthreaded Processor)
            0:       1 ( 13 ),  3 ( 15 ),  5 ( 17 ),  7 ( 19 ),  9 ( 21 )
                    11 ( 23 )
            1:       0 ( 12 ),  2 ( 14 ),  4 ( 16 ),  6 ( 18 ),  8 ( 20 )
                    10 ( 22 )
            
    System load averages (1min, 5min, 15min) : 1.0 %, 1.8 %, 2.1 %
    Hyperthreading is enabled
    
    
    Simulating `input.scs' on EEX136 at 11:46:49 AM, Wed Jun 23, 2021 (process id: 6544).
    Current working directory: /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist
    Command line:
        /usr/eelocal/cadence/spectre191hf/tools/bin/spectre -64 input.scs  \
            +escchars +log ../psf/spectre.out -format psfxl -raw ../psf  \
            +lqtimeout 900 -maxw 5 -maxn 5 -env ade
    
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libinfineon_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libphilips_o_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libphilips_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libsparam_sh.so ...
    Loading /usr/eelocal/cadence/spectre191hf/tools.lnx86/cmi/lib/64bit/5.0/libstmodels_sh.so ...
    Reading file:  /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input.scs
    Reading link:  /usr/eelocal/cadence
    Reading link:  /usr/eelocal
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/configs/spectre.cfg
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/toplevel.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28ull_1d8_elk_v1d8_3.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/crn28ull_1d8_elk_v1d8_2p2.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/res_metal.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28hpcp_hv_1d8_elk_v1d1_2p1_shrink0d9_embedded_usage.scs
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28hpcp_hv_1d8_elk_v1d1_2p1.scs
    Time for NDB Parsing: CPU = 14.9467 s, elapsed = 15.2157 s.
    Time accumulated: CPU = 15.0717 s, elapsed = 15.2157 s.
    Peak resident memory used = 279 Mbytes.
    
    Reading link:  /usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/discipline.h
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/disciplines.vams
    Reading link:  /usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/constants.h
    Reading file:  /afs/ee.ust.hk/i386_linux26/usr/eelocal/cadence/spectre191hf/tools.lnx86/spectre/etc/ahdl/constants.vams
    
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `272' has also been specified at line `1582' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1582' has also been specified at line `1816' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1816' has also been specified at line `1970' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1970' has also been specified at line `1929' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./crn28ull_1d8_elk_v1d8_2p2_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
        WARNING (SFE-1131): Scope option `scalefactor' specified with scope `TopCircuit' at line `1929' has also been specified at line `13' in file `/home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/./cln28hpcp_hv_1d8_elk_v1d1_2p1_shrink0d9_embedded_usage.scs'. As a result, the last specified value will be used for simulation.
            Further occurrences of this warning will be suppressed.
    
    Reading file:  /home/anr2/PDK/Muse28/HPCPLUS/PDK/TSMCiPDK/tn28crsp029w1_1_8_2p2a/models/spectre/cln28ull_1d8_elk_v1d8_3_dir
    
    
    Existing shared object for module bsource_69f2b9 is up to date.
    Installed compiled interface for bsource_69f2b9.
    Existing shared object for module bsource_e0e0b9 is up to date.
    Installed compiled interface for bsource_e0e0b9.
    Existing shared object for module bsource_9e2720 is up to date.
    Installed compiled interface for bsource_9e2720.
    Existing shared object for module bsource_3c5fc9 is up to date.
    Installed compiled interface for bsource_3c5fc9.
    Existing shared object for module bsource_569dd9 is up to date.
    Installed compiled interface for bsource_569dd9.
    Existing shared object for module bsource_bfd22a is up to date.
    Installed compiled interface for bsource_bfd22a.
    Existing shared object for module bsource_0ac3b1 is up to date.
    Installed compiled interface for bsource_0ac3b1.
    Existing shared object for module bsource_d2112e is up to date.
    Installed compiled interface for bsource_d2112e.
    Reading file:  /home/anr2/ygaoay/ideal_hybrid_coupler.s4p
    
    Warning from spectre during hierarchy flattening.
        WARNING (SFE-32): "input.scs" 50: Duplicate specification for parameter `interp' (using last value specified).
    
    Reading file:  /home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p
    Time for Elaboration: CPU = 153.977 ms, elapsed = 164.893 ms.
    Time accumulated: CPU = 15.2257 s, elapsed = 15.3808 s.
    Peak resident memory used = 307 Mbytes.
    
    
    Warning from spectre during hierarchy flattening.
        WARNING (SPECTRE-17101): The value 'psf' specified for the 'checklimitdest' option will no longer be supported in future releases. Use 'spectre -h' to see other recommended values for the 'checklimitdest' option.
    Notice from spectre during hierarchy flattening.
        Nport compression is disabled on instance NPORT2 because its port number 4 is smaller than 10.
            
        Nport compression is disabled on instance NPORT0 because its port number 7 is smaller than 10.
            
    
    
    Time for EDB Visiting: CPU = 3 ms, elapsed = 3.12209 ms.
    Time accumulated: CPU = 15.2287 s, elapsed = 15.384 s.
    Peak resident memory used = 308 Mbytes.
    
    
    Notice from spectre during initial setup.
        NPORT0: Use existing rational fitting data '/staff/ee/rfid/.cadence/mmsim//e21914493bd2924d090d1d22470a7911_encrypt'.
        The extracted model is passive.
            
           Entry       Average Error
         -------------------------------------------------- 
          S(7, 3)      0.056238 
          S(3, 7)      0.055821 
          S(6, 7)      0.053617 
          S(6, 3)      0.052757 
          S(7, 6)      0.035891 
          S(3, 6)      0.033243 
          S(7, 7)      0.025450 
          S(3, 3)      0.024185 
          S(5, 4)      0.023060 
          S(4, 5)      0.020544 
            
           Entry      Maximum  Error    @Frequency(GHz)
         -------------------------------------------------- 
          S(3, 7)     0.128316        0.500000000  
          S(6, 7)     0.127429        0.750000000  
          S(7, 3)     0.110753      155.000000000  
          S(4, 5)     0.099107      180.000000000  
          S(4, 4)     0.096137      180.000000000  
          S(5, 4)     0.094408      180.000000000  
          S(6, 3)     0.082584      155.000000000  
          S(4, 3)     0.076421      180.000000000  
          S(3, 4)     0.074614      180.000000000  
          S(5, 5)     0.069948      180.000000000  
            
        Maximum Average Error = 0.056238         Maximum Error = 0.128316 
            
        Fitted S-Parameter: /home/anr2/rfid/Simulation/HBC_NPF_testbench_Jun03/spectre/schematic/netlist/BBSpiceOutput/e21914493bd2924d090d1d22470a7911/BBSResult_May_30_HBC_TF2_v4_0_5l_180/May_30_HBC_TF2_v4_0_5l_180_Fitted.s7p
    Warning from spectre during initial setup.
        WARNING (NPORT-1030): NPORT0: Large error exists in BBSpice fitting. This may cause simulation accuracy issue. If unacceptable accuracy issue shows up, try other 'interp' method, or refine the input S-parameter.
        WARNING (CMI-2838): In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', Im(S1_2) is non-zero ( 0.000 + j * -0.707 ) at DC.
        WARNING (CMI-2838): In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', Im(S3_4) is non-zero ( 0.000 + j * -0.707 ) at DC.
    Notice from spectre during initial setup.
        In file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p', the maximum passivity violation is 0.000597% at 0 Hz.
    Notice from spectre during topology check.
        Only one connection to node `net035'.
        No DC path from node `C59.a1' 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
              tmioutput = /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input
                degfile = /home/anr2/rfid/Simulation/HBC_snp_Jun21/spectre/schematic/netlist/input
            scalefactor = 0.9
                 reltol = 0.001
                   tnom = 27
                 scalem = 1
                  scale = 1
    
    Scoped user options:
    
    Circuit inventory:
                  nodes 69
         bsource_0ac3b1 5     
         bsource_3c5fc9 6     
         bsource_9e2720 6     
         bsource_69f2b9 6     
         bsource_569dd9 6     
         bsource_bfd22a 6     
         bsource_d2112e 10    
         bsource_e0e0b9 6     
              capacitor 22    
                  diode 2     
               inductor 14    
                  nport 2     
                   port 8     
               resistor 39    
                   vccs 2     
                vsource 5     
    
    Analysis and control statement inventory:
                     dc 1     
                   info 7     
                    pac 1     
                    pss 1     
    
    Output statements:
                 .probe 0     
               .measure 0     
                   save 0     
    
    Time for parsing: CPU = 22.996 ms, elapsed = 1.04083 s.
    Time accumulated: CPU = 15.2517 s, elapsed = 16.4249 s.
    Peak resident memory used = 312 Mbytes.
    
    ~~~~~~~~~~~~~~~~~~~~~~
    Pre-Simulation Summary
    ~~~~~~~~~~~~~~~~~~~~~~
    ~~~~~~~~~~~~~~~~~~~~~~
    
    
    
    ***************************************************
    Periodic Steady-State Analysis `pss': fund = 15 GHz
    ***************************************************
    DC simulation time: CPU = 4.999 ms, elapsed = 6.05917 ms.
    
    Warning from spectre during periodic steady state analysis `pss'.
        WARNING (CMI-2983): Distributed components are detected in the periodic steady-state analysis (PSS) simulation. PSS may be slowed down. It is recommended to use harmonic balance (HB) engine instead for distributed components.
        WARNING (CMI-2984): NPORT0' is a distributed component. 
        WARNING (CMI-2983): Distributed components are detected in the periodic steady-state analysis (PSS) simulation. PSS may be slowed down. It is recommended to use harmonic balance (HB) engine instead for distributed components.
        WARNING (CMI-2984): NPORT2' is a distributed component. 
    Notice from spectre during periodic steady state analysis `pss'.
        Distributed Components have been included for pss analysis with Shooting engine. It is recommended to use Harmonic Balance engine for Distributed Components. 
    
    
    =================================
    `pss': time = (0 s -> 66.6667 ps)
    =================================
    Reading link:  /staff
    Reading file:  /afs/ee.ust.hk/staff/ee/rfid/.cadence/mmsim/7ee3e2ef9e389d043c400004fa28b9f0.bin
    
    Notice from spectre during periodic steady state analysis `pss'.
        Nport NPORT2: Reuse impulse responses from the file `7ee3e2ef9e389d043c400004fa28b9f0.bin' in the directory of `/staff/ee/rfid/.cadence/mmsim/'.
    
    
    Important parameter values in tstab integration:
        start = 0 s
        outputstart = 0 s
        stop = 66.6667 ps
        period = 66.6667 ps
        maxperiods = 20
        step = 66.6667 fs
        maxstep = 2.66667 ps
        ic = all
        useprevic = no
        skipdc = no
        reltol = 1e-03
        abstol(V) = 1 uV
        abstol(I) = 1 pA
        abstol(U) = 1 u
        temp = 27 C
        tnom = 27 C
        tempeffects = all
        method = traponly
        lteratio = 3.5
        relref = sigglobal
        cmin = 0 F
        gmin = 1 pS
    
        pss: time = 1.961 ps    (2.94 %), step = 428.2 fs     (642 m%)
        pss: time = 5.52 ps     (8.28 %), step = 930.9 fs      (1.4 %)
        pss: time = 8.383 ps    (12.6 %), step = 587.2 fs     (881 m%)
        pss: time = 11.83 ps    (17.7 %), step = 947.9 fs     (1.42 %)
        pss: time = 15.52 ps    (23.3 %), step = 639.9 fs     (960 m%)
        pss: time = 18.82 ps    (28.2 %), step = 930.9 fs      (1.4 %)
        pss: time = 22.06 ps    (33.1 %), step = 709.8 fs     (1.06 %)
        pss: time = 25.84 ps    (38.8 %), step = 892 fs       (1.34 %)
        pss: time = 28.42 ps    (42.6 %), step = 856 fs       (1.28 %)
        pss: time = 32.07 ps    (48.1 %), step = 717.4 fs     (1.08 %)
        pss: time = 35.48 ps    (53.2 %), step = 890.5 fs     (1.34 %)
        pss: time = 38.7 ps     (58.1 %), step = 721 fs       (1.08 %)
        pss: time = 41.67 ps    (62.5 %), step = 810.2 fs     (1.22 %)
        pss: time = 45.38 ps    (68.1 %), step = 902 fs       (1.35 %)
        pss: time = 49.03 ps    (73.5 %), step = 737.2 fs     (1.11 %)
        pss: time = 51.76 ps    (77.6 %), step = 1.04 ps      (1.56 %)
        pss: time = 55.22 ps    (82.8 %), step = 729.6 fs     (1.09 %)
        pss: time = 59.07 ps    (88.6 %), step = 911.1 fs     (1.37 %)
        pss: time = 62.09 ps    (93.1 %), step = 934.5 fs      (1.4 %)
        pss: time = 65.01 ps    (97.5 %), step = 714.2 fs     (1.07 %)
    Total time required for tstab analysis `pss': CPU = 48.993 ms, elapsed = 49.314 ms.
    Time accumulated: CPU = 15.3477 s, elapsed = 16.5558 s.
    Peak resident memory used = 314 Mbytes.
    
    Conv norm = 142e+03, max dI(NPORT0:t2) = 29.7274 uA, took 40 ms.
    
    Important parameter values in pss iteration:
        start = 0 s
        outputstart = 0 s
        stop = 66.6667 ps
        period = 66.6667 ps
        maxperiods = 20
        steadyratio = 1e-03
        step = 66.6667 fs
        maxstep = 1.33333 ps
        ic = all
        useprevic = no
        skipdc = no
        reltol = 1e-03
        abstol(V) = 1 uV
        abstol(I) = 1 pA
        abstol(U) = 1 u
        temp = 27 C
        tnom = 27 C
        tempeffects = all
        errpreset = liberal
        method = traponly
        lteratio = 3.5
        relref = sigglobal
        cmin = 0 F
        gmin = 1 pS
    
    
    =================================
    `pss': time = (0 s -> 66.6667 ps)
    =================================
    
    Notice from spectre during periodic steady state analysis `pss'.
        Nport NPORT2: Reuse impulse responses from previous calculation.
    
        pss: time = 1.702 ps    (2.55 %), step = 277.8 fs     (417 m%)
        pss: time = 5.036 ps    (7.55 %), step = 277.8 fs     (417 m%)
        pss: time = 8.369 ps    (12.6 %), step = 277.8 fs     (417 m%)
        pss: time = 11.7 ps     (17.6 %), step = 277.8 fs     (417 m%)
        pss: time = 15.04 ps    (22.6 %), step = 277.8 fs     (417 m%)
        pss: time = 18.37 ps    (27.6 %), step = 277.8 fs     (417 m%)
        pss: time = 21.7 ps     (32.6 %), step = 277.8 fs     (417 m%)
        pss: time = 25.04 ps    (37.6 %), step = 277.8 fs     (417 m%)
        pss: time = 28.37 ps    (42.6 %), step = 277.8 fs     (417 m%)
        pss: time = 31.7 ps     (47.6 %), step = 277.8 fs     (417 m%)
        pss: time = 35.04 ps    (52.6 %), step = 277.8 fs     (417 m%)
        pss: time = 38.37 ps    (57.6 %), step = 277.8 fs     (417 m%)
        pss: time = 41.7 ps     (62.6 %), step = 277.8 fs     (417 m%)
        pss: time = 45.04 ps    (67.6 %), step = 277.8 fs     (417 m%)
        pss: time = 48.37 ps    (72.6 %), step = 277.8 fs     (417 m%)
        pss: time = 51.7 ps     (77.6 %), step = 277.8 fs     (417 m%)
        pss: time = 55.04 ps    (82.6 %), step = 277.8 fs     (417 m%)
        pss: time = 58.37 ps    (87.6 %), step = 277.8 fs     (417 m%)
        pss: time = 61.7 ps     (92.6 %), step = 277.8 fs     (417 m%)
        pss: time = 65.04 ps    (97.6 %), step = 277.8 fs     (417 m%)
    Conv norm = 3.83e+03, max dI(NPORT2:t1) = 856.137 nA, took 150 ms.
    
    
    =================================
    `pss': time = (0 s -> 66.6667 ps)
    =================================
        pss: time = 1.702 ps    (2.55 %), step = 277.8 fs     (417 m%)
        pss: time = 5.036 ps    (7.55 %), step = 277.8 fs     (417 m%)
        pss: time = 8.369 ps    (12.6 %), step = 277.8 fs     (417 m%)
        pss: time = 11.7 ps     (17.6 %), step = 277.8 fs     (417 m%)
        pss: time = 15.04 ps    (22.6 %), step = 277.8 fs     (417 m%)
        pss: time = 18.37 ps    (27.6 %), step = 277.8 fs     (417 m%)
        pss: time = 21.7 ps     (32.6 %), step = 277.8 fs     (417 m%)
        pss: time = 25.04 ps    (37.6 %), step = 277.8 fs     (417 m%)
        pss: time = 28.37 ps    (42.6 %), step = 277.8 fs     (417 m%)
        pss: time = 31.7 ps     (47.6 %), step = 277.8 fs     (417 m%)
        pss: time = 35.04 ps    (52.6 %), step = 277.8 fs     (417 m%)
        pss: time = 38.37 ps    (57.6 %), step = 277.8 fs     (417 m%)
        pss: time = 41.7 ps     (62.6 %), step = 277.8 fs     (417 m%)
        pss: time = 45.04 ps    (67.6 %), step = 277.8 fs     (417 m%)
        pss: time = 48.37 ps    (72.6 %), step = 277.8 fs     (417 m%)
        pss: time = 51.7 ps     (77.6 %), step = 277.8 fs     (417 m%)
        pss: time = 55.04 ps    (82.6 %), step = 277.8 fs     (417 m%)
        pss: time = 58.37 ps    (87.6 %), step = 277.8 fs     (417 m%)
        pss: time = 61.7 ps     (92.6 %), step = 277.8 fs     (417 m%)
        pss: time = 65.04 ps    (97.6 %), step = 277.8 fs     (417 m%)
    Conv norm = 5.23e+03, max dI(PORT12:p) = -1.16872 uA, took 130 ms.
    
    
    =================================
    `pss': time = (0 s -> 66.6667 ps)
    =================================
        pss: time = 1.702 ps    (2.55 %), step = 277.8 fs     (417 m%)
        pss: time = 5.036 ps    (7.55 %), step = 277.8 fs     (417 m%)
        pss: time = 8.369 ps    (12.6 %), step = 277.8 fs     (417 m%)
        pss: time = 11.7 ps     (17.6 %), step = 277.8 fs     (417 m%)
        pss: time = 15.04 ps    (22.6 %), step = 277.8 fs     (417 m%)
        pss: time = 18.37 ps    (27.6 %), step = 277.8 fs     (417 m%)
        pss: time = 21.7 ps     (32.6 %), step = 277.8 fs     (417 m%)
        pss: time = 25.04 ps    (37.6 %), step = 277.8 fs     (417 m%)
        pss: time = 28.37 ps    (42.6 %), step = 277.8 fs     (417 m%)
        pss: time = 31.7 ps     (47.6 %), step = 277.8 fs     (417 m%)
        pss: time = 35.04 ps    (52.6 %), step = 277.8 fs     (417 m%)
        pss: time = 38.37 ps    (57.6 %), step = 277.8 fs     (417 m%)
        pss: time = 41.7 ps     (62.6 %), step = 277.8 fs     (417 m%)
        pss: time = 45.04 ps    (67.6 %), step = 277.8 fs     (417 m%)
        pss: time = 48.37 ps    (72.6 %), step = 277.8 fs     (417 m%)
        pss: time = 51.7 ps     (77.6 %), step = 277.8 fs     (417 m%)
        pss: time = 55.04 ps    (82.6 %), step = 277.8 fs     (417 m%)
        pss: time = 58.37 ps    (87.6 %), step = 277.8 fs     (417 m%)
        pss: time = 61.7 ps     (92.6 %), step = 277.8 fs     (417 m%)
        pss: time = 65.04 ps    (97.6 %), step = 277.8 fs     (417 m%)
    Conv norm = 412e-03, max dI(V1:p) = -96.9978 pA, took 140 ms.
    
    
    Opening the PSF file ../psf/pss.td.pss ...
    
    Opening the PSF file ../psf/pss.fd.pss ...
    
    Maximum value achieved for any signal of each quantity: 
    V: V(C23.33) = 700 mV
    I: I(NPORT0:t2) = 29.73 uA
    U: U(NPORT0:s7) = 222 u
    If your circuit contains signals of the same quantity that are vastly different in size (such as high voltage circuitry combined with low voltage control circuitry), you should consider specifying global option `bin_relref=yes'.
    Initial condition solution time: CPU = 4.999 ms, elapsed = 6.19698 ms.
    pss: The steady-state solution was achieved in 4 iterations.
    Number of accepted pss steps =             241
    Total time required for pss analysis `pss': CPU = 747.887 ms, elapsed = 792.945 ms.
    Time accumulated: CPU = 16.0116 s, elapsed = 17.2321 s.
    Peak resident memory used = 322 Mbytes.
    
    
    *****************************************************
    Periodic AC Analysis `pac': freq = (55 GHz -> 67 GHz)
    *****************************************************
    
    Opening the PSF file ../psf/pac.pac ...
    
    Opening the PSF file ../psf/pac.-3.pac ...
    
    Opening the PSF file ../psf/pac.-2.pac ...
    
    Opening the PSF file ../psf/pac.-1.pac ...
    
    Opening the PSF file ../psf/pac.0.pac ...
    
    Opening the PSF file ../psf/pac.1.pac ...
    
    Opening the PSF file ../psf/pac.2.pac ...
    
    Opening the PSF file ../psf/pac.3.pac ...
    Using the operating-point information generated by PSS analysis `pss'.
    
    Warning from spectre at freq = 55 GHz during PAC analysis `pac'.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
    Warning from spectre at freq = 55.5 GHz during PAC analysis `pac'.
        WARNING (CMI-2133): Risky extrapolation of data given in S-parameter file `/home/anr2/ygaoay/ideal_hybrid_coupler.s4p'. This may cause convergence or accuracy issues in simulator. Please extend the data to higher frequencies.
            Further occurrences of this warning will be suppressed.
    
        pac: freq = 55.5 GHz    (4.17 %), step = 500 MHz      (4.17 %)
        pac: freq = 56 GHz      (8.33 %), step = 500 MHz      (4.17 %)
        pac: freq = 56.5 GHz    (12.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 57 GHz      (16.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 57.5 GHz    (20.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 58 GHz        (25 %), step = 500 MHz      (4.17 %)
        pac: freq = 58.5 GHz    (29.2 %), step = 500 MHz      (4.17 %)
        pac: freq = 59 GHz      (33.3 %), step = 500 MHz      (4.17 %)
        pac: freq = 59.5 GHz    (37.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 60 GHz      (41.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 60.5 GHz    (45.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 61 GHz        (50 %), step = 500 MHz      (4.17 %)
        pac: freq = 61.5 GHz    (54.2 %), step = 500 MHz      (4.17 %)
        pac: freq = 62 GHz      (58.3 %), step = 500 MHz      (4.17 %)
        pac: freq = 62.5 GHz    (62.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 63 GHz      (66.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 63.5 GHz    (70.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 64 GHz        (75 %), step = 500 MHz      (4.17 %)
        pac: freq = 64.5 GHz    (79.2 %), step = 500 MHz      (4.17 %)
        pac: freq = 65 GHz      (83.3 %), step = 500 MHz      (4.17 %)
        pac: freq = 65.5 GHz    (87.5 %), step = 500 MHz      (4.17 %)
        pac: freq = 66 GHz      (91.7 %), step = 500 MHz      (4.17 %)
        pac: freq = 66.5 GHz    (95.8 %), step = 500 MHz      (4.17 %)
        pac: freq = 67 GHz       (100 %), step = 500 MHz      (4.17 %)
    Total time required for pac analysis `pac': CPU = 5.40218 s, elapsed = 5.49954 s.
    Time accumulated: CPU = 21.4157 s, elapsed = 22.7433 s.
    Peak resident memory used = 325 Mbytes.
    
    
    Notice from spectre.
        99 warnings suppressed.
        NPORT0: `interp` value is set to `linear` for frequency-domain/dc/tran analysis, because BBSpice generated large fitting errors and the value of global option `nport_bbspice_to_linear` has been set to `yes`.
        S parameters are passive in file `/home/anr2/rfid/2021_Spring_wrk/data/May_30_HBC_TF2_v4_0_5l_180.s7p'.
    
    Circuit topology changed. 
    
    ******************
    DC Analysis `dcOp'
    ******************
    
    Opening the PSF file ../psf/dcOp.dc ...
    Important parameter values:
        reltol = 1e-03
        abstol(V) = 1 uV
        abstol(I) = 1 pA
        temp = 27 C
        tnom = 27 C
        tempeffects = all
        gmindc = 1 pS
    
    Maximum value achieved for any signal of each quantity: 
    V: V(C23.6) = 700 mV
    I: I(V28:p) = 11.5 pA
    Convergence achieved in 3 iterations.
    DC simulation time: CPU = 3 ms, elapsed = 7.17688 ms.
    Total time required for dc analysis `dcOp': CPU = 8.999 ms, elapsed = 13.7451 ms.
    Time accumulated: CPU = 21.4267 s, elapsed = 22.7591 s.
    Peak resident memory used = 325 Mbytes.
    
    dcOpInfo: writing operating point information to rawfile.
    
    Opening the PSF file ../psf/dcOpInfo.info ...
    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 ...
    
    Aggregate audit (11:47:12 AM, Wed Jun 23, 2021):
    Time used: CPU = 21.9 s, elapsed = 23.3 s, util. = 94.1%.
    Time spent in licensing: elapsed = 61.6 ms.
    Peak memory used = 325 Mbytes.
    Simulation started at: 11:46:49 AM, Wed Jun 23, 2021, ended at: 11:47:12 AM, Wed Jun 23, 2021, with elapsed time (wall clock): 23.3 s.
    spectre completes with 0 errors, 19 warnings, and 44 notices.
    

    Unknown said:
    2. Without specific knowledge concerning your EMX S-parameter network, I have no idea if it is a passive or contains active devices. As such, there are different techniques used to handle S-parameter files and these can have a first-order effect on the solution. I did inspect your S-parameter file and it does contain a DC term - which is good. Since I don't know its details nor the specifics of your simulation settings

    The EM simulated Snp file is just some inductors and transformers which should be purly passive. No active device is included.

    Unknown said:

    . Is the LO intended to be the same frequency as the RO (ring oscillator)?

    b. Do you have dividers between the RO output and the LO frequency?

    c. If the two frequencies are not the same and asynchronous, are you sure the solution is actually periodic? 

    LO frequency is the same with RO frequency. To make sure they are equal to each other, we did injection-locked ring oscillator to control the freuqnecy so that the system is periodic and pss simulation can converge. 

    We don't have dividers but we do have some logic gate(transistor-level) to shape the LO from sinusoidal to quasi-square wave. I have read on the forum that it would be better to use shooting engine for those sharp transition time signal (like square-wave)  . That's my hypothesis about why our LO doesn't work with HB engine but work with transiet and shooting. I'm also wondering if I put large enough oversampling rate, can this PSS_HB work for sharp transition time signal just like shooting? Well, I will try to increase PSS_HB over-sampling rate first.

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

    Dear Yang,

    Thank YOU for your very through response to my numerous questions! Let me study your added files and links to your setup in a bit of detail and then respond.....

    That was a very useful post, for me anyway!

    Shawn

    • 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