From: Uwe Hermann Date: Wed, 3 May 2017 20:09:17 +0000 (+0200) Subject: Add a microwire test-case. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a9781845af4a2c5fb4940474b9f0d04b16380323;p=sigrok-test.git Add a microwire test-case. --- diff --git a/decoder/test/microwire/st_m93c66.output b/decoder/test/microwire/st_m93c66.output new file mode 100644 index 0000000..acaed36 --- /dev/null +++ b/decoder/test/microwire/st_m93c66.output @@ -0,0 +1,400 @@ +2517-2530 microwire: start-bit: "Start bit" "S" +2530-2543 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +2530-2543 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2543-2557 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2543-2557 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2557-2571 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2557-2571 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2571-2586 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2571-2586 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2586-2599 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2586-2599 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2599-2614 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2599-2614 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2614-2627 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2614-2627 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2627-2642 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2627-2642 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2642-2655 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2642-2655 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2655-2671 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2655-2671 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2671-2686 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2671-2686 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2686-2701 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2686-2701 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2701-2715 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2701-2715 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2715-2730 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2715-2730 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2730-2745 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2730-2745 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2745-2759 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2745-2759 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2759-2774 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2759-2774 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2774-2789 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2774-2789 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2789-2803 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2789-2803 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2803-2818 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2803-2818 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2818-2833 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2818-2833 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2833-2847 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2833-2847 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2847-2862 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2847-2862 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2862-2877 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2862-2877 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +2877-2892 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2877-2892 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +2892-2908 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +2892-2908 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3288-3301 microwire: start-bit: "Start bit" "S" +3301-3314 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +3301-3314 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3314-3329 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3314-3329 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3329-3342 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3329-3342 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3342-3357 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3342-3357 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3357-3370 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3357-3370 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3370-3385 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3370-3385 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3385-3399 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3385-3399 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3399-3413 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3399-3413 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3413-3427 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3413-3427 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3427-3443 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3427-3443 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3443-3457 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3443-3457 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3457-3472 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3457-3472 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3472-3487 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3472-3487 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3487-3501 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3487-3501 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3501-3516 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3501-3516 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3516-3531 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3516-3531 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3531-3545 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3531-3545 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3545-3560 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3545-3560 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3560-3575 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3560-3575 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3575-3590 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3575-3590 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3590-3604 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3590-3604 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3604-3619 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3604-3619 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3619-3634 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3619-3634 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3634-3648 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3634-3648 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3648-3663 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3648-3663 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3663-3678 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3663-3678 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3678-3693 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3678-3693 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3693-3707 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3693-3707 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3707-3722 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3707-3722 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3722-3737 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3722-3737 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3737-3751 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3737-3751 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3751-3766 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3751-3766 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3766-3781 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3766-3781 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3781-3795 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3781-3795 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3795-3810 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3795-3810 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3810-3825 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3810-3825 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3825-3839 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3825-3839 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3839-3854 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3839-3854 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3854-3869 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3854-3869 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3869-3883 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3869-3883 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3883-3898 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3883-3898 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3898-3913 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3898-3913 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3913-3928 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3913-3928 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3928-3942 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3928-3942 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +3942-3957 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3942-3957 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3957-3972 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3957-3972 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3972-3986 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3972-3986 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +3986-4001 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +3986-4001 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4001-4016 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4001-4016 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4016-4030 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4016-4030 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4030-4045 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4030-4045 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4045-4060 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4045-4060 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4060-4074 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4060-4074 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4074-4089 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4074-4089 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4089-4104 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4089-4104 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4104-4118 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4104-4118 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4118-4133 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4118-4133 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4133-4148 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4133-4148 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4148-4163 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4148-4163 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4163-4178 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4163-4178 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4178-4192 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4178-4192 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4192-4207 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4192-4207 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4207-4222 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4207-4222 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4222-4236 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4222-4236 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4236-4251 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4236-4251 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4251-4266 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4251-4266 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4266-4280 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4266-4280 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4280-4295 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4280-4295 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4295-4310 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4295-4310 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4310-4324 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4310-4324 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4324-4339 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4324-4339 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4339-4354 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4339-4354 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4354-4368 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4354-4368 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4368-4385 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4368-4385 microwire: so-bit: "SO bit: 0" "SO: 0" "0" +4736-4749 microwire: start-bit: "Start bit" "S" +4749-4762 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4749-4762 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4762-4777 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4762-4777 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4777-4790 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +4777-4790 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4790-4805 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +4790-4805 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4805-4818 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4805-4818 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4818-4833 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4818-4833 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4833-4847 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4833-4847 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4847-4861 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4847-4861 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4861-4875 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4861-4875 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +4875-4889 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +4875-4889 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5241-5254 microwire: start-bit: "Start bit" "S" +5254-5267 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +5254-5267 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5267-5281 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +5267-5281 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5281-5295 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5281-5295 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5295-5309 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5295-5309 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5309-5323 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5309-5323 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5323-5338 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5323-5338 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5338-5351 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5338-5351 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5351-5366 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5351-5366 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5366-5379 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5366-5379 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5379-5394 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +5379-5394 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +5757-10725 microwire: status-check-busy: "Busy" "B" +10725-10744 microwire: status-check-ready: "Ready" "R" +11123-11136 microwire: start-bit: "Start bit" "S" +11136-11149 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11136-11149 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11149-11164 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11149-11164 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11164-11177 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +11164-11177 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11177-11192 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11177-11192 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11192-11205 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11192-11205 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11205-11220 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11205-11220 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11220-11233 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11220-11233 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11233-11248 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11233-11248 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11248-11261 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11248-11261 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11261-11277 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +11261-11277 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +11640-16720 microwire: status-check-busy: "Busy" "B" +16720-16739 microwire: status-check-ready: "Ready" "R" +17119-17132 microwire: start-bit: "Start bit" "S" +17132-17145 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17132-17145 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17145-17159 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +17145-17159 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17159-17173 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17159-17173 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17173-17187 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17173-17187 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17187-17201 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17187-17201 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17201-17215 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17201-17215 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17215-17229 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17215-17229 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17229-17243 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17229-17243 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17243-17257 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17243-17257 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17257-17273 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17257-17273 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17273-17287 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17273-17287 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17287-17300 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +17287-17300 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17300-17314 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17300-17314 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17314-17327 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17314-17327 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17327-17341 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17327-17341 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17341-17356 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17341-17356 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17356-17369 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +17356-17369 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17369-17383 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17369-17383 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17383-17396 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17383-17396 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17396-17410 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +17396-17410 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17410-17424 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17410-17424 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17424-17437 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17424-17437 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17437-17451 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17437-17451 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17451-17464 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17451-17464 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17464-17478 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +17464-17478 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17478-17492 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +17478-17492 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +17827-28373 microwire: status-check-busy: "Busy" "B" +28373-28387 microwire: status-check-ready: "Ready" "R" +28738-28751 microwire: start-bit: "Start bit" "S" +28751-28764 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28751-28764 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28764-28778 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28764-28778 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28778-28792 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28778-28792 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28792-28807 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +28792-28807 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28807-28820 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28807-28820 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28820-28835 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28820-28835 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28835-28848 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28835-28848 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28848-28863 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28848-28863 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28863-28876 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28863-28876 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28876-28892 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28876-28892 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28892-28907 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28892-28907 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28907-28921 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +28907-28921 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28921-28934 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28921-28934 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28934-28948 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28934-28948 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28948-28961 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28948-28961 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28961-28975 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28961-28975 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28975-28988 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +28975-28988 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +28988-29002 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +28988-29002 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29002-29016 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +29002-29016 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29016-29029 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +29016-29029 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29029-29043 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +29029-29043 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29043-29056 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +29043-29056 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29056-29071 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +29056-29071 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29071-29085 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +29071-29085 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29085-29098 microwire: si-bit: "SI bit: 1" "SI: 1" "1" +29085-29098 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29098-29112 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +29098-29112 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +29475-40065 microwire: status-check-busy: "Busy" "B" +40065-40077 microwire: status-check-ready: "Ready" "R" +40456-40469 microwire: start-bit: "Start bit" "S" +40469-40482 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40469-40482 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40482-40496 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40482-40496 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40496-40510 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40496-40510 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40510-40524 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40510-40524 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40524-40538 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40524-40538 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40538-40552 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40538-40552 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40552-40566 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40552-40566 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40566-40581 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40566-40581 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40581-40594 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40581-40594 microwire: so-bit: "SO bit: 1" "SO: 1" "1" +40594-40610 microwire: si-bit: "SI bit: 0" "SI: 0" "0" +40594-40610 microwire: so-bit: "SO bit: 1" "SO: 1" "1" diff --git a/decoder/test/microwire/st_m93c66.python b/decoder/test/microwire/st_m93c66.python new file mode 100644 index 0000000..97c7922 --- /dev/null +++ b/decoder/test/microwire/st_m93c66.python @@ -0,0 +1,8 @@ +2500-2908 microwire: [PyPacket(ss=2530, es=2543, si=1, so=1), PyPacket(ss=2543, es=2557, si=0, so=1), PyPacket(ss=2557, es=2571, si=0, so=1), PyPacket(ss=2571, es=2586, si=0, so=1), PyPacket(ss=2586, es=2599, si=0, so=1), PyPacket(ss=2599, es=2614, si=0, so=1), PyPacket(ss=2614, es=2627, si=0, so=1), PyPacket(ss=2627, es=2642, si=0, so=1), PyPacket(ss=2642, es=2655, si=0, so=1), PyPacket(ss=2655, es=2671, si=0, so=0), PyPacket(ss=2671, es=2686, si=0, so=0), PyPacket(ss=2686, es=2701, si=0, so=1), PyPacket(ss=2701, es=2715, si=0, so=0), PyPacket(ss=2715, es=2730, si=0, so=0), PyPacket(ss=2730, es=2745, si=0, so=0), PyPacket(ss=2745, es=2759, si=0, so=0), PyPacket(ss=2759, es=2774, si=0, so=1), PyPacket(ss=2774, es=2789, si=0, so=0), PyPacket(ss=2789, es=2803, si=0, so=0), PyPacket(ss=2803, es=2818, si=0, so=1), PyPacket(ss=2818, es=2833, si=0, so=0), PyPacket(ss=2833, es=2847, si=0, so=0), PyPacket(ss=2847, es=2862, si=0, so=0), PyPacket(ss=2862, es=2877, si=0, so=0), PyPacket(ss=2877, es=2892, si=0, so=1), PyPacket(ss=2892, es=2908, si=0, so=0)] +3271-4385 microwire: [PyPacket(ss=3301, es=3314, si=1, so=1), PyPacket(ss=3314, es=3329, si=0, so=1), PyPacket(ss=3329, es=3342, si=0, so=1), PyPacket(ss=3342, es=3357, si=0, so=1), PyPacket(ss=3357, es=3370, si=0, so=1), PyPacket(ss=3370, es=3385, si=0, so=1), PyPacket(ss=3385, es=3399, si=0, so=1), PyPacket(ss=3399, es=3413, si=0, so=1), PyPacket(ss=3413, es=3427, si=0, so=1), PyPacket(ss=3427, es=3443, si=0, so=0), PyPacket(ss=3443, es=3457, si=0, so=0), PyPacket(ss=3457, es=3472, si=0, so=1), PyPacket(ss=3472, es=3487, si=0, so=0), PyPacket(ss=3487, es=3501, si=0, so=0), PyPacket(ss=3501, es=3516, si=0, so=0), PyPacket(ss=3516, es=3531, si=0, so=0), PyPacket(ss=3531, es=3545, si=0, so=1), PyPacket(ss=3545, es=3560, si=0, so=0), PyPacket(ss=3560, es=3575, si=0, so=0), PyPacket(ss=3575, es=3590, si=0, so=1), PyPacket(ss=3590, es=3604, si=0, so=0), PyPacket(ss=3604, es=3619, si=0, so=0), PyPacket(ss=3619, es=3634, si=0, so=0), PyPacket(ss=3634, es=3648, si=0, so=0), PyPacket(ss=3648, es=3663, si=0, so=1), PyPacket(ss=3663, es=3678, si=0, so=0), PyPacket(ss=3678, es=3693, si=0, so=0), PyPacket(ss=3693, es=3707, si=0, so=1), PyPacket(ss=3707, es=3722, si=0, so=0), PyPacket(ss=3722, es=3737, si=0, so=0), PyPacket(ss=3737, es=3751, si=0, so=0), PyPacket(ss=3751, es=3766, si=0, so=0), PyPacket(ss=3766, es=3781, si=0, so=1), PyPacket(ss=3781, es=3795, si=0, so=0), PyPacket(ss=3795, es=3810, si=0, so=0), PyPacket(ss=3810, es=3825, si=0, so=1), PyPacket(ss=3825, es=3839, si=0, so=0), PyPacket(ss=3839, es=3854, si=0, so=0), PyPacket(ss=3854, es=3869, si=0, so=0), PyPacket(ss=3869, es=3883, si=0, so=0), PyPacket(ss=3883, es=3898, si=0, so=1), PyPacket(ss=3898, es=3913, si=0, so=0), PyPacket(ss=3913, es=3928, si=0, so=0), PyPacket(ss=3928, es=3942, si=0, so=1), PyPacket(ss=3942, es=3957, si=0, so=0), PyPacket(ss=3957, es=3972, si=0, so=0), PyPacket(ss=3972, es=3986, si=0, so=0), PyPacket(ss=3986, es=4001, si=0, so=0), PyPacket(ss=4001, es=4016, si=0, so=1), PyPacket(ss=4016, es=4030, si=0, so=0), PyPacket(ss=4030, es=4045, si=0, so=0), PyPacket(ss=4045, es=4060, si=0, so=1), PyPacket(ss=4060, es=4074, si=0, so=0), PyPacket(ss=4074, es=4089, si=0, so=0), PyPacket(ss=4089, es=4104, si=0, so=0), PyPacket(ss=4104, es=4118, si=0, so=0), PyPacket(ss=4118, es=4133, si=0, so=1), PyPacket(ss=4133, es=4148, si=0, so=0), PyPacket(ss=4148, es=4163, si=0, so=0), PyPacket(ss=4163, es=4178, si=0, so=1), PyPacket(ss=4178, es=4192, si=0, so=0), PyPacket(ss=4192, es=4207, si=0, so=0), PyPacket(ss=4207, es=4222, si=0, so=0), PyPacket(ss=4222, es=4236, si=0, so=0), PyPacket(ss=4236, es=4251, si=0, so=1), PyPacket(ss=4251, es=4266, si=0, so=0), PyPacket(ss=4266, es=4280, si=0, so=0), PyPacket(ss=4280, es=4295, si=0, so=1), PyPacket(ss=4295, es=4310, si=0, so=0), PyPacket(ss=4310, es=4324, si=0, so=0), PyPacket(ss=4324, es=4339, si=0, so=0), PyPacket(ss=4339, es=4354, si=0, so=0), PyPacket(ss=4354, es=4368, si=0, so=1), PyPacket(ss=4368, es=4385, si=0, so=0)] +4720-4889 microwire: [PyPacket(ss=4749, es=4762, si=0, so=1), PyPacket(ss=4762, es=4777, si=0, so=1), PyPacket(ss=4777, es=4790, si=1, so=1), PyPacket(ss=4790, es=4805, si=1, so=1), PyPacket(ss=4805, es=4818, si=0, so=1), PyPacket(ss=4818, es=4833, si=0, so=1), PyPacket(ss=4833, es=4847, si=0, so=1), PyPacket(ss=4847, es=4861, si=0, so=1), PyPacket(ss=4861, es=4875, si=0, so=1), PyPacket(ss=4875, es=4889, si=0, so=1)] +5224-5394 microwire: [PyPacket(ss=5254, es=5267, si=1, so=1), PyPacket(ss=5267, es=5281, si=1, so=1), PyPacket(ss=5281, es=5295, si=0, so=1), PyPacket(ss=5295, es=5309, si=0, so=1), PyPacket(ss=5309, es=5323, si=0, so=1), PyPacket(ss=5323, es=5338, si=0, so=1), PyPacket(ss=5338, es=5351, si=0, so=1), PyPacket(ss=5351, es=5366, si=0, so=1), PyPacket(ss=5366, es=5379, si=0, so=1), PyPacket(ss=5379, es=5394, si=0, so=1)] +11107-11277 microwire: [PyPacket(ss=11136, es=11149, si=0, so=1), PyPacket(ss=11149, es=11164, si=0, so=1), PyPacket(ss=11164, es=11177, si=1, so=1), PyPacket(ss=11177, es=11192, si=0, so=1), PyPacket(ss=11192, es=11205, si=0, so=1), PyPacket(ss=11205, es=11220, si=0, so=1), PyPacket(ss=11220, es=11233, si=0, so=1), PyPacket(ss=11233, es=11248, si=0, so=1), PyPacket(ss=11248, es=11261, si=0, so=1), PyPacket(ss=11261, es=11277, si=0, so=1)] +17102-17492 microwire: [PyPacket(ss=17132, es=17145, si=0, so=1), PyPacket(ss=17145, es=17159, si=1, so=1), PyPacket(ss=17159, es=17173, si=0, so=1), PyPacket(ss=17173, es=17187, si=0, so=1), PyPacket(ss=17187, es=17201, si=0, so=1), PyPacket(ss=17201, es=17215, si=0, so=1), PyPacket(ss=17215, es=17229, si=0, so=1), PyPacket(ss=17229, es=17243, si=0, so=1), PyPacket(ss=17243, es=17257, si=0, so=1), PyPacket(ss=17257, es=17273, si=0, so=1), PyPacket(ss=17273, es=17287, si=0, so=1), PyPacket(ss=17287, es=17300, si=1, so=1), PyPacket(ss=17300, es=17314, si=0, so=1), PyPacket(ss=17314, es=17327, si=0, so=1), PyPacket(ss=17327, es=17341, si=0, so=1), PyPacket(ss=17341, es=17356, si=0, so=1), PyPacket(ss=17356, es=17369, si=1, so=1), PyPacket(ss=17369, es=17383, si=0, so=1), PyPacket(ss=17383, es=17396, si=0, so=1), PyPacket(ss=17396, es=17410, si=1, so=1), PyPacket(ss=17410, es=17424, si=0, so=1), PyPacket(ss=17424, es=17437, si=0, so=1), PyPacket(ss=17437, es=17451, si=0, so=1), PyPacket(ss=17451, es=17464, si=0, so=1), PyPacket(ss=17464, es=17478, si=1, so=1), PyPacket(ss=17478, es=17492, si=0, so=1)] +28722-29112 microwire: [PyPacket(ss=28751, es=28764, si=0, so=1), PyPacket(ss=28764, es=28778, si=0, so=1), PyPacket(ss=28778, es=28792, si=0, so=1), PyPacket(ss=28792, es=28807, si=1, so=1), PyPacket(ss=28807, es=28820, si=0, so=1), PyPacket(ss=28820, es=28835, si=0, so=1), PyPacket(ss=28835, es=28848, si=0, so=1), PyPacket(ss=28848, es=28863, si=0, so=1), PyPacket(ss=28863, es=28876, si=0, so=1), PyPacket(ss=28876, es=28892, si=0, so=1), PyPacket(ss=28892, es=28907, si=0, so=1), PyPacket(ss=28907, es=28921, si=1, so=1), PyPacket(ss=28921, es=28934, si=0, so=1), PyPacket(ss=28934, es=28948, si=0, so=1), PyPacket(ss=28948, es=28961, si=0, so=1), PyPacket(ss=28961, es=28975, si=0, so=1), PyPacket(ss=28975, es=28988, si=1, so=1), PyPacket(ss=28988, es=29002, si=0, so=1), PyPacket(ss=29002, es=29016, si=0, so=1), PyPacket(ss=29016, es=29029, si=1, so=1), PyPacket(ss=29029, es=29043, si=0, so=1), PyPacket(ss=29043, es=29056, si=0, so=1), PyPacket(ss=29056, es=29071, si=0, so=1), PyPacket(ss=29071, es=29085, si=0, so=1), PyPacket(ss=29085, es=29098, si=1, so=1), PyPacket(ss=29098, es=29112, si=0, so=1)] +40440-40610 microwire: [PyPacket(ss=40469, es=40482, si=0, so=1), PyPacket(ss=40482, es=40496, si=0, so=1), PyPacket(ss=40496, es=40510, si=0, so=1), PyPacket(ss=40510, es=40524, si=0, so=1), PyPacket(ss=40524, es=40538, si=0, so=1), PyPacket(ss=40538, es=40552, si=0, so=1), PyPacket(ss=40552, es=40566, si=0, so=1), PyPacket(ss=40566, es=40581, si=0, so=1), PyPacket(ss=40581, es=40594, si=0, so=1), PyPacket(ss=40594, es=40610, si=0, so=1)] diff --git a/decoder/test/microwire/test.conf b/decoder/test/microwire/test.conf new file mode 100644 index 0000000..0ddce6f --- /dev/null +++ b/decoder/test/microwire/test.conf @@ -0,0 +1,5 @@ +test st_m93c66 + protocol-decoder microwire channel cs=1 channel sk=3 channel si=4 channel so=5 + input microwire/st_m93c66/st_m93c66.sr + output microwire annotation match st_m93c66.output + output microwire python match st_m93c66.python