def increment_insn_cnt(self) -> None:
    'Increment the INSN_CNT register'
    reg = self._get_reg('INSN_CNT')
    assert (len(reg.fields) == 1)
    fld = reg.fields[0]
    reg.write(min((fld.value + 1), ((1 << 32) - 1)), True)
    self._dirty = 2
Increment the INSN_CNT register
def increment_insn_cnt(self) -> None:
    
    reg = self._get_reg('INSN_CNT')
    assert (len(reg.fields) == 1)
    fld = reg.fields[0]
    reg.write(min((fld.value + 1), ((1 << 32) - 1)), True)
    self._dirty = 2