Skip to content

Commit

Permalink
Fix delay in pwm
Browse files Browse the repository at this point in the history
  • Loading branch information
upadhyayulakiran committed Dec 10, 2024
1 parent abdca46 commit 42811ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ntt_top/rtl/ntt_masked_pwm.sv
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ module ntt_masked_pwm
//Delay reading addr until after PWM is done to do accumulate
abr_delay_masked_shares #(
.WIDTH(WIDTH),
.N(MASKED_PWM_LATENCY)
.N(MASKED_PWM_LATENCY-1)
) w_delay (
.clk(clk),
.rst_n(reset_n),
Expand Down

0 comments on commit 42811ae

Please sign in to comment.