Ferfil
Newbie level 4
- Joined
- Sep 27, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 57
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 module LFSR( input clk, output reg [15:0] LFSR = 65535 ); always @(posedge clk) begin LFSR[0] <= LFSR[0] ^ LFSR[13] ^ LFSR[14] ^ LFSR[15]; LFSR[15:1] <= LFSR[14:0]; end endmodule
- - - Updated - - -
please also help me with the testbench. thanks
Last edited by a moderator: