random config tests
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user