• 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. Reading input/data file

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 4041
  • 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

Reading input/data file

EveBell
EveBell over 14 years ago

Hi!

I've built a 32 bit floating point adder schematic and I'd like to read different floating point numbers (around 100  32 bit words where each bit is vdc=1 or 0)  in during a simulation. What is the best way to accomplish it?

Any insight will be helpful.

 

Thank you!

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    You didn't say which simulator you're using, or which version. If spectre then you can specify digital inputs using a vector file (see "spectre -h vector"), which in IC61 is available under Setup->Simulation Files. In IC5141 you'd have to do it via an include file, which then does a vector include.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • EveBell
    EveBell over 14 years ago

    Thank you Andrew! I'm using IC5141. Please excuse me, but I'm very new to Cadence.Therefore some of my question my seem very fundamental, but I really need some input. When you say see"spectre -h vector" where do I do that? Also, how do I use an include file? Should I create a data file in Cadence that include my numbers? If so, what language do I use? Or can I import from a data file that is not in Cadence? And if so, how do I do that? Again, thank you!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    You would type "spectre -h vector" in a UNIX terminal. Alternatively look at the documentation in cdsdoc.

    If you want to have an include file, you'd create a file called (say) incvector.scs with the contents:

    vec_include "vector_filename" 

    The details of the vector file itself are covered in more detail in (I think) the Ultrasim User Guide (check <MMSIMinstDir>/doc/UltraSim_User/UltraSim_User.pdf or use cdsdoc/cdnshelp depending on the simulator version you're using).

    To reference the include file, use Setup->Model Library and then add the path to the incvector.scs file.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • EveBell
    EveBell over 14 years ago

    Hi Andrew.

    Thanks for your assistance. Is there anyway that I can include a digital vector file in a verilog netlist file?

    Again, Thx.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 14 years ago

    I think (not really my field) you could use the "ncgentb" command to create a testbench from a VCD file. Probably a better question for one of the more functional verificaton/digital forums or for customer support.

    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