Home > Community > Forums > Custom IC Design > Command openResults problem

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

 Command openResults problem 

Last post Thu, Mar 10 2011 2:23 PM by Andrew Beckett. 1 replies.
Started by loon 10 Mar 2011 11:31 AM. Topic has 1 replies and 848 views
Page 1 of 1 (2 items)
Sort Posts:
  • Thu, Mar 10 2011 11:31 AM

    • loon
    • Not Ranked
    • Joined on Fri, Jan 7 2011
    • Posts 8
    • Points 175
    Command openResults problem Reply

    Hi all,

           After I run a simulation, I can use command openResults to open it

    simulation_directory = "/projects/......./schematic/psf"
    openResults( simulation_directory)

    selectResult( 'tran )
    outputs()

          I get the following results

         ("/D<0>" "/D<1>" "/D<2>" "/D<3>" "/D<4>")

          And I can process the data.

          The problem is that I copy the whole simulation data files to a new directory, and load the simulation data

    from new directory, After entering the following command, get the following results.

         ("D\\<0\\>" "D\\<1\\>" "D\\<2\\>" "D\\<3\\>" "D\\<4\\>")

         I can not use getData command to access the data. 

         I just wonder why this happens and how to solve this problem. Thanks!

     

    Filed under:
    • Post Points: 20
  • Thu, Mar 10 2011 2:23 PM

    Re: Command openResults problem Reply
    This happens because there is a reference in the runObjFile in the psf directory to the netlist directory (as a relative path). In the netlist directory, there are directories containing name mapping information (eg amap) which tell it how names are mapped from what they are called in the schematic to what they are called in the netlist (the simulator has different naming rules than Virtuoso).

    When you give a name starting with "/" you're using the schematic name. If you've moved the results and not taken the netlist dir with it, you can't use the schematic names any more. You can still use getData(), but you must use netlist names instead (which is what the outputs() function is telling you - it's showing you the names which are really in the result database without the mapping applied). You can see this with something like outputs(?map nil) (I forget if that's the actual keyword - you can check with arglist('outputs) .

    Regards,

    Andrew
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by loon at 10 Mar 2011 11:31 AM. Topic has 1 replies.