add more debug prints in icache
[soc.git] / src / soc / consts.py
index ff204488e7bd7a8bd8daf055f7d63fa3fddcde30..f7e55f1a11fe3ec9596b77abaaea2217ef7533a4 100644 (file)
@@ -141,6 +141,8 @@ class TT:
     PRIV = 1<<1
     TRAP = 1<<2
     ADDR = 1<<3
-    ILLEG = 1<<4 # currently the max, therefore traptype must be 5 bits
+    EINT = 1<<4  # external interrupt
+    DEC = 1<<5   # decrement counter
+    ILLEG = 1<<6 # currently the max, therefore traptype must be 5 bits
     # TODO: support for TM_BAD_THING (not included yet in trap main_stage.py)
-    size = 5 # MUST update this to contain the full number of Trap Types
+    size = 7 # MUST update this to contain the full number of Trap Types