Home > Community > Forums > Custom IC SKILL > dbCreateConnByName(): WARNING (DB-270004): Shorted nets

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 dbCreateConnByName(): WARNING (DB-270004): Shorted nets  

Last post Fri, Aug 16 2013 1:05 AM by karacaoe. 4 replies.
Started by karacaoe 14 Aug 2013 06:53 AM. Topic has 4 replies and 678 views
Page 1 of 1 (5 items)
Sort Posts:
  • Wed, Aug 14 2013 6:53 AM

    • karacaoe
    • Not Ranked
    • Joined on Fri, Jul 26 2013
    • Posts 5
    • Points 70
    dbCreateConnByName(): WARNING (DB-270004): Shorted nets Reply

     Hello,

     I'd like to connect one net object with one pin object of an instance by using the function dbCreateConnByName().

     The code would be:

    ;SKILL CODE BEGINS

    net_var = dbFindNetByName(new "net011")
    db:0xf0d9ab93
    inst1 = dbGetInstByName(new "V6")
    db:0xf0d9ada1
    dbCreateConnByName(net_var inst1 "PLUS")
    *WARNING* (DB-270004): Shorted nets - net07
    nil

    ; END

     

    net07 is linked to pin "PLUS" of instance V6. Does the last function return nil because 2 nets are shorted? If so how can I solve this Problem and if not, why does the function return nil?

    Thank you very much in advance!!

     

     

     

    • Post Points: 20
  • Wed, Aug 14 2013 7:55 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: dbCreateConnByName(): WARNING (DB-270004): Shorted nets Reply

    Hi,

    Which version are you using?   Is "V6" a via?  If that's the case then I would guess that you are using IC5141. You may need to remove any existing net from V6 before you can use dbCreateConnByName(), dbDisconnectObject() perhaps?.  I'm guessing here as there is not much information to go by. If my guess is wrong and V6 is, say, a voltage source or something similar, the previous comment may still be applicable. You can see what 'inst1' is connected to by inspecting its "instTerms" attribute, e.g. inst1~>instTerms~>net

    Hope this helps a little.

    Regards,

    Lawrence.

    • Post Points: 20
  • Wed, Aug 14 2013 8:03 AM

    • karacaoe
    • Not Ranked
    • Joined on Fri, Jul 26 2013
    • Posts 5
    • Points 70
    Re: dbCreateConnByName(): WARNING (DB-270004): Shorted nets Reply

     Hello Lawrence,

     you are right with that guess :) I have created the instance from scratch without entering the schCheck() command and it worked.

    Thank you.

     However when I push the check&save button or enter the schCheck() the Connection by Name configuration disappears. Is there any way to create a persistent Connection without having to add wires explicitly?

     Thanks in advance,

     Best regards,

    Oezlem

    • Post Points: 20
  • Wed, Aug 14 2013 8:28 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,598
    • Points 16,075
    Re: dbCreateConnByName(): WARNING (DB-270004): Shorted nets Reply

    Hi Oezlem,

    Well, the schematic editor uses physical overlapping wires etc. to derive connectivity when you perform Check & Save. You might use dbSetConnCurrent() after setting up connectivity to indicate that the connectivity is up-to-date?

    Hopefully this will help you?

    regards,

    Lawrence.

    • Post Points: 20
  • Fri, Aug 16 2013 1:05 AM

    • karacaoe
    • Not Ranked
    • Joined on Fri, Jul 26 2013
    • Posts 5
    • Points 70
    Re: dbCreateConnByName(): WARNING (DB-270004): Shorted nets Reply

     Yes, thank you very much Lawrence.

    Best regards,

     Oezlem

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by karacaoe at 14 Aug 2013 06:53 AM. Topic has 4 replies.