From f13369fb883d0a231b8dd01856dc18f7ee22d5c9 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 6 May 2024 20:43:24 -0600 Subject: platform/wavelet3d: add platform interconnect --- rtl/if_common/if_rst_sync.sv | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 rtl/if_common/if_rst_sync.sv (limited to 'rtl/if_common/if_rst_sync.sv') diff --git a/rtl/if_common/if_rst_sync.sv b/rtl/if_common/if_rst_sync.sv new file mode 100644 index 0000000..69f1b78 --- /dev/null +++ b/rtl/if_common/if_rst_sync.sv @@ -0,0 +1,13 @@ +//FIXME: peligro +module if_rst_sync +( + input logic clk, + rst_n, + + output logic srst_n +); + + always_ff @(posedge clk or negedge rst_n) + srst_n <= ~rst_n ? 0 : 1; + +endmodule -- cgit v1.2.3