• 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. Logic Design
  3. Reg .VCD file generation

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 63
  • Views 21286
  • 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

Reg .VCD file generation

Music
Music over 15 years ago

Hi,

 

   I need to run power analysis . so i need  .vcd file. So can any ione say how to generate a .vcd file. I have model sim, Xilix, RC compiler , SoC Encpunter 8.1 . From these can i generate a .vcd file if so let me know the steps pla.. i have lib, lef , sdc, sdf.etc file swith me.. plz help me.. i need some steps....i asked in digital forum they requested me to post here... i.e in this forum...

  • Cancel
  • grasshopper
    grasshopper over 15 years ago

    Please read the following link

    http://newsgroups.derkeiler.com/Archive/Comp/comp.lang.vhdl/2008-02/msg00165.html

    Seems like a reasonable explanation and probably better than anything I can provide since I do not have access to modelsim. Once you have the vcd file you can use it across the rest of the tools you mention. It is probably best to read the vcd into RC and generate a TCF to use for the rest of the tools. TCF runs faster in the end since it only contains the toggle activity

    hope this helps,

    gh-

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Music
    Music over 15 years ago

     I saw your url and it was different andi couldnt get ehat i need.. i need the whole procedure to generate a vcd file either from rtl compiler or xilinx or modelsim... please help me this issue ir related to my thesis ....

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TAM1
    TAM1 over 15 years ago

    I realize that it is frustrating when everyone tells you to look somewhere else. But I can't tell you how to create a VCD file here if you are using Modelsim to simulation your netlist. This is a Cadence user's forum. If you were using Cadence's NC-Verilog or NCVHDL, you would create a VCD file using a TCL command on the simulator's interface.

     

    database -open -vcd testpatterns.vcd
    probe -all -depth all

     

    But I wouldn't know what commands you would use in Modelsim, since it is produced by another company.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Music
    Music over 15 years ago
    Thanks TAM1, Basically i need to calculate the power analysis in SoC Encounter. So for it i need a vcd file. Basically i have my design.v, design_testbench.v, design.sdf, .lib files, .lef files , design.sdf files that i obtained from rtl compiler. I have Model sim, xilinx and cadence encounter with me. I dnt have NC-Verilog , So i dnt use any commands for model sim i just go with gui options. But Is there a chance for me to get vcd file with my availlable options. If soo please give me the procedure or steps to get a .vcd file. If u know cadence encounter please say me how ot get power analysis in SoC Encounter 8.1.... Awaiting for your reply, Music....
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • grasshopper
    grasshopper over 15 years ago

    As TAM1 mentioned, your simulator is the tool responsible for generating the VCD, and in your case it is not one produced by Cadence or that I am familiar with all its switches and options. I tried forwarding a link showing how this is done using modelsim but it sounds like that link may have been missing some of the information you need based on your response. I suggest you contact your Mentor AE or Mentor forum for help on modelsim. As per the other tools, you have everything you need and all of them will simply read the VCD file generated with modelsim. The documentation has detailed information on how to do that.

    good luck,

    gh-

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • geezmaneti
    geezmaneti over 12 years ago

    TAM1, i know it's been a while for this thread but i'm hoping this will make it to you. I'm using Spectre from within Cadence and want to write out a .vcd file. Is this possible? I saw your tcl commands above, but i'm not even sure where i would input these and i'm not certain that Spectre has a tcl interface.

    Thanks 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • TAM1
    TAM1 over 12 years ago

    Yes. You simply need to create a TCL file with the commands I mentioned above.

    database -open -vcd testpatterns.vcd
    probe -all -depth all

    Now, if you were running the simulator yourself from the command line, you would use an option like "-input myfile.tcl" to tell the simulator to read and execute that script file.

    I'm afraid that I don't know how Spectre interacts with the simulator, but I imagine there is a field or option that you can set that would pass that TCL script to the simulator. You'll have to get info about that from the docs or someone else who knows Spectre.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • nannasin28
    nannasin28 over 12 years ago
    TCF runs faster in the end since it only contains the toggle activity..
    2N3055
    • 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