AnsweredAssumed Answered

BJT device definition on LVS check rule file - SVRF language

Question asked by ronaldompotne on Jul 20, 2017
Latest reply on Jul 26, 2017 by dan_liddell

I need to write my own LVS check rule file for the technology I am currently using, but I am quite new on this.

I have checked the SVRF manual to understand the language syntax and also some examples but I am having trouble to define the BJT device for proper recognition.

My BJT is vertical, and on the manual, the syntax shown is basically:

 

"Example: DEV Q(BJT)

DEV Q(BJT) base coll base emit Here the component type is Q, the model name is BJT,

Here the component type is Q, the model name is BJT, base is the device layer, and there are three pins. If property A is calculated, it is netlisted as AREA, but is traced as A."

 

Bellow is my NPN bipolar layout:

 

Screenshot from 2017-07-20 19-21-57.png

 

Collector is SN (shallow N), base is SP (shallow P) and emitter is SN again.

 

So I am defining the device as:

 

//=================

//Bipolar device

//=================

 

emitt = SN INSIDE SP //emitter area

base = NOT SP emitt // base area

coll  = SN NOT INSIDE SP //collector area

DEVICE Q(BJT) base SN(C) base(B) emitt(E) (C E)

[property A

A = AREA(base)

]

//compare the areas of source and layout

TRACE PROPERTY Q(BJT) A A 0

//compare the multiplicity if source and layout

TRACE PROPERTY Q(BJT) m m 0

 

When I run the LVS, Calibre reports me errors regarding both the net of devices and device recognition.

So, basically, I believe my code is not correct.

Please, find below the log output.

Would you be, so kind, to help me with this?

I am struggling with this for so long already and there is no other support for me since people here do not have expertise on writing on SVRF.

Thank you very much in advance.

I am looking forward to your support.

Best regards.

 

LOG OUTPUT

===================================================================================================

                   CELL COMPARISON RESULTS ( TOP LEVEL )

 

                  #   #         ##################### 

                   # #          #                   # 

                    #           #     INCORRECT     # 

                   # #          #                   # 

                  #   #         ##################### 

 

  Error:    Different numbers of nets (see below).

  Error:    Different numbers of instances (see below).

  Error:    Connectivity errors.

LAYOUT CELL NAME:         bipolar_dummy

SOURCE CELL NAME:         bipolar_dummy

 

--------------------------------------------------------------------------------------------------------------

NUMBERS OF OBJECTS

------------------

                Layout    Source         Component Type

                ------    ------         --------------

Ports:              0         0

Nets:               1         3    *

Instances:          0         1    *    Q (3 pins): c b e

                     1         0    *    Q (3 pins): (c e) b   ** non-standard device **

                ------    ------

Total Inst:         1         1

 

       * = Number of objects in layout different from number in source.

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

                                 INCORRECT OBJECTS

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

LEGEND:

-------

  ne  = Naming Error (same layout name found in source

        circuit, but object was matched otherwise).

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

                                   INCORRECT NETS

DISC#  LAYOUT NAME                                               SOURCE NAME

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

  1    Net 2                                                     ** no similar net **

--------------------------------------------------------------------------------------------------------------

  2    ** no similar net **                                      net01

--------------------------------------------------------------------------------------------------------------

  3    ** no similar net **                                      net02

--------------------------------------------------------------------------------------------------------------

  4    ** no similar net **                                      net06

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

                                 INCORRECT INSTANCES

DISC#  LAYOUT NAME                                               SOURCE NAME

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

  5    Q0(63.000,53.000)  Q(BJT)                                 ** missing instance **

--------------------------------------------------------------------------------------------------------------

  6    ** missing instance **                                    QI11  Q(NP)

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

                               INFORMATION AND WARNINGS

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

                  Matched    Matched    Unmatched    Unmatched    Component

                   Layout     Source       Layout       Source    Type

                  -------    -------    ---------    ---------    ---------

   Ports:               0          0            0            0

 

 

   Nets:                0          0            1            3

 

 

   Instances:           0          0            0            1    Q(NP)

                        0          0            1            0    Q(BJT)

                  -------    -------    ---------    ---------

   Total Inst:          0          0            1            1

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

                                         SUMMARY

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

Total CPU Time:      0 sec

Total Elapsed Time:  0 sec

Outcomes