• 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. Functional Verification
  3. How to preload a memory in a design using Tcl scripts in...

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 65
  • Views 15846
  • 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

How to preload a memory in a design using Tcl scripts in NCSIM

Arrun
Arrun over 14 years ago

I have to verify DMA transfer between two memories present in my design. For example consider there is L1 & L2 cache memories are present in the design. I have transfer 100KB (kilobytes) of data from L1 to L2 by configuring DMA.

 For the above scenario i have to preload the L1 memory so that simulation time can be reduced otherwise if i write from test cases using DSP it will take so much time to write 100 kilobytes to L1.

We are using Cadence NCSIM for simulation. Is there any option present in NCSIM to preload the memory using some Tcl scripts.

 Expecting for some good reply

  • Cancel
Parents
  • tpylant
    tpylant over 14 years ago

    The TCL memory command loads a Verilog or VHDL memory from a memory file or dumps the contents of a specified memory object to a specified memory file. The command has two modifiers: -load and -dump.

    ParagraphBullet
    Use the -load modifier to load memory from a memory file.
    ParagraphBullet
    Use the -dump modifier to dump the contents of memory to a memory file.

    Check out the Incisive Simulator Tcl Command Reference for more information about the command and file syntax.

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • tpylant
    tpylant over 14 years ago

    The TCL memory command loads a Verilog or VHDL memory from a memory file or dumps the contents of a specified memory object to a specified memory file. The command has two modifiers: -load and -dump.

    ParagraphBullet
    Use the -load modifier to load memory from a memory file.
    ParagraphBullet
    Use the -dump modifier to dump the contents of memory to a memory file.

    Check out the Incisive Simulator Tcl Command Reference for more information about the command and file syntax.

    Tim

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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