• 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. interleaving buses

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 125
  • Views 13798
  • 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

interleaving buses

AlbertoGS
AlbertoGS over 9 years ago

Hello,

I would like to interleave several buses.


Take the buses

A<0:1>, B<0:1>


I would like to have the output:

A<0>,B<0>,A<1>,B<1>


The buses I intend to interleave are much bigger so the explicit notation is not feasible


I had a look at the Schematic Editor User Guide but I don't seem to find how to do it. Is there anyway to do this without resoting to use a verilogA module?

Many thanks

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    You don't need to use VerilogA (I'm not sure how that would help anyway), but there's a previous thread on this topic where I referenced an enhancement request for a similar idea, plus showed some SKILL how to build the expression for you (you'd have to adapt it to suit your needs).

    Regards,

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AlbertoGS
    AlbertoGS over 9 years ago

    Hi Andrew,

    Thanks for your help. I was planning using a verilogA module with a for loop that uses the loop index (genvar) as argument of a case statement (loop index modulo of the number of buses to interleave) in which the concurrent assignments are done.

    I ll have a look at your SKILL code, although explicitly writing 512*16 wire names seems not ideal

    • 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