diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-06 20:43:24 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-06 20:43:24 -0600 |
| commit | f13369fb883d0a231b8dd01856dc18f7ee22d5c9 (patch) | |
| tree | 1dfacaf4e80a532e52586fa7e63563f20d832228 /rtl/if_common/if_rst_sync.sv | |
| parent | 492241990c66a8cc7e1ed464ab6e8a58df151054 (diff) | |
platform/wavelet3d: add platform interconnect
Diffstat (limited to 'rtl/if_common/if_rst_sync.sv')
| -rw-r--r-- | rtl/if_common/if_rst_sync.sv | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
