Skip to content

Commit

Permalink
Fixed two syntax errors per PR #20 from Mostafa Rady (except that
Browse files Browse the repository at this point in the history
the pull request contains too many other changes, so I'm just
doing this one by hand).
  • Loading branch information
RTimothyEdwards committed Aug 28, 2023
1 parent 00f80bf commit 650c066
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion verilog/rtl/counter_timer_high.v
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ reg stop_out_delayed;
always @(posedge clkin or negedge resetn)
if (resetn == 1'b0)
stop_out_delayed <= 0;
else:
else
stop_out_delayed <= stop_out;
// When acting as the high 32 bit word of a 64-bit chained counter:
//
Expand Down
2 changes: 1 addition & 1 deletion verilog/rtl/counter_timer_low.v
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ reg stop_out_delayed;
always @(posedge clkin or negedge resetn)
if (resetn == 1'b0)
stop_out_delayed <= 0;
else:
else
stop_out_delayed <= stop_out;
// When acting as low 32-bit word of a 64-bit chained counter:
// It sets the output strobe on the stop condition, one cycle early.
Expand Down

0 comments on commit 650c066

Please sign in to comment.