diff options
Diffstat (limited to 'decoders')
-rw-r--r-- | decoders/jtag_ejtag/pd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/decoders/jtag_ejtag/pd.py b/decoders/jtag_ejtag/pd.py index e2bf0a5..191526b 100644 --- a/decoders/jtag_ejtag/pd.py +++ b/decoders/jtag_ejtag/pd.py @@ -18,7 +18,7 @@ ## import sigrokdecode as srd -from common.srdhelper import bin2int +from common.srdhelper import bin2int, SrdIntEnum class Instruction(object): IDCODE = 0x01 @@ -53,7 +53,7 @@ class ControlReg(object): PRACC = (1 << 18) PRNW = (1 << 19) -class Ann(object): +class Ann(SrdIntEnum): INSTRUCTION = 0 REGISTER = 1 CONTROL_FIELD_IN = 10 |