Netname expansion, any cadence public function?

Discussion in 'Cadence' started by Rajeswaran M, Mar 5, 2006.

  1. Rajeswaran M

    Rajeswaran M Guest

    Is there any function which can give the list of nets from Bus.

    For Eg.,

    getAllSubNames("TEST<4:7>,A,B,C<1,2,6>,D<8>")
    => list("TEST<4>" "TEST<5>" "TEST<6>" "TEST<7>" "A" "B" "C<1>" "C<2>"
    "C<6>" "D<8>")

    Its possible to get it from member instance properties, if we need to
    process instance properties. But a generic function is needed as I need
    to process user input. A custom skill routine can be written. But it
    will be great to use a supported function which would be robust enough
    to match how schematic editor will read the bus data.
     
    Rajeswaran M, Mar 5, 2006
    #1
  2. It's been possible to do this forever - I've always used dbGetMemName().
    dbProduceMemName seems to have been there since at least 4.4.1 - but I didn't
    read the manual to find out the difference (I'm sure you can do that ;-> )

    Andrew.
     
    Andrew Beckett, Mar 5, 2006
    #2
  3. Rajeswaran M

    Rajeswaran M Guest

    Thanks!! Both the functions are very useful :)

     
    Rajeswaran M, Mar 6, 2006
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.