• 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. Import Data to Cadence

Stats

  • Locked Locked
  • Replies 7
  • Subscribers 127
  • Views 21781
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Import Data to Cadence

Julinshah
Julinshah over 10 years ago

Hello,

How can I import data file in to the cadence(.csv file)?

I am using Virtuoso spectre and I am doing transient analysis.

I am suppose to take input from matlab and that output file from matlab is generated in .csv file.

Thank you.

Julin

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 10 years ago

    If you have a file with two columns, time and value, you could use a vsource or isource from analogLib with the type set to "pwl" and the input from the specified file, and generate a piece-wise-linear input that way.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Rtookl
    Rtookl over 9 years ago
    Hello,

    This is perfect for transient, but what about other data like phase noise? Is there any way to import them into results brower?

    Regards,
    Armin
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    The port and vsource components in analogLib allow you to specify a noise file as SSB phase noise (versus frequency) pairs; this can then be used in an hbnoise/pnoise simulation. Is that what you want?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Rtookl
    Rtookl over 9 years ago
    Hello Andrew,

    Can it also be in CSV format? I tried with a simple two-column CSV file and it failed (first collumn frequenyc, second collomn phase noise). Is there a specific arrangement that is readable for Pnoise?

    Actually, I am more interested in plotting my measurements on top of my simulation results. The most common form of data that I measure/simulate are usually sweeps, like measured IMD, HD, PN vs some sweeping parameter like gain, bias, etc. I cannot think of any way to use a file-reading source to generate plots out of these measured results in CSV format. Is there something I can do with calculator maybe?

    Regards,
    Armin
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Hi Armin,

    The file needs to be space separated, not comma-separated. Presumably you could edit the file.

    If you want to just plot the measurements on top of your simulation results, use the getAsciiWave function in the calculator to read the file (this will cope with CSV). Then use Right Mouse->Allow Any Units over the x-axis and y-axis of your simulated phase noise graph, and then you'll be able to plot the getAsciiWave results on the same graph. This way you don't need to read the file into the simulation.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Lyrad
    Lyrad over 3 years ago in reply to Andrew Beckett

    i don't have a lot of experience with Virtuoso spectre and i am facing the same difficulty. i want to create a Vsource having a gaussian distribution by varying the temperature. Could please tell me how to do it.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 3 years ago in reply to Lyrad
    Lyrad said:
    i don't have a lot of experience with Virtuoso spectre and i am facing the same difficulty. i want to create a Vsource having a gaussian distribution by varying the temperature. Could please tell me how to do it.

    First of all, please read the Guidelines for the Custom IC Design Forum - you've posted in the middle of a 7 year old thread (which the guidelines ask you not to do), without any version information (again, read the guidelines).

    However, I simply don't understand what you mean. This doesn't appear to be the same problem - what does a "vsource having a Gaussian distribution by varying the temperature" mean? I've no idea what you're asking for - so create a new post with clear details describing your objective, what you've tried and which software versions you're using.

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • 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.

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

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