]> sigrok.org Git - sigrok-test.git/commitdiff
ac97: Add binary output test-cases.
authorUwe Hermann <redacted>
Wed, 1 Jan 2020 17:16:25 +0000 (18:16 +0100)
committerUwe Hermann <redacted>
Thu, 2 Jan 2020 18:07:26 +0000 (19:07 +0100)
decoder/test/ac97/alc655_snippet2.bin_frame_in [new file with mode: 0644]
decoder/test/ac97/alc655_snippet2.bin_frame_out [new file with mode: 0644]
decoder/test/ac97/alc655_snippet2.bin_slot_raw_in [new file with mode: 0644]
decoder/test/ac97/alc655_snippet2.bin_slot_raw_out [new file with mode: 0644]
decoder/test/ac97/test.conf

diff --git a/decoder/test/ac97/alc655_snippet2.bin_frame_in b/decoder/test/ac97/alc655_snippet2.bin_frame_in
new file mode 100644 (file)
index 0000000..b9440f6
--- /dev/null
@@ -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 (file)
index 0000000..6e1924f
--- /dev/null
@@ -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 (file)
index 0000000..1a4fc71
--- /dev/null
@@ -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 (file)
index 0000000..e69de29
index 0a8a4e8c4dc2b0a232825fe8cb5037963b41339a..28e65f10722c51897bfcc850bfc9d15c4f7c9d0c 100644 (file)
@@ -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
        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