summaryrefslogtreecommitdiff
path: root/decoders/jtag_ejtag
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/jtag_ejtag')
-rw-r--r--decoders/jtag_ejtag/pd.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/decoders/jtag_ejtag/pd.py b/decoders/jtag_ejtag/pd.py
index ba5db2a..e327e89 100644
--- a/decoders/jtag_ejtag/pd.py
+++ b/decoders/jtag_ejtag/pd.py
@@ -247,14 +247,14 @@ class Decoder(srd.Decoder):
s += 'Store' if pracc_write else 'Load/Fetch'
if pracc_write:
- if self.pracc_state.address_out != None:
+ if self.pracc_state.address_out is not None:
s += ', A:' + ' 0x{:08X}'.format(self.pracc_state.address_out)
- if self.pracc_state.data_out != None:
+ if self.pracc_state.data_out is not None:
s += ', D:' + ' 0x{:08X}'.format(self.pracc_state.data_out)
else:
- if self.pracc_state.address_out != None:
+ if self.pracc_state.address_out is not None:
s += ', A:' + ' 0x{:08X}'.format(self.pracc_state.address_out)
- if self.pracc_state.data_in != None:
+ if self.pracc_state.data_in is not None:
s += ', D:' + ' 0x{:08X}'.format(self.pracc_state.data_in)
self.pracc_state.reset()