This repository has been archived on 2023-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
Arkanoid2PDE1/ClockDivider.v
Kirill Kirilenko baf891d878 Version 1.0 released.
Implemented features: ball moving, platform moving, showing scores on digital table, game reset.
2012-05-28 19:06:42 +04:00

14 lines
196 B
Verilog

module ClockDivider (clk50MHz, clk25MHz);
input clk50MHz;
output clk25MHz;
reg clk25MHz_;
always @ (posedge clk50MHz)
begin
clk25MHz_ = ~clk25MHz_;
end
assign clk25MHz = clk25MHz_;
endmodule