• 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. Mixed-Signal Design
  3. Set initial value for inputs/outputs for verilog cells in...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 64
  • Views 3913
  • 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

Set initial value for inputs/outputs for verilog cells in mixed-signal simulation (XCELIUM UNL)

patschouly
patschouly over 4 years ago

Hello,

I'm simulating mixed-signal designs with AMS-UNL. I think my setup is correct, up to now everything is working as expected. However, I'm simulating a prescaler, where I don't care about the phase of the signal. Therefore, the used flip-flops don't have a reset input. This causes the outputs of the prescaler to be not specified. The log tells me:

INFO (VLOGNET-67): The initial state of stimulus of all inout pins is set to "0". To get the
initial state of "z" of all inout pins, set hnlVerilogIOInitStimulusStr =
"z" either in CIW or the .simrc file.

I did that (in the CIW) and it did not change anything. Does the variable has to be set in a certain way? I just did hnlVerilogIOInitStimulusStr = "O" and the log tells me this worked. However, it does not solve my problem. How can I set the initial values of all flip flops to zero/one?

Thank you, kind regards,

Patrick

  • Cancel
  • patschouly
    patschouly over 4 years ago

    To add a little more to this:

    I also tried initial conditions, similar to a pure analog simulation, which did not change anything. I found that xrun understands options such as -initreg0 and -initmem0, which seem like the appropriate options. Still, adding these to the run did not change anything.

    Another option for me would be to add an initial-block with a force and release statement. However, I have no clue on how I would be doing that. Where would I have to add such statements?

    I'm at loss here, I'd very happy if anyone could shed some light on this topic.

    Kind regards,

    Patrick

    • 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