using a port in sub-procedure

Discussion in 'Cadence' started by vlsidesign, Feb 16, 2007.

  1. vlsidesign

    vlsidesign Guest

    I open a port for writing using the outfile function at my main
    procedure. I want to use this port and write to it in some of my sub-
    procedures. I pass the port into the sub-procedure and then return it
    back and it seems to work. And then finally at the end of my main
    procedure, I then close the port.

    I was wondering if this was an okay way of doing it??

    By the way, if I want to return multiple things, do I just create a
    list and then return the list?? Any help is appreciated. Thanks.
     
    vlsidesign, Feb 16, 2007
    #1
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.