Remove util_sync_reset
The util_sync_reset peripheral hasn't been used in a while and will not be used in new projects. So remove it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
fd7a423f74
commit
ae26c7817e
|
@ -1,22 +0,0 @@
|
|||
|
||||
module util_sync_reset (
|
||||
input async_resetn,
|
||||
input clk,
|
||||
output sync_resetn
|
||||
);
|
||||
|
||||
// Keep it asserted for three clock cycles
|
||||
reg [2:0] resetn = 3'b000;
|
||||
|
||||
assign sync_resetn = resetn[2];
|
||||
|
||||
always @(posedge clk or negedge async_resetn) begin
|
||||
if (async_resetn == 1'b0) begin
|
||||
resetn <= 3'b000;
|
||||
end else begin
|
||||
resetn <= {resetn[1:0], 1'b1};
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
endmodule
|
|
@ -1,13 +0,0 @@
|
|||
# ip
|
||||
|
||||
source ../scripts/adi_env.tcl
|
||||
source $ad_hdl_dir/library/scripts/adi_ip.tcl
|
||||
|
||||
adi_ip_create util_sync_reset
|
||||
adi_ip_files util_sync_reset [list \
|
||||
"util_sync_reset.v" ]
|
||||
|
||||
adi_ip_properties_lite util_sync_reset
|
||||
|
||||
ipx::save_core [ipx::current_core]
|
||||
|
Loading…
Reference in New Issue