Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20704 Discussions

What is the PRBS sequence

Altera_Forum
Honored Contributor II
1,847 Views

Hi. Could anybody tell me how to re-generate in Matlab/C the same PRBS 7 sequence used in the SIIGX_SI_Kit demos? The polynomial is X^7 + X^6 + 1. Thanks for the help!

0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
688 Views

Is your question specifically how to implement the polynomial? This is typically done using shift registers (which you can fake in C). The exponents in the polynomial indicate which bits get XOR'd with the input bit. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
688 Views

Thank you for the reply. 

 

Before generating the sequence don't I have to know the seed as well? I can't find this information. 

 

I just want to know the exact PRBS generated by the demos
0 Kudos
Altera_Forum
Honored Contributor II
688 Views

Why not look into the code?

0 Kudos
Altera_Forum
Honored Contributor II
688 Views

Altera only provides .sof files. Is it possible to tell from these? Sorry, I am new to all this stuff and there is a lot of things I am just learning.

0 Kudos
Altera_Forum
Honored Contributor II
688 Views

I was assuming, that HDL design files are available for the project. If this isn't the case, you have to find the seed from data analysis. But that's pretty easy, if the polynomial is known.

0 Kudos
Altera_Forum
Honored Contributor II
688 Views

the PRBS sequence that you need is for single bus line? if this is the case, then you can set your seed to be 7'b1111111.

0 Kudos
Altera_Forum
Honored Contributor II
688 Views

Can any1 help wiz generating PRBS in Matlab 7.0?

0 Kudos
Reply