Home > Community > Forums > Digital Implementation > How to dbget only the input/output ports or inout

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

 How to dbget only the input/output ports or inout 

Last post Sun, Aug 5 2012 11:26 PM by smachha. 1 replies.
Started by Anuragjn 04 Aug 2012 05:42 AM. Topic has 1 replies and 1700 views
Page 1 of 1 (2 items)
Sort Posts:
  • Sat, Aug 4 2012 5:42 AM

    • Anuragjn
    • Not Ranked
    • Joined on Sat, Aug 6 2011
    • Posts 12
    • Points 195
    How to dbget only the input/output ports or inout Reply

    Hello All,

    I have a ports which are buses say  port name   FT_sleep[1-300]

    Want to know the command to dbGet only the input or output ports from this list  FT_sleep*

    and result just list the ports which are input or output when executed

     

    regards

    • Post Points: 20
  • Sun, Aug 5 2012 11:26 PM

    • smachha
    • Not Ranked
    • Joined on Thu, Apr 15 2010
    • Posts 14
    • Points 220
    Re: How to dbget only the input/output ports or inout Reply

     Hi Anuragjn,

    may be you can try this ..

    --> dbget [dbget top.terms.isOutput 1 -p].name   (to get all the output terms)

    --> dbget [dbget top.terms.isOutput 1 -p].name FT_sleep*  (to give all the output terms matching FT_sleep)

     

     thanks,

    Sunil

     

     

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Anuragjn at 04 Aug 2012 05:42 AM. Topic has 1 replies.