The parallel decoder documented the layout of the Python output but used
to emit something different (mere data values). Add the bit width of
data items and the bus cycle count for demultiplexed words, to match the
documented layout.
No harm was done, there are no in-tree decoders which stack on top of
the parallel decoder.
txts = [self.fmt_word.format(word)]
self.putg(ss, es, Ann.WORD, txts)
txts = [self.fmt_word.format(word)]
self.putg(ss, es, Ann.WORD, txts)
- self.putpy(ss, es, 'WORD', word)
- # self.putpy(ss, es, 'WORD', (word, bus_width, word_size))
+ self.putpy(ss, es, 'WORD', (word, bus_width, word_size))
if len(items) != word_size:
txts = ['incomplete word size', 'word size', 'ws']
if len(items) != word_size:
txts = ['incomplete word size', 'word size', 'ws']
es = now
txts = [self.fmt_item.format(data)]
self.putg(ss, es, Ann.ITEM, txts)
es = now
txts = [self.fmt_item.format(data)]
self.putg(ss, es, Ann.ITEM, txts)
- self.putpy(ss, es, 'ITEM', data)
- # self.putpy(ss, es, 'ITEM', (data, bus_width))
+ self.putpy(ss, es, 'ITEM', (data, bus_width))
# Optionally queue the currently seen item.
if item is not None:
# Optionally queue the currently seen item.
if item is not None: