chore: generator little fix

This commit is contained in:
otroubi
2026-05-15 13:47:08 +03:00
parent 9efbd6586f
commit 51d715a728

View File

@ -58,7 +58,7 @@ module generator
end
if (enable) begin
if (!sample_req && (cnt_period == 0)) begin
pulse_height_out_reg <= '0;
pulse_height_out_reg <= ZERO_LEVEL;
if (sample_done) begin
sample_req <= 1'b0;
end