From ab9b09bb5989c324d71cffff85edd81a1cd3c290 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 11 Mar 2024 09:48:27 -0700 Subject: [PATCH] In Sdtrig, XLEN refers to the current mode. Not just M-Mode and D-Mode. --- xml/hwbp_registers.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/hwbp_registers.xml b/xml/hwbp_registers.xml index 759a9c61..ec3dedd1 100755 --- a/xml/hwbp_registers.xml +++ b/xml/hwbp_registers.xml @@ -13,8 +13,8 @@ same project unless stated otherwise. and Debug Mode to prevent untrusted user code from causing entry into Debug Mode without the OS's permission. - In this section XLEN means MXLEN when in M-mode, and DXLEN when in Debug - Mode. On systems where those values of XLEN can differ, this is handled + In this section XLEN refers to the effective XLEN in the current execution + mode. On systems where XLEN values can differ between modes, this is handled as follows. Fields retain their values regardless of XLEN, which only affects where in the register these fields appear (e.g. {tdata1-type}). Some fields