Add an eeprom93cxx test-case.
authorUwe Hermann <uwe@hermann-uwe.de>
Wed, 3 May 2017 20:27:51 +0000 (22:27 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Fri, 5 May 2017 18:09:01 +0000 (20:09 +0200)
decoder/test/eeprom93cxx/st_m93c66.output [new file with mode: 0644]
decoder/test/eeprom93cxx/test.conf [new file with mode: 0644]

diff --git a/decoder/test/eeprom93cxx/st_m93c66.output b/decoder/test/eeprom93cxx/st_m93c66.output
new file mode 100644 (file)
index 0000000..2a05238
--- /dev/null
@@ -0,0 +1,19 @@
+2530-2557 eeprom93cxx: si-data: "Read word" "READ"
+2557-2671 eeprom93cxx: si-data: "Address: 0x0" "Addr: 0x0" "0x0"
+2671-2908 eeprom93cxx: so-data: "Data: 0x4242" "0x4242"
+3301-3329 eeprom93cxx: si-data: "Read word" "READ"
+3329-3443 eeprom93cxx: si-data: "Address: 0x0" "Addr: 0x0" "0x0"
+3443-3678 eeprom93cxx: so-data: "Data: 0x4242" "0x4242"
+3678-3913 eeprom93cxx: so-data: "Data: 0x4242" "0x4242"
+3913-4148 eeprom93cxx: so-data: "Data: 0x4242" "0x4242"
+4148-4385 eeprom93cxx: so-data: "Data: 0x4242" "0x4242"
+4749-4889 eeprom93cxx: si-data: "Write enable" "WEN"
+5254-5281 eeprom93cxx: si-data: "Erase word" "ERASE"
+5281-5394 eeprom93cxx: si-data: "Address: 0x0" "Addr: 0x0" "0x0"
+11136-11277 eeprom93cxx: si-data: "Erase all memory" "Erase all" "ERAL"
+17132-17159 eeprom93cxx: si-data: "Write word" "WRITE"
+17159-17273 eeprom93cxx: si-data: "Address: 0x0" "Addr: 0x0" "0x0"
+17273-17492 eeprom93cxx: si-data: "Data: 0x4242" "0x4242"
+28751-28892 eeprom93cxx: si-data: "Write all memory" "Write all" "WRAL"
+28892-29112 eeprom93cxx: si-data: "Data: 0x4242" "0x4242"
+40469-40610 eeprom93cxx: si-data: "Write disable" "WDS"
diff --git a/decoder/test/eeprom93cxx/test.conf b/decoder/test/eeprom93cxx/test.conf
new file mode 100644 (file)
index 0000000..6fb11a9
--- /dev/null
@@ -0,0 +1,6 @@
+test st_m93c66
+       protocol-decoder microwire channel cs=1 channel sk=3 channel si=4 channel so=5
+       protocol-decoder eeprom93cxx
+       stack microwire eeprom93cxx
+       input microwire/st_m93c66/st_m93c66.sr
+       output eeprom93cxx annotation match st_m93c66.output