Skip to content

Commit

Permalink
Update aucohl_lib.v
Browse files Browse the repository at this point in the history
Fixed a bug that prevented a clock divisor of 2.
  • Loading branch information
shalan authored Feb 20, 2024
1 parent 2be2dc9 commit b2e314e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtl/aucohl_lib.v
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ module aucohl_ticker #(parameter W=8) (
else
counter <= counter - 'b1;

assign tick_w = (clk_div == 'b1) ? 1'b1 : counter_is_zero;
assign tick_w = (clk_div == 'b0) ? 1'b1 : counter_is_zero;

always @(posedge clk or negedge rst_n)
if(!rst_n)
Expand Down

0 comments on commit b2e314e

Please sign in to comment.