random config tests

This commit is contained in:
Zer0Nu11
2026-06-09 16:32:08 +03:00
parent ccd9964ada
commit c9aa2cde0f
2 changed files with 100 additions and 5 deletions

View File

@ -68,10 +68,10 @@ module generator
dac_out <= pulse_height_reg;
else
dac_out <= ZERO_LEVEL;
cnt_pulse_period <= cnt_pulse_period + 1;
cnt_pulse_period++;
end
else if (cnt_pulse_period == pulse_period_reg) begin
cnt_pulse_num <= cnt_pulse_num + 1;
cnt_pulse_num++;
cnt_pulse_period <= 0;
synced <= 0;
dac_out <= ZERO_LEVEL;