Files
EDSAC_MiSTer/rtl/lfsr.v
birdybro cbd9d1d69b Fix naming scheme and file structure
Matched the file naming scheme and file structure to that of the other repos for cores, so as to fix an issue with scripts that require specific names.

https://github.com/MiSTer-devel/Updater_script_MiSTer/issues/59#issuecomment-781639064
2021-02-21 10:52:10 -07:00

11 lines
160 B
Verilog

module random (
input clock,
output reg [30:0] lfsr
);
always @(posedge clock) begin
lfsr <= {lfsr[29:0], lfsr[30] ^~ lfsr[27]};
end
endmodule