chore: generator little fix
This commit is contained in:
@ -58,7 +58,7 @@ module generator
|
|||||||
end
|
end
|
||||||
if (enable) begin
|
if (enable) begin
|
||||||
if (!sample_req && (cnt_period == 0)) begin
|
if (!sample_req && (cnt_period == 0)) begin
|
||||||
pulse_height_out_reg <= '0;
|
pulse_height_out_reg <= ZERO_LEVEL;
|
||||||
if (sample_done) begin
|
if (sample_done) begin
|
||||||
sample_req <= 1'b0;
|
sample_req <= 1'b0;
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user