Home > Community > Forums > Custom IC Design > outputs(?type...) in IC12 ?

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

 outputs(?type...) in IC12 ? 

Last post Thu, Jan 30 2014 6:08 AM by The Setlaz. 2 replies.
Started by The Setlaz 30 Jan 2014 03:40 AM. Topic has 2 replies and 2995 views
Page 1 of 1 (3 items)
Sort Posts:
  • Thu, Jan 30 2014 3:40 AM

    • The Setlaz
    • Top 500 Contributor
    • Joined on Wed, Dec 5 2012
    • Saggart, Dublin
    • Posts 35
    • Points 500
    outputs(?type...) in IC12 ? Reply

    Hi,

     

     I'm trying to use the OCEAN outputs() function with the filter ?type in IC12.10.500 / 12.10.060 but I'm facing an error message.

    I want to isolate the MOS devices from what returns the outputs() command.

     

    Here is how I expect it to work and how it DOES work in IC6

     

    ocean>openResults("./psf")

    ocean> selectResults('dcOpInfo)
    stdobj@0x2aa9d398

    ocean> outputs()
    ("M0.Cs0" "M0.Cd0" "M0.Cds" "M0.Cg0" "M0.Cgs"    "M0.Cgd" "M0.Rg" "M0.Rs" "M0.Rd" "M0.XM"  "/V0" "/V1" "/V2" )

    ocean> dataTypes()
    ("capacitor" "resistor" "tmibsimcmg" "vsource")

    ocean> outputs(?type "tmibsimcmg")
    ("M0.XM")

     

    EPIC SUCCESS !

     

    Now, in IC12, everything is the very same, except the last command does not want to do the job:

    ocean> outputs(?type "tmibsimcmg")
    *Error* car: argument #1 should be a list (type template = "l") - "tmibsimcmg"

    ocean> outputs(?type "vsource")
    *Error* car: argument #1 should be a list (type template = "l") - "vsource"

     

    I kinda understand there could be an evolution allowing user to have a 'list of type' instead of a single type... Actually, that could be great... Let's try to make it 'list of type' compliant then:

    ocean> outputs(?type '(tmibsimcmg))
    *Error* _srrMakeSignalListFromType: argument #2 should be either a string or a symbol (type template = "gS") - (tmibsimcmg)

     

    outputs(?type '("tmibsimcmg"))
    *Error* _srrMakeSignalListFromType: argument #2 should be either a string or a symbol (type template = "gS") - ("tmibsimcmg")

     

    ocean> outputs(?type '(vsource))
    *Error* _srrMakeSignalListFromType: argument #2 should be either a string or a symbol (type template = "gS") - (tmibsimcmg)

     

    ocean> outputs(?type '("vsource"))
    *Error* _srrMakeSignalListFromType: argument #2 should be either a string or a symbol (type template = "gS") - (tmibsimcmg)

     

     

    I just can't get it working...

    Where is the trick ?

    Unfortunately, the documentation seem not have been updated for this :'(

     

    Thanks,
    Damien

    • Post Points: 20
  • Thu, Jan 30 2014 5:36 AM

    Re: outputs(?type...) in IC12 ? Reply

    Hi Damien,

    I reproduced the problem. It's broken in IC616 ISR3/4 and ICADV121 ISR5/6 (these correspond to each other).

    It's working in IC616 ISR5 (I checked a pre-release build) - that's due for release at the end of February.

    Regards,

    Andrew.

    • Post Points: 20
  • Thu, Jan 30 2014 6:08 AM

    • The Setlaz
    • Top 500 Contributor
    • Joined on Wed, Dec 5 2012
    • Saggart, Dublin
    • Posts 35
    • Points 500
    Re: outputs(?type...) in IC12 ? Reply

     Hi Andrew,

     

    Thanks a lot for this ! Looking forward to the next update then:)

     

    Meanwhile, here is the (ugly) workaround:

    rexMatchList( "[A-Za-z0-9_.<>]*.XM" outputs() )

     

    That should do the job for me at the moment.

     

    Damien

    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by The Setlaz at 30 Jan 2014 03:40 AM. Topic has 2 replies.