Skip to content

Commit

Permalink
parallel: recent PD implementation flushes last samples upon EOF
Browse files Browse the repository at this point in the history
Catch up with the implementation of the "parallel" decoder, which now
flushes previously accumulated information when the end of input data
is seen. Which completes the last "item" (data pattern on the bus), and
may complete another "word" (data value that spans several bus cycles).
  • Loading branch information
gsigh committed Oct 3, 2022
1 parent 12f978c commit bcfa07e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions decoder/test/parallel/hd44780_word_demux.output
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,5 @@
14367902-14567897 parallel: item: "0"
14267907-14567897 parallel: word: "30"
14567897-14667893 parallel: item: "3"
14667893-15824176 parallel: item: "0"
14567897-15824176 parallel: word: "30"
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_long_clock.output
Original file line number Diff line number Diff line change
Expand Up @@ -4997,3 +4997,4 @@
9993-9995 parallel: item: "09"
9995-9997 parallel: item: "0b"
9997-9999 parallel: item: "0d"
9999-10000 parallel: item: "0f"
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_long_clock.python
Original file line number Diff line number Diff line change
Expand Up @@ -4997,3 +4997,4 @@
9993-9995 parallel: ['ITEM', (9, 8)]
9995-9997 parallel: ['ITEM', (11, 8)]
9997-9999 parallel: ['ITEM', (13, 8)]
9999-10000 parallel: ['ITEM', (15, 8)]
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_long_noclock.output
Original file line number Diff line number Diff line change
Expand Up @@ -9997,3 +9997,4 @@
9996-9997 parallel: item: "0c"
9997-9998 parallel: item: "0d"
9998-9999 parallel: item: "0e"
9999-10000 parallel: item: "0f"
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_long_noclock.python
Original file line number Diff line number Diff line change
Expand Up @@ -9997,3 +9997,4 @@
9996-9997 parallel: ['ITEM', (12, 8)]
9997-9998 parallel: ['ITEM', (13, 8)]
9998-9999 parallel: ['ITEM', (14, 8)]
9999-10000 parallel: ['ITEM', (15, 8)]
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_short_clock.output
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
3-5 parallel: item: "03"
5-7 parallel: item: "05"
7-9 parallel: item: "07"
9-10 parallel: item: "09"
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_short_clock.python
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
3-5 parallel: ['ITEM', (3, 8)]
5-7 parallel: ['ITEM', (5, 8)]
7-9 parallel: ['ITEM', (7, 8)]
9-10 parallel: ['ITEM', (9, 8)]
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_short_noclock.output
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
6-7 parallel: item: "06"
7-8 parallel: item: "07"
8-9 parallel: item: "08"
9-10 parallel: item: "09"
1 change: 1 addition & 0 deletions decoder/test/parallel/incremental_8ch_short_noclock.python
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
6-7 parallel: ['ITEM', (6, 8)]
7-8 parallel: ['ITEM', (7, 8)]
8-9 parallel: ['ITEM', (8, 8)]
9-10 parallel: ['ITEM', (9, 8)]

0 comments on commit bcfa07e

Please sign in to comment.