• 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. Simulating 4 bit sequence in one simulation

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 14104
  • 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

Simulating 4 bit sequence in one simulation

sidm
sidm over 4 years ago

Hi All,

I am simulating a setup with AC analysis and need to vary 4 bits. As of now I am changing the signal bits one at a time to go through all the 16 possible combinations and simulating the setup after each sequence of the bit followed by plotting the voltage at the output node.

Is there a way I can simulate all the 16 combinations of the 4 signal bits in one simulation and get the voltage plot on the output node for all the 16 bit sequences ?

I am using ADE-L and IC 6.1.8

Thanks

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 4 years ago

    You could simply have four voltage sources on each of the signal bits, and create a variable for each. Then in the Tools->Parametric Analysis (if you insist on using the old ADE L) or in the design variables themselves in ADE Explorer, you could set each to sweep the two value 0 and 1.2 (or whatever the high voltage is) and then you'd end up with 4 nested sweeps of two value giving you 16 combinations total.

    Or you could use the bussetp component from Creating a component that allows setting a value on a bus in an analog simulation and then put a single design variable on that and sweep that (via parametric analysis or ADE Explorer sweep) from 0 to 15 in steps of 1.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • sidm
    sidm over 4 years ago in reply to Andrew Beckett

    thank you very much for the reply Andrew ,

    I am using a port for the 4 bit input signal in the schematic and 'don't have voltage source for this 4 bit signal .This port drives the net d_en_hv<0:3>

    In the ADE-L i am setting the stimuli on these 4 bits as shown below :

    Do I still need to use separate voltage sources for all the 4 bit variation ?

    thanks

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to sidm

    Yes, you can do this with the old ADE L stimulus editor. Rather than setting them all to 1.8, set them to en_hv_0, en_hv_1 etc (i.e. a variable name unique for each bit), and then in the Variables->Edit create four variables called en_hv_0, en_hv_1 etc, with values of 1.8. Then you can sweep each of these four variables from 0 to 1.8, set the Step Mode to Auto and the Total Steps to 2 (other ways would achieve the same thing).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 4 years ago in reply to sidm

    Yes, you can do this with the old ADE L stimulus editor. Rather than setting them all to 1.8, set them to en_hv_0, en_hv_1 etc (i.e. a variable name unique for each bit), and then in the Variables->Edit create four variables called en_hv_0, en_hv_1 etc, with values of 1.8. Then you can sweep each of these four variables from 0 to 1.8, set the Step Mode to Auto and the Total Steps to 2 (other ways would achieve the same thing).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • sidm
    sidm over 4 years ago in reply to Andrew Beckett

    Thank you very much 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