Skip to content

Commit

Permalink
uart: put expected and actual signal value on parity error
Browse files Browse the repository at this point in the history
  • Loading branch information
sespivak committed Aug 1, 2022
1 parent 29acf81 commit 7e2f343
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions decoder/test/uart/hello_world_7o1_115200_parity_err.python
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@
647-734 uart: ['FRAME', 1, (111, False)]
734-743 uart: ['STARTBIT', 1, 0]
743-803 uart: ['DATA', 1, (32, [[0, 743, 751], [0, 751, 760], [0, 760, 769], [0, 769, 777], [0, 777, 786], [1, 786, 795], [0, 795, 803]])]
803-812 uart: ['PARITY ERROR', 1, (0, 1)]
803-812 uart: ['PARITY ERROR', 1, (1, 0)]
812-821 uart: ['STOPBIT', 1, 1]
734-821 uart: ['FRAME', 1, (32, False)]
821-830 uart: ['STARTBIT', 1, 0]
830-890 uart: ['DATA', 1, (87, [[1, 830, 838], [1, 838, 847], [1, 847, 856], [0, 856, 864], [1, 864, 873], [0, 873, 882], [1, 882, 890]])]
890-899 uart: ['PARITY ERROR', 1, (0, 1)]
890-899 uart: ['PARITY ERROR', 1, (1, 0)]
899-908 uart: ['STOPBIT', 1, 1]
821-908 uart: ['FRAME', 1, (87, False)]
907-916 uart: ['STARTBIT', 1, 0]
Expand All @@ -50,7 +50,7 @@
1081-1168 uart: ['FRAME', 1, (108, False)]
1168-1177 uart: ['STARTBIT', 1, 0]
1177-1237 uart: ['DATA', 1, (100, [[0, 1177, 1185], [0, 1185, 1194], [1, 1194, 1203], [0, 1203, 1211], [0, 1211, 1220], [1, 1220, 1229], [1, 1229, 1237]])]
1237-1246 uart: ['PARITY ERROR', 1, (0, 1)]
1237-1246 uart: ['PARITY ERROR', 1, (1, 0)]
1246-1255 uart: ['STOPBIT', 1, 1]
1168-1255 uart: ['FRAME', 1, (100, False)]
1255-1264 uart: ['STARTBIT', 1, 0]
Expand All @@ -60,7 +60,7 @@
1255-1342 uart: ['FRAME', 1, (33, False)]
1341-1350 uart: ['STARTBIT', 1, 0]
1350-1410 uart: ['DATA', 1, (13, [[1, 1350, 1358], [0, 1358, 1367], [1, 1367, 1376], [1, 1376, 1384], [0, 1384, 1393], [0, 1393, 1402], [0, 1402, 1410]])]
1410-1419 uart: ['PARITY ERROR', 1, (0, 1)]
1410-1419 uart: ['PARITY ERROR', 1, (1, 0)]
1419-1428 uart: ['STOPBIT', 1, 1]
1341-1428 uart: ['FRAME', 1, (13, False)]
1428-1437 uart: ['STARTBIT', 1, 0]
Expand Down Expand Up @@ -98,12 +98,12 @@
2374-2461 uart: ['FRAME', 1, (111, False)]
2461-2470 uart: ['STARTBIT', 1, 0]
2470-2530 uart: ['DATA', 1, (32, [[0, 2470, 2478], [0, 2478, 2487], [0, 2487, 2496], [0, 2496, 2504], [0, 2504, 2513], [1, 2513, 2522], [0, 2522, 2530]])]
2530-2539 uart: ['PARITY ERROR', 1, (0, 1)]
2530-2539 uart: ['PARITY ERROR', 1, (1, 0)]
2539-2548 uart: ['STOPBIT', 1, 1]
2461-2548 uart: ['FRAME', 1, (32, False)]
2548-2557 uart: ['STARTBIT', 1, 0]
2557-2617 uart: ['DATA', 1, (87, [[1, 2557, 2565], [1, 2565, 2574], [1, 2574, 2583], [0, 2583, 2591], [1, 2591, 2600], [0, 2600, 2609], [1, 2609, 2617]])]
2617-2626 uart: ['PARITY ERROR', 1, (0, 1)]
2617-2626 uart: ['PARITY ERROR', 1, (1, 0)]
2626-2635 uart: ['STOPBIT', 1, 1]
2548-2635 uart: ['FRAME', 1, (87, False)]
2635-2644 uart: ['STARTBIT', 1, 0]
Expand All @@ -123,7 +123,7 @@
2808-2895 uart: ['FRAME', 1, (108, False)]
2895-2904 uart: ['STARTBIT', 1, 0]
2904-2964 uart: ['DATA', 1, (100, [[0, 2904, 2912], [0, 2912, 2921], [1, 2921, 2930], [0, 2930, 2938], [0, 2938, 2947], [1, 2947, 2956], [1, 2956, 2964]])]
2964-2973 uart: ['PARITY ERROR', 1, (0, 1)]
2964-2973 uart: ['PARITY ERROR', 1, (1, 0)]
2973-2982 uart: ['STOPBIT', 1, 1]
2895-2982 uart: ['FRAME', 1, (100, False)]
2982-2991 uart: ['STARTBIT', 1, 0]
Expand All @@ -133,7 +133,7 @@
2982-3069 uart: ['FRAME', 1, (33, False)]
3069-3078 uart: ['STARTBIT', 1, 0]
3078-3138 uart: ['DATA', 1, (13, [[1, 3078, 3086], [0, 3086, 3095], [1, 3095, 3104], [1, 3104, 3112], [0, 3112, 3121], [0, 3121, 3130], [0, 3130, 3138]])]
3138-3147 uart: ['PARITY ERROR', 1, (0, 1)]
3138-3147 uart: ['PARITY ERROR', 1, (1, 0)]
3147-3156 uart: ['STOPBIT', 1, 1]
3069-3156 uart: ['FRAME', 1, (13, False)]
3156-3165 uart: ['STARTBIT', 1, 0]
Expand Down Expand Up @@ -171,12 +171,12 @@
4102-4189 uart: ['FRAME', 1, (111, False)]
4189-4198 uart: ['STARTBIT', 1, 0]
4198-4258 uart: ['DATA', 1, (32, [[0, 4198, 4206], [0, 4206, 4215], [0, 4215, 4224], [0, 4224, 4232], [0, 4232, 4241], [1, 4241, 4250], [0, 4250, 4258]])]
4258-4267 uart: ['PARITY ERROR', 1, (0, 1)]
4258-4267 uart: ['PARITY ERROR', 1, (1, 0)]
4267-4276 uart: ['STOPBIT', 1, 1]
4189-4276 uart: ['FRAME', 1, (32, False)]
4275-4284 uart: ['STARTBIT', 1, 0]
4284-4344 uart: ['DATA', 1, (87, [[1, 4284, 4292], [1, 4292, 4301], [1, 4301, 4310], [0, 4310, 4318], [1, 4318, 4327], [0, 4327, 4336], [1, 4336, 4344]])]
4344-4353 uart: ['PARITY ERROR', 1, (0, 1)]
4344-4353 uart: ['PARITY ERROR', 1, (1, 0)]
4353-4362 uart: ['STOPBIT', 1, 1]
4275-4362 uart: ['FRAME', 1, (87, False)]
4362-4371 uart: ['STARTBIT', 1, 0]
Expand All @@ -196,7 +196,7 @@
4536-4623 uart: ['FRAME', 1, (108, False)]
4623-4632 uart: ['STARTBIT', 1, 0]
4632-4692 uart: ['DATA', 1, (100, [[0, 4632, 4640], [0, 4640, 4649], [1, 4649, 4658], [0, 4658, 4666], [0, 4666, 4675], [1, 4675, 4684], [1, 4684, 4692]])]
4692-4701 uart: ['PARITY ERROR', 1, (0, 1)]
4692-4701 uart: ['PARITY ERROR', 1, (1, 0)]
4701-4710 uart: ['STOPBIT', 1, 1]
4623-4710 uart: ['FRAME', 1, (100, False)]
4709-4718 uart: ['STARTBIT', 1, 0]
Expand All @@ -206,7 +206,7 @@
4709-4796 uart: ['FRAME', 1, (33, False)]
4796-4805 uart: ['STARTBIT', 1, 0]
4805-4865 uart: ['DATA', 1, (13, [[1, 4805, 4813], [0, 4813, 4822], [1, 4822, 4831], [1, 4831, 4839], [0, 4839, 4848], [0, 4848, 4857], [0, 4857, 4865]])]
4865-4874 uart: ['PARITY ERROR', 1, (0, 1)]
4865-4874 uart: ['PARITY ERROR', 1, (1, 0)]
4874-4883 uart: ['STOPBIT', 1, 1]
4796-4883 uart: ['FRAME', 1, (13, False)]
4883-4892 uart: ['STARTBIT', 1, 0]
Expand Down Expand Up @@ -244,12 +244,12 @@
5829-5916 uart: ['FRAME', 1, (111, False)]
5916-5925 uart: ['STARTBIT', 1, 0]
5925-5985 uart: ['DATA', 1, (32, [[0, 5925, 5933], [0, 5933, 5942], [0, 5942, 5951], [0, 5951, 5959], [0, 5959, 5968], [1, 5968, 5977], [0, 5977, 5985]])]
5985-5994 uart: ['PARITY ERROR', 1, (0, 1)]
5985-5994 uart: ['PARITY ERROR', 1, (1, 0)]
5994-6003 uart: ['STOPBIT', 1, 1]
5916-6003 uart: ['FRAME', 1, (32, False)]
6003-6012 uart: ['STARTBIT', 1, 0]
6012-6072 uart: ['DATA', 1, (87, [[1, 6012, 6020], [1, 6020, 6029], [1, 6029, 6038], [0, 6038, 6046], [1, 6046, 6055], [0, 6055, 6064], [1, 6064, 6072]])]
6072-6081 uart: ['PARITY ERROR', 1, (0, 1)]
6072-6081 uart: ['PARITY ERROR', 1, (1, 0)]
6081-6090 uart: ['STOPBIT', 1, 1]
6003-6090 uart: ['FRAME', 1, (87, False)]
6090-6099 uart: ['STARTBIT', 1, 0]
Expand All @@ -269,7 +269,7 @@
6263-6350 uart: ['FRAME', 1, (108, False)]
6350-6359 uart: ['STARTBIT', 1, 0]
6359-6419 uart: ['DATA', 1, (100, [[0, 6359, 6367], [0, 6367, 6376], [1, 6376, 6385], [0, 6385, 6393], [0, 6393, 6402], [1, 6402, 6411], [1, 6411, 6419]])]
6419-6428 uart: ['PARITY ERROR', 1, (0, 1)]
6419-6428 uart: ['PARITY ERROR', 1, (1, 0)]
6428-6437 uart: ['STOPBIT', 1, 1]
6350-6437 uart: ['FRAME', 1, (100, False)]
6437-6446 uart: ['STARTBIT', 1, 0]
Expand All @@ -279,7 +279,7 @@
6437-6524 uart: ['FRAME', 1, (33, False)]
6524-6533 uart: ['STARTBIT', 1, 0]
6533-6593 uart: ['DATA', 1, (13, [[1, 6533, 6541], [0, 6541, 6550], [1, 6550, 6559], [1, 6559, 6567], [0, 6567, 6576], [0, 6576, 6585], [0, 6585, 6593]])]
6593-6602 uart: ['PARITY ERROR', 1, (0, 1)]
6593-6602 uart: ['PARITY ERROR', 1, (1, 0)]
6602-6611 uart: ['STOPBIT', 1, 1]
6524-6611 uart: ['FRAME', 1, (13, False)]
6610-6619 uart: ['STARTBIT', 1, 0]
Expand Down

0 comments on commit 7e2f343

Please sign in to comment.