mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-17 20:02:53 +08:00
Removing reset
This commit is contained in:
parent
95c4f8f029
commit
85cc46567a
@ -20,11 +20,8 @@ module pulse_stretcher (/*AUTOARG*/
|
||||
reg [DW-1:0] wide_pulse;
|
||||
|
||||
|
||||
always @ (posedge clk or posedge reset)
|
||||
if(reset)
|
||||
wide_pulse[DW-1:0] <= 'b0;
|
||||
else
|
||||
wide_pulse[DW-1:0] <= {wide_pulse[DW-2:0],in};
|
||||
always @ (posedge clk)
|
||||
wide_pulse[DW-1:0] <= {wide_pulse[DW-2:0],in};
|
||||
|
||||
assign out = (|{wide_pulse[DW-1:0],in});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user