From: Uwe Hermann Date: Wed, 1 Jan 2020 17:16:25 +0000 (+0100) Subject: ac97: Add binary output test-cases. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=af629c85ab2f1eaffafbfe292cb7a97279ad5fc9;p=sigrok-test.git ac97: Add binary output test-cases. --- diff --git a/decoder/test/ac97/alc655_snippet2.bin_frame_in b/decoder/test/ac97/alc655_snippet2.bin_frame_in new file mode 100644 index 0000000..b9440f6 --- /dev/null +++ b/decoder/test/ac97/alc655_snippet2.bin_frame_in @@ -0,0 +1,9 @@ +388-1430 ac97: 98 00 00 00 00 00 00 00 30 00 03 1c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +1430-2472 ac97: 98 00 00 00 00 00 00 00 31 80 03 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +2472-3514 ac97: 98 00 00 00 00 00 00 00 30 00 03 14 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +3514-4556 ac97: 98 00 00 00 00 00 00 00 30 c0 03 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +4556-5598 ac97: 98 00 00 00 00 00 00 00 30 c0 03 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +5598-6640 ac97: 98 00 00 00 00 00 00 00 2e 00 03 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +6640-7682 ac97: 98 00 00 00 00 00 00 00 31 80 03 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +7682-8723 ac97: 98 00 00 00 00 00 00 00 30 40 03 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +8723-9765 ac97: 98 00 00 00 00 00 00 00 2e 00 03 18 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 diff --git a/decoder/test/ac97/alc655_snippet2.bin_frame_out b/decoder/test/ac97/alc655_snippet2.bin_frame_out new file mode 100644 index 0000000..6e1924f --- /dev/null +++ b/decoder/test/ac97/alc655_snippet2.bin_frame_out @@ -0,0 +1,9 @@ +388-1430 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +1430-2472 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +2472-3514 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +3514-4556 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +4556-5598 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +5598-6640 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +6640-7682 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +7682-8723 ac97: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +8723-9765 ac97: c0 00 82 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 diff --git a/decoder/test/ac97/alc655_snippet2.bin_slot_raw_in b/decoder/test/ac97/alc655_snippet2.bin_slot_raw_in new file mode 100644 index 0000000..1a4fc71 --- /dev/null +++ b/decoder/test/ac97/alc655_snippet2.bin_slot_raw_in @@ -0,0 +1,19 @@ +616-697 ac97: 00 30 +697-779 ac97: 00 31 +1658-1739 ac97: 00 31 +1739-1821 ac97: 00 31 +2700-2781 ac97: 00 30 +2781-2863 ac97: 00 31 +3742-3823 ac97: 00 30 +3823-3905 ac97: 00 30 +4784-4865 ac97: 00 30 +4865-4946 ac97: 00 32 +5826-5907 ac97: 00 2e +5907-5988 ac97: 00 32 +6867-6949 ac97: 00 31 +6949-7030 ac97: 00 33 +7909-7991 ac97: 00 30 +7991-8072 ac97: 00 31 +8951-9033 ac97: 00 2e +9033-9114 ac97: 00 31 +9993-10075 ac97: 00 31 diff --git a/decoder/test/ac97/alc655_snippet2.bin_slot_raw_out b/decoder/test/ac97/alc655_snippet2.bin_slot_raw_out new file mode 100644 index 0000000..e69de29 diff --git a/decoder/test/ac97/test.conf b/decoder/test/ac97/test.conf index 0a8a4e8..28e65f1 100644 --- a/decoder/test/ac97/test.conf +++ b/decoder/test/ac97/test.conf @@ -2,3 +2,7 @@ test alc655_snippet2 protocol-decoder ac97 channel clk=0 channel out=1 channel in=2 channel sync=3 input ac97/realtek_alc655/asus_a8ne_fm_s_ac97_powerup_snippet2.sr output ac97 annotation match alc655_snippet2.output + output ac97 binary class frame-out match alc655_snippet2.bin_frame_out + output ac97 binary class frame-in match alc655_snippet2.bin_frame_in + output ac97 binary class slot-raw-out match alc655_snippet2.bin_slot_raw_out + output ac97 binary class slot-raw-in match alc655_snippet2.bin_slot_raw_in