• 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. 2^31-1 PBRS Generator

Stats

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

2^31-1 PBRS Generator

growingmind
growingmind over 7 years ago

Hello,

I am looking for Verilog - A Code for 2^31-1 PBRS Generator in Cadence.

The Rand Bit Stream only generates, from what I know, a 2^7 sequence.

I set the seed to 512 in order to enable this.

Is it possible to generate 2^31-1 with rand bit stream in the ahdlLib part of Cadence ?

Can anyone advise if I am incorrect ?

Thank you.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 7 years ago

    The rand_bit_stream is not a PRBS source. It uses a pseudo-random number generator, $random, in the model, but this is not a fixed sequence - in fact I don't believe it should have a sequence (certainly not one that is a power of 2).

    We do however have the ability to use the vsource in analogLib and set the source type to prbs. If you do this, you can control the tap coefficients - essentially just as you would generate a PRBS if you were constructing one from logic gates. Or you can pick a predefined set (e.g. PN31). Some info can be found in this wikipedia article.

    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