Hi 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