0x84: ['WREN', 4, lambda _: ''],
0x85: ['RCL', 5, lambda _: ''],
0x86: ['READ', 6, lambda v: '0x%x' % v],
- 0x87: ['READ', 7, lambda v: '0x%x' % v],
+ 0x87: ['READ', 6, lambda v: '0x%x' % v],
+ # 0x86/0x87 are both valid READ commands (bit 0 is "don't care").
}
class Decoder(srd.Decoder):
desc = 'Xicor X2444M/P nonvolatile static RAM protocol.'
license = 'gplv2+'
inputs = ['spi']
- outputs = ['x2444m']
+ outputs = []
+ tags = ['IC', 'Memory']
annotations = (
('wrds', 'Write disable'),
('sto', 'Store RAM data in EEPROM'),
('wren', 'Write enable'),
('rcl', 'Recall EEPROM data into RAM'),
('read', 'Data read from RAM'),
- ('read', 'Data read from RAM'),
)
def __init__(self):