CIW History

Discussion in 'Cadence' started by Jake, Aug 20, 2010.

  1. Jake

    Jake Guest

    Hello,

    I'm trying to make the 'history' command smarter for me by adding the
    capability to include search strings (i.e. a history of every time I
    used the command 'load'). It works beautifully, except that I've
    noticed that my numerical results are off by 1 or 2 compared to what
    is given by the history command. For example, history gives me:

    1 history()
    2 load( "/blah/script.il" )
    3 Blah()
    4 history()

    Whereas my script gives me:

    1 ddUpdateLibList()
    2 history()
    3 load( "/blah/script.il" )
    4 Blah()
    5 history()

    How is the history() command calculating its numbers? I was looking
    at the log file and searching for \a and \i and counting them up.
    History ignored the start-up command ddUpdateLibList. How does it
    know to do this? Is it reading a different log file somewhere? If it
    is, where is it?

    Thanks,
    Jake
     
    Jake, Aug 20, 2010
    #1
  2. Jake wrote, on 08/20/10 16:01:
    It doesn't read the log file. Each time a function is called, it is stored in a
    data structure which is used by the history() function.

    Regards,

    Andrew.
     
    Andrew Beckett, Sep 26, 2010
    #2
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.