Altera_Forum
Honored Contributor
9 years agoPseudo Random Bit Sequence Verilog
Hi,
I want to send a pseudo random bit sequence down a sfp+ port on my Stratix V fpga. Unfortunately I am unfamiliar with verilog. Can anyone help me with this or point me to the right resources? Thanks! UPDATE: I managed to compile this code. How can I test to see if it is doing what I want (ex. can I print the bit sequence somewhere?) module bit_generator(CLOCK_50, SFP); input CLOCK_50; output SFP; reg [6:0]d; always@(posedge CLOCK_50) begin d <= { d[5:0], d[6] ^ d[5] }; end endmodule