module top_module (
input clk,
input reset,
output [9:0] q);
always_ff@(posedge clk) begin
if(reset || q == 999) begin
q <= 10'd0;
end
else begin
q <= q + 10'd1;
end
end
endmodule
wlister
Follow
🕘
rising edge of the clock
Popular repositories Loading
-
-
-
-
-
NotAnotherAnimeTheme
NotAnotherAnimeTheme PublicForked from puckzxz/NotAnotherAnimeTheme
(forked) A easily customizable and automatically updating theme for Discord
CSS
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.