Skip to content

Commit

Permalink
Update user_proj_example.v
Browse files Browse the repository at this point in the history
style - keep all the constants in the same style with prepended width and type.
  • Loading branch information
mattvenn authored Oct 17, 2023
1 parent c913b37 commit 0854e4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions verilog/rtl/user_proj_example.v
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,12 @@ module counter #(

always @(posedge clk) begin
if (reset) begin
count <= 0;
ready <= 0;
count <= 1'b0;
ready <= 1'b0;
end else begin
ready <= 1'b0;
if (~|la_write) begin
count <= count + 1;
count <= count + 1'b1;
end
if (valid && !ready) begin
ready <= 1'b1;
Expand Down

0 comments on commit 0854e4d

Please sign in to comment.