chore: generator and sampler brushed
This commit is contained in:
@ -35,7 +35,8 @@ module generator
|
||||
start_d <= start;
|
||||
end
|
||||
|
||||
wire start_pulse = start & ~start_d;
|
||||
wire start_pulse;
|
||||
assign start_pulse = start & ~start_d;
|
||||
|
||||
|
||||
always @(posedge clk_in) begin
|
||||
@ -53,11 +54,6 @@ module generator
|
||||
end else begin
|
||||
if (start) begin
|
||||
enable <= 1'b1;
|
||||
// pulse_width_reg <= pulse_width;
|
||||
// pulse_period_reg <= pulse_period;
|
||||
// pulse_num_reg <= pulse_num;
|
||||
// pulse_height_reg <= pulse_height;
|
||||
|
||||
cnt_pulse_num <= '0;
|
||||
cnt_period <= '0;
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user