Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion rtl/ibex_cs_registers.sv
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,8 @@ module ibex_cs_registers import ibex_pkg::*, ibex_cheriot_pkg::*; #(
logic [DbgHwBreakNum-1:0] trigger_match;

// Write select
assign tselect_we = csr_we_int & debug_mode_i & (csr_addr_i == CSR_TSELECT);
// tselect is writable from M-mode as well as Debug Mode.
assign tselect_we = csr_we_int & (csr_addr_i == CSR_TSELECT);
for (genvar i = 0; i < DbgHwBreakNum; i++) begin : g_dbg_tmatch_we
assign tmatch_control_we[i] = (i[DbgHwNumLen-1:0] == tselect_q) & csr_we_int & debug_mode_i &
(csr_addr_i == CSR_TDATA1);
Expand Down
Loading