Skip to content

Commit

Permalink
xilinx: Fix cheshire_xilinx_top when USE_RESETN is undefined, wire sy…
Browse files Browse the repository at this point in the history
…s_resetn is used but not declared.
  • Loading branch information
Aquaticfuller committed Dec 4, 2024
1 parent eebce84 commit fdbeab2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target/xilinx/src/cheshire_top_xilinx.sv
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@ module cheshire_top_xilinx import cheshire_pkg::*; (
assign vio_boot_mode_sel = '0;
`endif

`ifdef USE_RESET
assign sys_rst = sys_reset | vio_reset;
`elsif USE_RESETN
assign sys_rst = ~sys_resetn | vio_reset;
`endif
assign boot_mode = vio_boot_mode_sel ? vio_boot_mode : boot_mode_i;

//////////////////
Expand Down

0 comments on commit fdbeab2

Please sign in to comment.