blob: e6077b690c209d9fa1a1dcded4f6d1ab53d05ca0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//FIXME: peligro
module if_rst_sync
(
input logic clk,
rst_n,
output logic srst_n
);
always_ff @(posedge clk or negedge rst_n)
if (~rst_n)
srst_n <= 0;
else
srst_n <= 1;
endmodule
|