• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. In Cadence Maestro, I want to create a calculator funct...

Stats

  • Replies 4
  • Subscribers 131
  • Views 234
  • Members are here 0

In Cadence Maestro, I want to create a calculator function

Mooh
Mooh 7 days ago

In Cadence Maestro, I want to create a calculator function. I want the function to plot a vcsv file; it takes the path of the file and plots it as simply as that

  • Cancel
  • Sign in to reply
Parents
  • Andrew Beckett
    Andrew Beckett 7 days ago

    Given that VCSV files can contain more than one signal, you might need more than that (e.g. which column number you want for X and Y). The good news is that there's an existing calculator function that does this - you don't need to create a new one:

    getAsciiWave("jitter.vcsv" 1 2 ?xskip 0 ?yskip 0 ?formatFloat nil ?xName "time" ?xUnits "s" ?yName "V" ?yUnits "V" )

    It already ignores the comment columns at the top.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett 7 days ago

    Given that VCSV files can contain more than one signal, you might need more than that (e.g. which column number you want for X and Y). The good news is that there's an existing calculator function that does this - you don't need to create a new one:

    getAsciiWave("jitter.vcsv" 1 2 ?xskip 0 ?yskip 0 ?formatFloat nil ?xName "time" ?xUnits "s" ?yName "V" ?yUnits "V" )

    It already ignores the comment columns at the top.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Mooh
    Mooh 7 days ago in reply to Andrew Beckett

    That worked perfectly, thank you so much! One more question: do we have a similar function for S-parameters? Ideally, it would take the S-parameter file path and information, then plot S11 or S21 as an example otherwise I need to run a sp simulation with nport cell .

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Andrew Beckett
    Andrew Beckett 7 days ago in reply to Mooh

    getData("s1,1" ?result "nrc_pkg_24port" ?resultsDir "/path/to/nrc_pkg_24port.s24p")

    The ?result would be the prefix for the file name, and the first argument is of the form "sN,M".

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Mooh
    Mooh 7 days ago in reply to Andrew Beckett

    Thank you so much

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information