CommunityForums RF Design problem creating symbol of netlist subcircuit

Stats

  • Locked Locked
  • Replies 9
  • Subscribers 67
  • Views 16138
  • 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 creating symbol of netlist subcircuit

yefJ
yefJ over 3 years ago

Hello ,i am trying to import a spice subcircuit as symbol in schematics. Hspice text cellview  was created where i entered my MOS subcircuit checked the syntax. (txt file of the model attached)

After that i am trying to create a simbol by create->celview From cellview. created a symbol as done a test bench as shown bellow.

However i get an error  massage as shown in the attached log.Where did i go wrong importing my sub circuit as a symbol into schematics?
Thanks

 

spice.txt
* "hspice" description for "spice", "SUM110N04-2m1P", "hspiceText" 


simulator lang=hspice

.SUBCKT SUM110N04-2m1P D G S
M1  3  GX S S NMOS W=29771256u L=0.250u      
M2  S  GX S D PMOS W=29771256u L=0.155u      
RG  G  GX     0.85
R1  D  3      RTEMP 8E-4
CGS GX S      14500E-12
DBD S  D      DBD
**************************************************************** 
.MODEL  NMOS        NMOS ( LEVEL  = 3           TOX    = 5E-8
+ RS     = 8.6E-4          RD     = 0           NSUB   = 2.7E17   
+ kp     = 1.2E-5          UO     = 650             
+ VMAX   = 0               XJ     = 5E-7        KAPPA  = 3E-1
+ ETA    = 1E-4            TPG    = 1  
+ IS     = 0               LD     = 0                             
+ CGSO   = 0               CGDO   = 0           CGBO   = 0 
+ NFS    = 0.8E12          DELTA  = 0.1)
**************************************************************** 
.MODEL  PMOS        PMOS ( LEVEL  = 3           TOX    = 5E-8
+NSUB    = 5E16            IS     = 0		TPG    = -1)   
**************************************************************** 
.MODEL DBD D (CJO=4900E-12 VJ=0.38 M=0.39
+FC=0.5 TT=2.8e-08 T_MEASURED=25 BV=41
+RS=1.051e-03 N=1.065 IS=3.339e-11 IKF=1000
+EG=1.316 XTI=8.202e-02 TRS1=5.277e-03 )
**************************************************************** 
.MODEL RTEMP RES (TC1=9E-3 TC2=5.5E-6)
**************************************************************** 
.ENDS SUM110N04-2m1P

********************************************

1300.log.txt
INFO (SCH-1170): Extracting "test_mos schematic"
INFO (SCH-1426): Schematic check completed with no errors.
INFO (SCH-1181): "spice test_mos schematic" saved.
Delete psf data in /data.cc/data/a/home/cc/students/enginer/yafimv/simulation/test_mos/spectre/schematic/psf.
generate netlist...
Begin Incremental Netlisting May 18 14:16:03 2019
ERROR (OSSHNL-108): The property, 'connectivityLastUpdated', specified on library 'spice', cell 'SUM110N04-2m1P',
view 'schematic', does not have an integer value. Re-extract the design (File->Check
and Save menu option) to correct this error.

End netlisting May 18 14:16:03 2019
ERROR (OSSHNL-514): Netlist generation failed because of the errors reported above. The netlist might not have been generated at all, or the generated netlist could be corrupt. Fix the reported errors and regenerate the netlist.
      ...unsuccessful.

  • Cancel
  • ShawnLogan
    ShawnLogan over 3 years ago

    Dear yefj,

    Did you follow all of the instructions at the Sourcelink article at URL:

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

    I have used these instructions to import netlists and they have worked well for me.

    Shawn

    • Cancel
    • Up 0 Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to ShawnLogan

    OK, a few things are wrong here:

    1. I'm not sure why you created a schematic from the hspiceText view, because this will just contain the pins. The schematic creation using create cellView from cellView only creates an empty schematic other than the pins. I'm sure you didn't really mean to do this.
    2. When the schematic view is created using create cellView from cellView, it is saved, but not check-and-saved. That's why you are getting the net listing error (the error would go away if you did a check-and-save of the schematic with the three pins, but you'd then not get a sensible simulation because you'd just be simulating an empty schematic!)
    3. So what you really want to do is add the text view into the switch view list in Setup->Environment. However, hspiceText views are not supported with spectre as the simulator - they netlist, but there's no inclusion of the resulting netlist (not sure why this is the case - it's probably an oversight - although perhaps it's only designed to work with hspice).
    4. So instead, create a "spice" text view (default name "spiceText") and paste in the same model text that you had. Then add spiceText into the switch view list on Setup->Environment (near the beginning - certainly before any schematic view).
    5. If you then simulate, it will netlist and include this view, but fail because of the line:
      .MODEL RTEMP RES (TC1=9E-3 TC2=5.5E-6)
    6. Change the "RES" to "R" in that line in the spiceText view and all will be OK

    Regards,

    Andrew.

    • Cancel
    • Up 0 Down
    • Cancel
  • yefJ
    yefJ over 3 years ago in reply to Andrew Beckett

    Hello Andrew , i was looking in  hspice text editor, schematics, library manager .

    ,where is the "setup" tab located?

    so i could do the switch.
    Thanks

    Andrew Beckett said:
    Setup->Environment (near the beginning - certainly before any schematic view).

    • Cancel
    • Up 0 Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to yefJ
    yefJ said:
    ,where is the "setup" tab located

    It's in the Analog Design Environment (so ADE L, ADE Explorer or the ADE XL test editor) window. Since ADE is responsible for controlling netlisting and this is used to specify which views are picked for netlisting, it's going to be in the ADE window and is not something that would be in the hspice text, spice text or schematic window.

    There's one caveat though - if you had been using a config view (created by the hierarchy editor) as to the top level for your design (i.e. having the design specified in ADE as lib/cell/config), then the switch view list and stop view list no longer appear in the Setup->Environment form; that's because the precise control of how the hierarchy is expanded is then defined in the config view.

    A very quick tutorial on netlisting. Generally the netlisters in Virtuoso work by having the concept of a "switch view list" and "stop view list". They start by looking at all the instances in the top cellView, and then for each instance they look along the switch view list (in order) to determine whether any of those views exists for that component that is instantiated. If a view exists, it will descend into that view to potentially netlist that view. If the view that was switched into is in the stop view list, then the hierarchy expansion stops and that is as low as the netlister goes - you'd just get an instance statement but no further expansion is performed for that component.

    Alternatively you can create a config view with File->New->CellView and specifying the type as "config". In this, you start off specifying a view list and stop list within the config which sets the default expansion, but then you can fine tune the expansion by specifying the view to use for a cell, an instance, or an occurrence in order to override the global expansion criteria. You can also alter the view list for a portion of the hierarchy, or explicitly mark a cell as being a stop point, or even being "bound to open" to omit it altogether. If you open the top design from within the config, you'd see your configured schematic and when you descend down the hierarchy interactively, it will follow the rules specified in the hierarchy editor. Similarly running ADE with the top design as this config view (if you start ADE from such a configured schematic it will do this automatically), it will follow the rules specified in the hierarchy editor to govern the expansion of the hierarchy.

    Regards,

    Andrew.

    • Cancel
    • Up 0 Down
    • Cancel
  • yefJ
    yefJ over 3 years ago in reply to Andrew Beckett

    Hello Andrew, my top cellview called "test mos" where i am trying to import the spice component.

    my spice file called SUM110N04-2m1P i have created the configuration  hierarchy as shown bellow.

    its not allowing me to add the  HspiceText file .

    You said that writing the Spice code in the HspiceText editor was wrong,so where should i write the file in what kind of cellview? 

    So it will allow me to add it to the hierarchy.

    Thanks

    Andrew Beckett said:
    So instead, create a "spice" text view (default name "spiceText") and paste in the same model text that you had. Then add spiceText into the switch view list on Setup->Environment (near the beginning - certainly before any schematic view).


    ****************************



    • Cancel
    • Up 0 Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to yefJ

    I have no idea why you created a config view with just hspiceS in the switch and stop lists - that's never going to work (hspiceS is an absolete "socket" interface to hspice (not spectre) which hasn't been supported since IC6.1.0). I didn't suggest you do that. If you're going to use spectre as the simulator, best to start with the "spectre" template for the hierarchy editor and just make sure that the top design is the top level schematic view. Then you can define the view list to include "spiceText" - however, see my point in the next paragraph...

    I did suggest (point 4 in my list above) that you created a "spice" (spiceText) view (rather than hspiceText) and that is supported with spectre as the simulator. Rather than confusing yourself with using a config view (as clearly you seem to be keen on trying random things rather than following the suggestions that others make on the forums), just stick to setting the switch view list on the ADE Setup->Environment form and keeping the top level design as a schematic.

    • Cancel
    • Up 0 Down
    • Cancel
  • yefJ
    yefJ over 3 years ago in reply to Andrew Beckett

    Hello Andrew, i have created spiceText called mosckt and written the subcircuit model  in it.

    After that i have created a schematics from it LAUNCH->ADEL-> setup-> Environment as shown bellow and added the spiceText into the view list.

    I have tried to run Idrain-V_gs using DC simulation (i can post the step by step of how i did it,if neccesary)

    it shows me an window instead of a  plot . i have attached in the end the LOG it gives me.

    I ran this MOS I-V curve in LTspice  also..what could be done to solve this "BAD PIVOTING" whch shows in the log?
    Thanks 

     

    Andrew Beckett said:
    Then add spiceText into the switch view list on Setup->Environment (near the beginning - certainly before any schematic view)
    Andrew Beckett said:
    keeping the top level design as a schematic

    0361.log.txt
    *******************************************
    DC Analysis `dc': VGS:dc = (40 mV -> 1.2 V)
    *******************************************
    
    Opening the PSF file ../psf/dc.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
    
    Notice from spectre at dc = 40 mV during DC analysis `dc'.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.
    Notice from spectre at dc = 45.8 mV during DC analysis `dc'.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.
    Notice from spectre at dc = 51.6 mV during DC analysis `dc'.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.
    Notice from spectre at dc = 57.4 mV during DC analysis `dc'.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.
    Notice from spectre at dc = 63.2 mV during DC analysis `dc'.
        Bad pivoting is found during DC analysis. Option dc_pivot_check=yes is recommended for possible improvement of convergence.
            Further occurrences of this notice will be suppressed.
    
        dc: dc = 69 mV        (2.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 74.8 mV        (3 %), step = 5.8 mV       (500 m%)
        dc: dc = 80.6 mV      (3.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 86.4 mV        (4 %), step = 5.8 mV       (500 m%)
        dc: dc = 92.2 mV      (4.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 98 mV          (5 %), step = 5.8 mV       (500 m%)
        dc: dc = 103.8 mV     (5.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 109.6 mV       (6 %), step = 5.8 mV       (500 m%)
        dc: dc = 115.4 mV     (6.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 121.2 mV       (7 %), step = 5.8 mV       (500 m%)
        dc: dc = 127 mV       (7.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 132.8 mV       (8 %), step = 5.8 mV       (500 m%)
        dc: dc = 138.6 mV     (8.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 144.4 mV       (9 %), step = 5.8 mV       (500 m%)
        dc: dc = 150.2 mV     (9.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 156 mV        (10 %), step = 5.8 mV       (500 m%)
        dc: dc = 161.8 mV    (10.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 167.6 mV      (11 %), step = 5.8 mV       (500 m%)
        dc: dc = 173.4 mV    (11.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 179.2 mV      (12 %), step = 5.8 mV       (500 m%)
        dc: dc = 185 mV      (12.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 190.8 mV      (13 %), step = 5.8 mV       (500 m%)
        dc: dc = 196.6 mV    (13.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 202.4 mV      (14 %), step = 5.8 mV       (500 m%)
        dc: dc = 208.2 mV    (14.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 214 mV        (15 %), step = 5.8 mV       (500 m%)
        dc: dc = 219.8 mV    (15.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 225.6 mV      (16 %), step = 5.8 mV       (500 m%)
        dc: dc = 231.4 mV    (16.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 237.2 mV      (17 %), step = 5.8 mV       (500 m%)
        dc: dc = 243 mV      (17.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 248.8 mV      (18 %), step = 5.8 mV       (500 m%)
        dc: dc = 254.6 mV    (18.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 260.4 mV      (19 %), step = 5.8 mV       (500 m%)
        dc: dc = 266.2 mV    (19.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 272 mV        (20 %), step = 5.8 mV       (500 m%)
        dc: dc = 277.8 mV    (20.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 283.6 mV      (21 %), step = 5.8 mV       (500 m%)
        dc: dc = 289.4 mV    (21.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 295.2 mV      (22 %), step = 5.8 mV       (500 m%)
        dc: dc = 301 mV      (22.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 306.8 mV      (23 %), step = 5.8 mV       (500 m%)
        dc: dc = 312.6 mV    (23.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 318.4 mV      (24 %), step = 5.8 mV       (500 m%)
        dc: dc = 324.2 mV    (24.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 330 mV        (25 %), step = 5.8 mV       (500 m%)
        dc: dc = 335.8 mV    (25.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 341.6 mV      (26 %), step = 5.8 mV       (500 m%)
        dc: dc = 347.4 mV    (26.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 353.2 mV      (27 %), step = 5.8 mV       (500 m%)
        dc: dc = 359 mV      (27.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 364.8 mV      (28 %), step = 5.8 mV       (500 m%)
        dc: dc = 370.6 mV    (28.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 376.4 mV      (29 %), step = 5.8 mV       (500 m%)
        dc: dc = 382.2 mV    (29.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 388 mV        (30 %), step = 5.8 mV       (500 m%)
        dc: dc = 393.8 mV    (30.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 399.6 mV      (31 %), step = 5.8 mV       (500 m%)
        dc: dc = 405.4 mV    (31.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 411.2 mV      (32 %), step = 5.8 mV       (500 m%)
        dc: dc = 417 mV      (32.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 422.8 mV      (33 %), step = 5.8 mV       (500 m%)
        dc: dc = 428.6 mV    (33.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 434.4 mV      (34 %), step = 5.8 mV       (500 m%)
        dc: dc = 440.2 mV    (34.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 446 mV        (35 %), step = 5.8 mV       (500 m%)
        dc: dc = 451.8 mV    (35.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 457.6 mV      (36 %), step = 5.8 mV       (500 m%)
        dc: dc = 463.4 mV    (36.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 469.2 mV      (37 %), step = 5.8 mV       (500 m%)
        dc: dc = 475 mV      (37.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 480.8 mV      (38 %), step = 5.8 mV       (500 m%)
        dc: dc = 486.6 mV    (38.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 492.4 mV      (39 %), step = 5.8 mV       (500 m%)
        dc: dc = 498.2 mV    (39.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 504 mV        (40 %), step = 5.8 mV       (500 m%)
        dc: dc = 509.8 mV    (40.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 515.6 mV      (41 %), step = 5.8 mV       (500 m%)
        dc: dc = 521.4 mV    (41.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 527.2 mV      (42 %), step = 5.8 mV       (500 m%)
        dc: dc = 533 mV      (42.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 538.8 mV      (43 %), step = 5.8 mV       (500 m%)
        dc: dc = 544.6 mV    (43.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 550.4 mV      (44 %), step = 5.8 mV       (500 m%)
        dc: dc = 556.2 mV    (44.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 562 mV        (45 %), step = 5.8 mV       (500 m%)
        dc: dc = 567.8 mV    (45.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 573.6 mV      (46 %), step = 5.8 mV       (500 m%)
        dc: dc = 579.4 mV    (46.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 585.2 mV      (47 %), step = 5.8 mV       (500 m%)
        dc: dc = 591 mV      (47.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 596.8 mV      (48 %), step = 5.8 mV       (500 m%)
        dc: dc = 602.6 mV    (48.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 608.4 mV      (49 %), step = 5.8 mV       (500 m%)
        dc: dc = 614.2 mV    (49.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 620 mV        (50 %), step = 5.8 mV       (500 m%)
        dc: dc = 625.8 mV    (50.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 631.6 mV      (51 %), step = 5.8 mV       (500 m%)
        dc: dc = 637.4 mV    (51.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 643.2 mV      (52 %), step = 5.8 mV       (500 m%)
        dc: dc = 649 mV      (52.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 654.8 mV      (53 %), step = 5.8 mV       (500 m%)
        dc: dc = 660.6 mV    (53.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 666.4 mV      (54 %), step = 5.8 mV       (500 m%)
        dc: dc = 672.2 mV    (54.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 678 mV        (55 %), step = 5.8 mV       (500 m%)
        dc: dc = 683.8 mV    (55.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 689.6 mV      (56 %), step = 5.8 mV       (500 m%)
        dc: dc = 695.4 mV    (56.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 701.2 mV      (57 %), step = 5.8 mV       (500 m%)
        dc: dc = 707 mV      (57.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 712.8 mV      (58 %), step = 5.8 mV       (500 m%)
        dc: dc = 718.6 mV    (58.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 724.4 mV      (59 %), step = 5.8 mV       (500 m%)
        dc: dc = 730.2 mV    (59.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 736 mV        (60 %), step = 5.8 mV       (500 m%)
        dc: dc = 741.8 mV    (60.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 747.6 mV      (61 %), step = 5.8 mV       (500 m%)
        dc: dc = 753.4 mV    (61.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 759.2 mV      (62 %), step = 5.8 mV       (500 m%)
        dc: dc = 765 mV      (62.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 770.8 mV      (63 %), step = 5.8 mV       (500 m%)
        dc: dc = 776.6 mV    (63.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 782.4 mV      (64 %), step = 5.8 mV       (500 m%)
        dc: dc = 788.2 mV    (64.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 794 mV        (65 %), step = 5.8 mV       (500 m%)
        dc: dc = 799.8 mV    (65.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 805.6 mV      (66 %), step = 5.8 mV       (500 m%)
        dc: dc = 811.4 mV    (66.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 817.2 mV      (67 %), step = 5.8 mV       (500 m%)
        dc: dc = 823 mV      (67.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 828.8 mV      (68 %), step = 5.8 mV       (500 m%)
        dc: dc = 834.6 mV    (68.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 840.4 mV      (69 %), step = 5.8 mV       (500 m%)
        dc: dc = 846.2 mV    (69.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 852 mV        (70 %), step = 5.8 mV       (500 m%)
        dc: dc = 857.8 mV    (70.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 863.6 mV      (71 %), step = 5.8 mV       (500 m%)
        dc: dc = 869.4 mV    (71.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 875.2 mV      (72 %), step = 5.8 mV       (500 m%)
        dc: dc = 881 mV      (72.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 886.8 mV      (73 %), step = 5.8 mV       (500 m%)
        dc: dc = 892.6 mV    (73.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 898.4 mV      (74 %), step = 5.8 mV       (500 m%)
        dc: dc = 904.2 mV    (74.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 910 mV        (75 %), step = 5.8 mV       (500 m%)
        dc: dc = 915.8 mV    (75.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 921.6 mV      (76 %), step = 5.8 mV       (500 m%)
        dc: dc = 927.4 mV    (76.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 933.2 mV      (77 %), step = 5.8 mV       (500 m%)
        dc: dc = 939 mV      (77.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 944.8 mV      (78 %), step = 5.8 mV       (500 m%)
        dc: dc = 950.6 mV    (78.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 956.4 mV      (79 %), step = 5.8 mV       (500 m%)
        dc: dc = 962.2 mV    (79.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 968 mV        (80 %), step = 5.8 mV       (500 m%)
        dc: dc = 973.8 mV    (80.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 979.6 mV      (81 %), step = 5.8 mV       (500 m%)
        dc: dc = 985.4 mV    (81.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 991.2 mV      (82 %), step = 5.8 mV       (500 m%)
        dc: dc = 997 mV      (82.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.003 V       (83 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.009 V     (83.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.014 V       (84 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.02 V      (84.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.026 V       (85 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.032 V     (85.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.038 V       (86 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.043 V     (86.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.049 V       (87 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.055 V     (87.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.061 V       (88 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.067 V     (88.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.072 V       (89 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.078 V     (89.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.084 V       (90 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.09 V      (90.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.096 V       (91 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.101 V     (91.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.107 V       (92 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.113 V     (92.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.119 V       (93 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.125 V     (93.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.13 V        (94 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.136 V     (94.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.142 V       (95 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.148 V     (95.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.154 V       (96 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.159 V     (96.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.165 V       (97 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.171 V     (97.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.177 V       (98 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.183 V     (98.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.188 V       (99 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.194 V     (99.5 %), step = 5.8 mV       (500 m%)
        dc: dc = 1.2 V        (100 %), step = 5.8 mV       (500 m%)
    DC simulation time: CPU = 291.954 ms, elapsed = 635.008 ms.
    Total time required for dc analysis `dc': CPU = 21.996 ms, elapsed = 24.77 ms.
    Time accumulated: CPU = 292.954 ms, elapsed = 636.487 ms.
    Peak resident memory used = 55.7 Mbytes.
    
    
    Notice from spectre.
        196 notices suppressed.
    
    modelParameter: writing model parameter values to rawfile.
    
    Opening the PSF file ../psf/modelParameter.info ...
    element: writing instance parameter values to rawfile.
    
    Opening the PSF file ../psf/element.info ...
    outputParameter: writing output parameter values to rawfile.
    
    Opening the PSF file ../psf/outputParameter.info ...
    designParamVals: writing netlist parameters to rawfile.
    
    Opening the PSFASCII file ../psf/designParamVals.info ...
    primitives: writing primitives to rawfile.
    
    Opening the PSFASCII file ../psf/primitives.info.primitives ...
    subckts: writing subcircuits to rawfile.
    
    Opening the PSFASCII file ../psf/subckts.info.subckts ...

    • Cancel
    • Up 0 Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to yefJ

    yefJ said:

    I have tried to run Idrain-V_gs using DC simulation (i can post the step by step of how i did it,if neccesary)

    it shows me an window instead of a  plot . i have attached in the end the LOG it gives me.

    I'm not sure what you mean by "it shows me an window instead of a plot". I'm guessing there's a word missing and you meant to say "empty window" or something like that?

    The spectre log isn't relevant here since there's nothing in there that would cause a problem. The pivoting warnings are nothing to worry about - it's just informing you of some convergence challenges at low voltage, but it runs successfully - these are warnings, not errors. Fixing those won't change anything.

    What I need to know is what you've saved and how exactly you're trying to plot the results. So the best thing is to post the input.scs file (I'm assuming it's just an instance of the transistor and some voltage sources) - that way I can see the analysis setup and what is being saved. I also need to see what your outputs are set up as in ADE - or a description of how you're trying to plot the results - exactly what you're attempting to plot. If an empty window appears, I'd also expect there may be errors showing in the CIW telling you why it couldn't plot.

    Regards,

    Andrew.

    • Cancel
    • Up 0 Down
    • Cancel
  • yefJ
    yefJ over 3 years ago in reply to Andrew Beckett

    Hello Andrew, I have tried to recreate the Ids-Vgs curve of the model. i  managed to solve this problem by adding a resistor and measuring the current from the voltage drop on it.

    Thank you very much.  

    • Cancel
    • Up 0 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.