mirror of
https://github.com/MiSTer-devel/EDSAC_MiSTer.git
synced 2026-05-24 03:03:18 +00:00
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
11 lines
160 B
Verilog
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
|