Forum Discussion
Altera_Forum
Honored Contributor
14 years agoPRBS transceiver
Hi, I am using cyclone 4 device and trying to integrate the hard IP transceiver into my design. I would like to have a PRBS pattern generator - verifier which can be enabled/disabled. In case...
Altera_Forum
Honored Contributor
14 years agoHi Dave
I have downloaded the PRBS code from http://www.ovro.caltech.edu/~dwh/cor...torial_src.zip (http://www.ovro.caltech.edu/%7edwh/correlator/pdf/lfsr_tutorial_src.zip) Inside the src folder there is a module named lfsr.vhd In that you are using if generate statement Can i know what this infer in hardware does it infer a mux for --- Quote Start --- d and data as shown below --- Quote End --- or will it select g1 or g2 for synthesis at run time and discards the other --- Quote Start --- -- ----------------------------------------------------------- g1: if (INVERT) generate d <= not seed; data <= not q; end generate; g2: if (not INVERT) generate d <= seed; data <= q; end generate; --- Quote End --- also you used the same approach for selecting Galois and Fibonacci