External control of Analog Artist

Discussion in 'Cadence' started by phil.jones2000, May 15, 2007.

  1. I have been looking at the IPC functions to see if I can figure out a
    way of making an external process (possibly started from within a
    Cadence tool) initiate netlisting and start simulations without
    blocking the Analog Artist session.
    Is this possible?

    So, from a menu in Analog Artist some process A is called (maybe in C
    or Perl). The process A can at any point instruct Analog Artist to
    netlist. Normal interaction with Analog Artist is also possible while
    process A is running.

    Any ideas?

    Phil.
     
    phil.jones2000, May 15, 2007
    #1
  2. I have figured out the answer to my own question and thought I should
    post it.

    I wanted to be able to trigger netlisting and simulation by Analog
    Artist from Emacs (I prefer to use text Spice files to setup stimuli
    and simulations to GUIs - easier to review and quicker). My problem
    was that it seems the interprocess communication functions in DFII
    only allow for communication using stdin and stdout whereas to
    communicate with emacs I would need to use TCP ports (I could be wrong
    but I couldn't find a means of using stdin/stdout).

    In the end a server written in Perl that started the emacs process and
    forwarded messages from TCP ports to stdin provided a means of using C-
    C C-s in emacs to launch a simulation!

    I think Andrew Beckett did something similar with Tcl ...
     
    phil.jones2000, May 17, 2007
    #2
  3. TclX I think. This can also be done with a c-program. I think there
    are examples in the documentation if you search for those IPC*
    function names on sourcelink.
     
    Svenn Are Bjerkem, May 22, 2007
    #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.