Add more specificity to stickybit conditional class

This commit is contained in:
Alex Mykyta
2025-03-06 21:24:49 -08:00
parent 40687abd6b
commit c53b11cf28

View File

@@ -41,6 +41,7 @@ class Stickybit(NextStateConditional):
return (
field.is_hw_writable
and field.get_property('stickybit')
and field.get_property('intr type') in {None, InterruptType.level}
)
def get_predicate(self, field: 'FieldNode') -> str: