fix: encoding issues, generator explicit default state

This commit is contained in:
2026-07-17 15:21:49 +03:00
parent 4240604f26
commit 04eb927a25
2 changed files with 61 additions and 56 deletions

View File

@ -27,6 +27,14 @@ module generator
logic enable, synced;
initial begin
cnt_pulse_period = '0;
cnt_pulse_num = '0;
enable = 0;
synced = 0;
dac_out = ZERO_LEVEL;
end
always @(posedge clk_dac) begin
if (rst) begin
pulse_height_reg <= ZERO_LEVEL;