From: fenugrec Date: Fri, 27 Apr 2018 14:26:29 +0000 (-0400) Subject: Add test for mcs48 decoder X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=74550865306fcd161a1997a4250614cca2dba699;p=sigrok-test.git Add test for mcs48 decoder --- diff --git a/decoder/test/mcs48/i8039_sample.output b/decoder/test/mcs48/i8039_sample.output new file mode 100644 index 0000000..943c176 --- /dev/null +++ b/decoder/test/mcs48/i8039_sample.output @@ -0,0 +1,234 @@ +7-17 mcs48: romdata: "1051:80" +28-38 mcs48: romdata: "1052:23" +48-58 mcs48: romdata: "1053:F0" +69-79 mcs48: romdata: "1054:62" +89-99 mcs48: romdata: "1055:55" +110-120 mcs48: romdata: "1056:25" +130-140 mcs48: romdata: "1057:D4" +151-161 mcs48: romdata: "1058:9E" +171-181 mcs48: romdata: "169E:BE" +192-202 mcs48: romdata: "169F:00" +212-222 mcs48: romdata: "16A0:97" +233-243 mcs48: romdata: "16A1:BF" +253-263 mcs48: romdata: "16A2:00" +274-284 mcs48: romdata: "16A3:14" +294-304 mcs48: romdata: "16A4:FC" +315-325 mcs48: romdata: "10FC:FF" +335-345 mcs48: romdata: "10FD:A3" +356-366 mcs48: romdata: "1000:85" +376-386 mcs48: romdata: "10FE:7E" +397-407 mcs48: romdata: "10FF:AE" +417-427 mcs48: romdata: "1100:FF" +437-448 mcs48: romdata: "1101:A3" +458-468 mcs48: romdata: "1100:FF" +478-489 mcs48: romdata: "1102:7E" +499-509 mcs48: romdata: "1103:AE" +519-530 mcs48: romdata: "1104:44" +540-550 mcs48: romdata: "1105:FC" +560-571 mcs48: romdata: "12FC:FF" +581-591 mcs48: romdata: "12FD:A3" +601-612 mcs48: romdata: "1200:23" +622-632 mcs48: romdata: "12FE:7E" +642-653 mcs48: romdata: "12FF:AE" +663-673 mcs48: romdata: "1300:FF" +683-694 mcs48: romdata: "1301:A3" +704-714 mcs48: romdata: "1300:FF" +724-735 mcs48: romdata: "1302:7E" +745-755 mcs48: romdata: "1303:AE" +765-776 mcs48: romdata: "1304:84" +786-796 mcs48: romdata: "1305:FC" +806-817 mcs48: romdata: "14FC:FF" +827-837 mcs48: romdata: "14FD:A3" +847-858 mcs48: romdata: "1400:27" +868-878 mcs48: romdata: "14FE:7E" +888-899 mcs48: romdata: "14FF:AE" +909-919 mcs48: romdata: "1500:FF" +929-940 mcs48: romdata: "1501:A3" +950-960 mcs48: romdata: "1500:FF" +970-980 mcs48: romdata: "1502:7E" +991-1001 mcs48: romdata: "1503:AE" +1011-1021 mcs48: romdata: "1504:C4" +1032-1042 mcs48: romdata: "1505:FD" +1052-1062 mcs48: romdata: "16FD:FF" +1073-1083 mcs48: romdata: "16FE:A3" +1093-1103 mcs48: romdata: "1600:85" +1114-1124 mcs48: romdata: "16FF:7E" +1134-1144 mcs48: romdata: "1700:AE" +1155-1165 mcs48: romdata: "1701:FF" +1175-1185 mcs48: romdata: "1702:A3" +1196-1206 mcs48: romdata: "1700:AE" +1216-1226 mcs48: romdata: "1703:7E" +1237-1247 mcs48: romdata: "1704:AE" +1257-1267 mcs48: romdata: "1705:F5" +1278-1288 mcs48: romdata: "1706:04" +1298-1308 mcs48: romdata: "1707:FC" +1319-1329 mcs48: romdata: "18FC:FF" +1339-1349 mcs48: romdata: "18FD:A3" +1360-1370 mcs48: romdata: "1800:9A" +1380-1390 mcs48: romdata: "18FE:7E" +1401-1411 mcs48: romdata: "18FF:AE" +1421-1431 mcs48: romdata: "1900:FF" +1442-1452 mcs48: romdata: "1901:A3" +1462-1472 mcs48: romdata: "1900:FF" +1483-1493 mcs48: romdata: "1902:7E" +1503-1513 mcs48: romdata: "1903:AE" +1524-1534 mcs48: romdata: "1904:44" +1544-1554 mcs48: romdata: "1905:FC" +1565-1575 mcs48: romdata: "1AFC:FF" +1585-1595 mcs48: romdata: "1AFD:A3" +1605-1616 mcs48: romdata: "1A00:BA" +1626-1636 mcs48: romdata: "1AFE:7E" +1646-1657 mcs48: romdata: "1AFF:AE" +1667-1677 mcs48: romdata: "1B00:FF" +1687-1698 mcs48: romdata: "1B01:A3" +1708-1718 mcs48: romdata: "1B00:FF" +1728-1739 mcs48: romdata: "1B02:7E" +1749-1759 mcs48: romdata: "1B03:AE" +1769-1780 mcs48: romdata: "1B04:84" +1790-1800 mcs48: romdata: "1B05:FC" +1810-1821 mcs48: romdata: "1CFC:FF" +1831-1841 mcs48: romdata: "1CFD:A3" +1851-1862 mcs48: romdata: "1C00:FF" +1872-1882 mcs48: romdata: "1CFE:7E" +1892-1903 mcs48: romdata: "1CFF:AE" +1913-1923 mcs48: romdata: "1D00:FF" +1933-1944 mcs48: romdata: "1D01:A3" +1954-1964 mcs48: romdata: "1D00:FF" +1974-1985 mcs48: romdata: "1D02:7E" +1995-2005 mcs48: romdata: "1D03:AE" +2015-2026 mcs48: romdata: "1D04:C4" +2036-2046 mcs48: romdata: "1D05:FC" +2056-2067 mcs48: romdata: "1EFC:FF" +2077-2087 mcs48: romdata: "1EFD:A3" +2097-2108 mcs48: romdata: "1E00:E5" +2118-2128 mcs48: romdata: "1EFE:7E" +2138-2148 mcs48: romdata: "1EFF:AE" +2159-2169 mcs48: romdata: "1F00:FF" +2179-2189 mcs48: romdata: "1F01:A3" +2200-2210 mcs48: romdata: "1F00:FF" +2220-2230 mcs48: romdata: "1F02:7E" +2241-2251 mcs48: romdata: "1F03:AE" +2261-2271 mcs48: romdata: "1F04:E5" +2282-2292 mcs48: romdata: "1F05:83" +2302-2312 mcs48: romdata: "1F06:97" +2323-2333 mcs48: romdata: "16A5:D4" +2343-2353 mcs48: romdata: "16A6:E4" +2364-2374 mcs48: romdata: "16E4:9A" +2384-2394 mcs48: romdata: "16E5:BF" +2405-2415 mcs48: romdata: "16E6:00" +2425-2435 mcs48: romdata: "06E7:04" +2446-2456 mcs48: romdata: "06E8:FC" +2466-2476 mcs48: romdata: "00FC:FF" +2487-2497 mcs48: romdata: "00FD:A3" +2507-2517 mcs48: romdata: "0000:00" +2528-2538 mcs48: romdata: "00FE:7E" +2548-2558 mcs48: romdata: "00FF:AE" +2569-2579 mcs48: romdata: "0100:FF" +2589-2599 mcs48: romdata: "0101:A3" +2610-2620 mcs48: romdata: "0100:FF" +2630-2640 mcs48: romdata: "0102:7E" +2651-2661 mcs48: romdata: "0103:AE" +2671-2681 mcs48: romdata: "0104:44" +2691-2702 mcs48: romdata: "0105:FC" +2712-2722 mcs48: romdata: "02FC:FF" +2732-2743 mcs48: romdata: "02FD:A3" +2753-2763 mcs48: romdata: "0200:F5" +2773-2784 mcs48: romdata: "02FE:7E" +2794-2804 mcs48: romdata: "02FF:AE" +2814-2825 mcs48: romdata: "0300:FF" +2835-2845 mcs48: romdata: "0301:A3" +2855-2866 mcs48: romdata: "0300:FF" +2876-2886 mcs48: romdata: "0302:7E" +2896-2907 mcs48: romdata: "0303:AE" +2917-2927 mcs48: romdata: "0304:84" +2937-2948 mcs48: romdata: "0305:FC" +2958-2968 mcs48: romdata: "04FC:FF" +2978-2989 mcs48: romdata: "04FD:A3" +2999-3009 mcs48: romdata: "0400:23" +3019-3030 mcs48: romdata: "04FE:7E" +3040-3050 mcs48: romdata: "04FF:AE" +3060-3071 mcs48: romdata: "0500:FF" +3081-3091 mcs48: romdata: "0501:A3" +3101-3112 mcs48: romdata: "0500:FF" +3122-3132 mcs48: romdata: "0502:7E" +3142-3153 mcs48: romdata: "0503:AE" +3163-3173 mcs48: romdata: "0504:C4" +3183-3194 mcs48: romdata: "0505:FD" +3204-3214 mcs48: romdata: "06FD:FF" +3224-3235 mcs48: romdata: "06FE:A3" +3245-3255 mcs48: romdata: "0600:A5" +3265-3275 mcs48: romdata: "06FF:7E" +3286-3296 mcs48: romdata: "0700:AE" +3306-3316 mcs48: romdata: "0701:FF" +3327-3337 mcs48: romdata: "0702:A3" +3347-3357 mcs48: romdata: "0700:AE" +3368-3378 mcs48: romdata: "0703:7E" +3388-3398 mcs48: romdata: "0704:AE" +3409-3419 mcs48: romdata: "0705:F5" +3429-3439 mcs48: romdata: "0706:04" +3450-3460 mcs48: romdata: "0707:FC" +3470-3480 mcs48: romdata: "08FC:FF" +3491-3501 mcs48: romdata: "08FD:A3" +3511-3521 mcs48: romdata: "0800:8A" +3532-3542 mcs48: romdata: "08FE:7E" +3552-3562 mcs48: romdata: "08FF:AE" +3573-3583 mcs48: romdata: "0900:FF" +3593-3603 mcs48: romdata: "0901:A3" +3614-3624 mcs48: romdata: "0900:FF" +3634-3644 mcs48: romdata: "0902:7E" +3655-3665 mcs48: romdata: "0903:AE" +3675-3685 mcs48: romdata: "0904:44" +3696-3706 mcs48: romdata: "0905:FC" +3716-3726 mcs48: romdata: "0AFC:FF" +3737-3747 mcs48: romdata: "0AFD:A3" +3757-3767 mcs48: romdata: "0A00:07" +3778-3788 mcs48: romdata: "0AFE:7E" +3798-3808 mcs48: romdata: "0AFF:AE" +3818-3829 mcs48: romdata: "0B00:FF" +3839-3849 mcs48: romdata: "0B01:A3" +3859-3870 mcs48: romdata: "0B00:FF" +3880-3890 mcs48: romdata: "0B02:7E" +3900-3911 mcs48: romdata: "0B03:AE" +3921-3931 mcs48: romdata: "0B04:84" +3941-3952 mcs48: romdata: "0B05:FC" +3962-3972 mcs48: romdata: "0CFC:FF" +3982-3993 mcs48: romdata: "0CFD:A3" +4003-4013 mcs48: romdata: "0C00:B8" +4023-4034 mcs48: romdata: "0CFE:7E" +4044-4054 mcs48: romdata: "0CFF:AE" +4064-4075 mcs48: romdata: "0D00:FF" +4085-4095 mcs48: romdata: "0D01:A3" +4105-4116 mcs48: romdata: "0D00:FF" +4126-4136 mcs48: romdata: "0D02:7E" +4146-4157 mcs48: romdata: "0D03:AE" +4167-4177 mcs48: romdata: "0D04:C4" +4187-4198 mcs48: romdata: "0D05:FC" +4208-4218 mcs48: romdata: "0EFC:FF" +4228-4239 mcs48: romdata: "0EFD:A3" +4249-4259 mcs48: romdata: "0E00:8A" +4269-4280 mcs48: romdata: "0EFE:7E" +4290-4300 mcs48: romdata: "0EFF:AE" +4310-4321 mcs48: romdata: "0F00:FF" +4331-4341 mcs48: romdata: "0F01:A3" +4351-4361 mcs48: romdata: "0F00:FF" +4372-4382 mcs48: romdata: "0F02:7E" +4392-4402 mcs48: romdata: "0F03:AE" +4413-4423 mcs48: romdata: "0F04:E5" +4433-4443 mcs48: romdata: "0F05:C4" +4454-4464 mcs48: romdata: "0F06:E9" +4474-4484 mcs48: romdata: "06E9:8A" +4495-4505 mcs48: romdata: "06EA:40" +4515-4525 mcs48: romdata: "06EB:00" +4536-4546 mcs48: romdata: "16EC:83" +4556-4566 mcs48: romdata: "16ED:00" +4577-4587 mcs48: romdata: "16A7:EF" +4597-4607 mcs48: romdata: "16A8:A3" +4618-4628 mcs48: romdata: "16A3:14" +4638-4648 mcs48: romdata: "16A4:FC" +4659-4669 mcs48: romdata: "10FC:FF" +4679-4689 mcs48: romdata: "10FD:A3" +4700-4710 mcs48: romdata: "10FF:AE" +4720-4730 mcs48: romdata: "10FE:7E" +4741-4751 mcs48: romdata: "10FF:AE" +4761-4771 mcs48: romdata: "1100:FF" +4782-4792 mcs48: romdata: "1101:A3" diff --git a/decoder/test/mcs48/test.conf b/decoder/test/mcs48/test.conf new file mode 100644 index 0000000..6973dc2 --- /dev/null +++ b/decoder/test/mcs48/test.conf @@ -0,0 +1,4 @@ +test i8039_sample + protocol-decoder mcs48 channel a8=0 channel a9=1 channel a10=2 channel a11=3 channel a12=4 channel ale=5 channel psen=7 channel d0=8 channel d1=9 channel d2=10 channel d3=11 channel d4=12 channel d5=13 channel d6=14 channel d7=15 + input mcs48/hp3478a/i8039_sample.sr + output mcs48 annotation match i8039_sample.output