Skip to content

Commit 9df5811

Browse files
Aquaticfullerpaulsc96
authored andcommitted
xilinx: Use reset signal corresponding to input polarity in sys_rst
1 parent 44fb98a commit 9df5811

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

target/xilinx/src/cheshire_top_xilinx.sv

+4
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,11 @@ module cheshire_top_xilinx import cheshire_pkg::*; (
173173
assign vio_boot_mode_sel = '0;
174174
`endif
175175

176+
`ifdef USE_RESET
177+
assign sys_rst = sys_reset | vio_reset;
178+
`elsif USE_RESETN
176179
assign sys_rst = ~sys_resetn | vio_reset;
180+
`endif
177181
assign boot_mode = vio_boot_mode_sel ? vio_boot_mode : boot_mode_i;
178182

179183
//////////////////

0 commit comments

Comments
 (0)