]> sigrok.org Git - sigrok-test.git/commitdiff
eeprom93xx: Add OUTPUT_BINARY test-cases.
authorUwe Hermann <redacted>
Sat, 9 Nov 2019 14:46:47 +0000 (15:46 +0100)
committerUwe Hermann <redacted>
Sat, 9 Nov 2019 14:46:47 +0000 (15:46 +0100)
decoder/test/eeprom93xx/st_m93c66.bin_address [new file with mode: 0644]
decoder/test/eeprom93xx/st_m93c66.bin_data [new file with mode: 0644]
decoder/test/eeprom93xx/test.conf

diff --git a/decoder/test/eeprom93xx/st_m93c66.bin_address b/decoder/test/eeprom93xx/st_m93c66.bin_address
new file mode 100644 (file)
index 0000000..5fb0e2d
--- /dev/null
@@ -0,0 +1,4 @@
+2557-2671 eeprom93xx: 00
+3329-3443 eeprom93xx: 00
+5281-5394 eeprom93xx: 00
+17159-17273 eeprom93xx: 00
diff --git a/decoder/test/eeprom93xx/st_m93c66.bin_data b/decoder/test/eeprom93xx/st_m93c66.bin_data
new file mode 100644 (file)
index 0000000..1a920a6
--- /dev/null
@@ -0,0 +1,7 @@
+2671-2908 eeprom93xx: 42 42
+3443-3678 eeprom93xx: 42 42
+3678-3913 eeprom93xx: 42 42
+3913-4148 eeprom93xx: 42 42
+4148-4385 eeprom93xx: 42 42
+17273-17492 eeprom93xx: 42 42
+28892-29112 eeprom93xx: 42 42
index 955f69440a5f4daecca1554168545d47eceeba12..0dc8d58586f4ae54ebb9ad6df01f3e06bfc2368c 100644 (file)
@@ -4,6 +4,8 @@ test st_m93c66
        stack microwire eeprom93xx
        input microwire/st_m93c66/st_m93c66.sr
        output eeprom93xx annotation match st_m93c66.output
+       output eeprom93xx binary class address match st_m93c66.bin_address
+       output eeprom93xx binary class data match st_m93c66.bin_data
 
 test st_m93c66_ascii
        protocol-decoder microwire channel cs=1 channel sk=3 channel si=4 channel so=5