Home > Community > Forums > Digital Implementation > dbTermLogicValue?

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: *

 dbTermLogicValue? 

Last post Wed, Feb 27 2013 7:18 AM by Kari. 1 replies.
Started by Robin C 23 Dec 2012 10:47 PM. Topic has 1 replies and 902 views
Page 1 of 1 (2 items)
Sort Posts:
  • Sun, Dec 23 2012 10:47 PM

    • Robin C
    • Not Ranked
    • Joined on Mon, Oct 29 2012
    • Posts 2
    • Points 40
    dbTermLogicValue? Reply

    I would like to find if any of the instance terms are connected to 1'0 or 1'b1 in the verilog file and check if they are mistakenly connected to wrong tie hi/lo type. I found this db command "dbTermLogicValue" but it turned out to be that the logic value of each term are 0! I expect to see result "1" when I use this command to check a term which is tied to 1'b1 in the verilog netlist.

     

    For example, below is a verilog code fragment 

    ...

    REG reg_u01( .SI(1'b0), SE(1'b0), SD(1'b1), RD(1'b0), D(1'b0), CK(1'b0)).

    ...

    I entered dbTermLogicValue [dbGetTermByName [dbGetInstByName reg_u01] SD], I expect to get "1" but the console showed "0".

     

    Did I misunderstand the behavior of this command? Is there any command that can help me on this task?

     

    Thank You :D

    • Post Points: 20
  • Wed, Feb 27 2013 7:18 AM

    • Kari
    • Top 10 Contributor
    • Joined on Tue, Jul 15 2008
    • Cary, NC
    • Posts 693
    • Points 14,155
    Re: dbTermLogicValue? Reply

    This is how you can check if your terms are connecte to tie cells instead of directly to a rail:

    encounter 9> dbGet top.insts.instTerms.isTieHi 1
    0x0
    encounter 10> dbGet top.insts.instTerms.isTieLo 1
    0x0 

    (If you get 0x0, everything is connected to a tie cell). As for being able to tell if it's connected to the CORRECT tie cell, that's more of an LVS issue. 

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Robin C at 23 Dec 2012 10:47 PM. Topic has 1 replies.