From: Gerhard Sittig Date: Wed, 1 Aug 2018 17:11:33 +0000 (+0200) Subject: mdio: add test for "READ without ADDRESS" (bug #1258) X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=bb4d80fe9827774f2a37de5d2335488e499c0dfd;p=sigrok-test.git mdio: add test for "READ without ADDRESS" (bug #1258) --- diff --git a/decoder/test/mdio/clause45_read_no_address.output b/decoder/test/mdio/clause45_read_no_address.output new file mode 100644 index 0000000..0b7ac43 --- /dev/null +++ b/decoder/test/mdio/clause45_read_no_address.output @@ -0,0 +1,516 @@ +151-551 mdio: bit-val: "1" +551-951 mdio: bit-val: "1" +951-1351 mdio: bit-val: "1" +1351-1751 mdio: bit-val: "1" +1751-2151 mdio: bit-val: "1" +2151-2551 mdio: bit-val: "1" +2551-2951 mdio: bit-val: "1" +2951-3351 mdio: bit-val: "1" +3351-3751 mdio: bit-val: "1" +3751-4152 mdio: bit-val: "1" +4152-4552 mdio: bit-val: "1" +4552-4952 mdio: bit-val: "1" +4952-5352 mdio: bit-val: "1" +5352-5752 mdio: bit-val: "1" +5752-6152 mdio: bit-val: "1" +6152-6552 mdio: bit-val: "1" +6552-6952 mdio: bit-val: "1" +6952-7352 mdio: bit-val: "1" +7352-7752 mdio: bit-val: "1" +7752-8152 mdio: bit-val: "1" +8152-8552 mdio: bit-val: "1" +8552-8952 mdio: bit-val: "1" +8952-9352 mdio: bit-val: "1" +9352-9753 mdio: bit-val: "1" +9753-10153 mdio: bit-val: "1" +10153-10553 mdio: bit-val: "1" +10553-10953 mdio: bit-val: "1" +10953-11353 mdio: bit-val: "1" +11353-11753 mdio: bit-val: "1" +11753-12153 mdio: bit-val: "1" +12153-12553 mdio: bit-val: "1" +12553-12953 mdio: bit-val: "1" +12953-13353 mdio: bit-val: "1" +13353-13753 mdio: bit-val: "1" +13753-14153 mdio: bit-val: "1" +14153-14553 mdio: bit-val: "1" +14553-14953 mdio: bit-val: "1" +14953-15353 mdio: bit-val: "1" +15353-15754 mdio: bit-val: "1" +15754-16154 mdio: bit-val: "1" +16154-16554 mdio: bit-val: "1" +16554-16954 mdio: bit-val: "1" +16954-17354 mdio: bit-val: "1" +17354-17754 mdio: bit-val: "1" +17754-18154 mdio: bit-val: "1" +18154-18554 mdio: bit-val: "1" +18554-18954 mdio: bit-val: "1" +18954-19354 mdio: bit-val: "1" +19354-19754 mdio: bit-val: "1" +19754-20154 mdio: bit-val: "1" +20154-20554 mdio: bit-val: "1" +20554-47359 mdio: bit-val: "1" +47359-47759 mdio: bit-val: "1" +47759-48159 mdio: bit-val: "1" +48159-48559 mdio: bit-val: "1" +48559-48959 mdio: bit-val: "1" +48959-49359 mdio: bit-val: "1" +49359-49759 mdio: bit-val: "1" +49759-50159 mdio: bit-val: "1" +50159-50559 mdio: bit-val: "1" +50559-50960 mdio: bit-val: "1" +50960-51360 mdio: bit-val: "1" +51360-51760 mdio: bit-val: "1" +51760-52160 mdio: bit-val: "1" +52160-52560 mdio: bit-val: "1" +52560-52960 mdio: bit-val: "1" +52960-53360 mdio: bit-val: "1" +53360-53760 mdio: bit-val: "1" +53760-54160 mdio: bit-val: "1" +54160-54560 mdio: bit-val: "1" +54560-54960 mdio: bit-val: "1" +54960-55360 mdio: bit-val: "1" +55360-55760 mdio: bit-val: "1" +55760-56160 mdio: bit-val: "1" +56160-56561 mdio: bit-val: "1" +56561-56961 mdio: bit-val: "1" +56961-57361 mdio: bit-val: "1" +57361-57761 mdio: bit-val: "1" +57761-58161 mdio: bit-val: "1" +58161-58561 mdio: bit-val: "1" +58561-58961 mdio: bit-val: "1" +58961-59361 mdio: bit-val: "1" +59361-59761 mdio: bit-val: "1" +59761-60161 mdio: bit-val: "1" +60161-60561 mdio: bit-val: "1" +60561-60961 mdio: bit-val: "1" +60961-61361 mdio: bit-val: "1" +61361-61761 mdio: bit-val: "1" +61761-62161 mdio: bit-val: "1" +62161-62562 mdio: bit-val: "1" +62562-62962 mdio: bit-val: "1" +62962-63362 mdio: bit-val: "1" +63362-63762 mdio: bit-val: "1" +63762-64162 mdio: bit-val: "1" +64162-64562 mdio: bit-val: "1" +64562-64962 mdio: bit-val: "1" +64962-65362 mdio: bit-val: "1" +65362-65762 mdio: bit-val: "1" +65762-66162 mdio: bit-val: "1" +66162-66562 mdio: bit-val: "1" +66562-66962 mdio: bit-val: "1" +66962-67362 mdio: bit-val: "1" +67362-67762 mdio: bit-val: "1" +67762-68163 mdio: bit-val: "1" +68163-68563 mdio: bit-val: "1" +68563-68963 mdio: bit-val: "1" +68963-69363 mdio: bit-val: "1" +69363-69763 mdio: bit-val: "1" +69763-70163 mdio: bit-val: "1" +70163-70563 mdio: bit-val: "1" +70563-70963 mdio: bit-val: "1" +70963-71363 mdio: bit-val: "1" +71363-71763 mdio: bit-val: "1" +71763-72163 mdio: bit-val: "1" +72163-72563 mdio: bit-val: "1" +72563-72963 mdio: bit-val: "1" +72963-73363 mdio: bit-val: "1" +151-60561 mdio: frame-idle: "IDLE #85" "IDLE" "I" +60561-73363 mdio: frame: "PRE #32" "PRE" "P" +73363-73763 mdio: bit-val: "0" +73763-74164 mdio: bit-val: "0" +73363-74164 mdio: frame: "ST (Clause 45)" "ST 45" "ST" "S" +74164-74564 mdio: bit-val: "1" +74564-74964 mdio: bit-val: "0" +74164-74964 mdio: frame: "OP: READINC" "OP: RI" "OP" "O" +74964-75364 mdio: bit-val: "0" +75364-75764 mdio: bit-val: "0" +75764-76164 mdio: bit-val: "0" +76164-76564 mdio: bit-val: "0" +76564-76964 mdio: bit-val: "0" +74964-76964 mdio: frame: "PRTAD: 00" "PRT" "P" +76964-77364 mdio: bit-val: "1" +77364-77764 mdio: bit-val: "1" +77764-78164 mdio: bit-val: "1" +78164-78564 mdio: bit-val: "1" +78564-78964 mdio: bit-val: "1" +76964-78964 mdio: frame: "DEVAD: 31" "DEV" "D" +78964-79364 mdio: bit-val: "1" +79364-79764 mdio: bit-val: "1" +78964-79764 mdio: frame: "TA" "T" +78964-79764 mdio: frame-error: "TA invalid (bit2)" "TA" "T" +79764-80165 mdio: bit-val: "1" +80165-80565 mdio: bit-val: "1" +80565-80965 mdio: bit-val: "1" +80965-81365 mdio: bit-val: "1" +81365-81765 mdio: bit-val: "1" +81765-82165 mdio: bit-val: "1" +82165-82565 mdio: bit-val: "1" +82565-82965 mdio: bit-val: "1" +82965-83365 mdio: bit-val: "1" +83365-83765 mdio: bit-val: "1" +83765-84165 mdio: bit-val: "1" +84165-84565 mdio: bit-val: "1" +84565-84965 mdio: bit-val: "1" +84965-85365 mdio: bit-val: "1" +85365-85765 mdio: bit-val: "1" +85765-86165 mdio: bit-val: "1" +79764-86165 mdio: frame: "DATA: FFFF" "DATA" "D" +60561-86165 mdio: decode: "ADDR: UKWN READ: FFFF PRTAD: 00 DEVAD: 31 ERROR" "ADDR: UKWN READ: FFFF" +86166-86566 mdio: bit-val: "1" +86566-86966 mdio: bit-val: "1" +86966-87366 mdio: bit-val: "1" +87366-87766 mdio: bit-val: "1" +87766-88166 mdio: bit-val: "1" +88166-88566 mdio: bit-val: "1" +88566-88966 mdio: bit-val: "1" +88966-89366 mdio: bit-val: "1" +89366-89766 mdio: bit-val: "1" +89766-90166 mdio: bit-val: "1" +90166-90566 mdio: bit-val: "1" +90566-90966 mdio: bit-val: "1" +90966-91366 mdio: bit-val: "1" +91366-91767 mdio: bit-val: "1" +91767-92167 mdio: bit-val: "1" +92167-92567 mdio: bit-val: "1" +92567-92967 mdio: bit-val: "1" +92967-93367 mdio: bit-val: "1" +93367-93767 mdio: bit-val: "1" +93767-94167 mdio: bit-val: "1" +94167-94567 mdio: bit-val: "1" +94567-94967 mdio: bit-val: "1" +94967-95367 mdio: bit-val: "1" +95367-95767 mdio: bit-val: "1" +95767-96167 mdio: bit-val: "1" +96167-96567 mdio: bit-val: "1" +96567-96967 mdio: bit-val: "1" +96967-97367 mdio: bit-val: "1" +97367-97768 mdio: bit-val: "1" +97768-98168 mdio: bit-val: "1" +98168-98568 mdio: bit-val: "1" +98568-98968 mdio: bit-val: "1" +98968-99368 mdio: bit-val: "1" +99368-99768 mdio: bit-val: "1" +99768-100168 mdio: bit-val: "1" +100168-100568 mdio: bit-val: "1" +100568-100968 mdio: bit-val: "1" +100968-101368 mdio: bit-val: "1" +101368-101768 mdio: bit-val: "1" +101768-102168 mdio: bit-val: "1" +102168-102568 mdio: bit-val: "1" +102568-102968 mdio: bit-val: "1" +102968-103369 mdio: bit-val: "1" +103369-103769 mdio: bit-val: "1" +103769-104169 mdio: bit-val: "1" +104169-104569 mdio: bit-val: "1" +104569-104969 mdio: bit-val: "1" +104969-131773 mdio: bit-val: "1" +131773-132173 mdio: bit-val: "1" +132173-132574 mdio: bit-val: "1" +132574-132974 mdio: bit-val: "1" +132974-133374 mdio: bit-val: "1" +133374-133774 mdio: bit-val: "1" +133774-134174 mdio: bit-val: "1" +134174-134574 mdio: bit-val: "1" +134574-134974 mdio: bit-val: "1" +134974-135374 mdio: bit-val: "1" +135374-135774 mdio: bit-val: "1" +135774-136174 mdio: bit-val: "1" +136174-136574 mdio: bit-val: "1" +136574-136974 mdio: bit-val: "1" +136974-137374 mdio: bit-val: "1" +137374-137774 mdio: bit-val: "1" +137774-138174 mdio: bit-val: "1" +138174-138575 mdio: bit-val: "1" +138575-138975 mdio: bit-val: "1" +138975-139375 mdio: bit-val: "1" +139375-139775 mdio: bit-val: "1" +139775-140175 mdio: bit-val: "1" +140175-140575 mdio: bit-val: "1" +140575-140975 mdio: bit-val: "1" +140975-141375 mdio: bit-val: "1" +141375-141775 mdio: bit-val: "1" +141775-142175 mdio: bit-val: "1" +142175-142575 mdio: bit-val: "1" +142575-142975 mdio: bit-val: "1" +142975-143375 mdio: bit-val: "1" +143375-143775 mdio: bit-val: "1" +143775-144175 mdio: bit-val: "1" +144175-144576 mdio: bit-val: "1" +144576-144976 mdio: bit-val: "1" +144976-145376 mdio: bit-val: "1" +145376-145776 mdio: bit-val: "1" +145776-146176 mdio: bit-val: "1" +146176-146576 mdio: bit-val: "1" +146576-146976 mdio: bit-val: "1" +146976-147376 mdio: bit-val: "1" +147376-147776 mdio: bit-val: "1" +147776-148176 mdio: bit-val: "1" +148176-148576 mdio: bit-val: "1" +148576-148976 mdio: bit-val: "1" +148976-149376 mdio: bit-val: "1" +149376-149776 mdio: bit-val: "1" +149776-150177 mdio: bit-val: "1" +150177-150577 mdio: bit-val: "1" +150577-150977 mdio: bit-val: "1" +150977-151377 mdio: bit-val: "1" +151377-151777 mdio: bit-val: "1" +151777-152177 mdio: bit-val: "1" +152177-152577 mdio: bit-val: "1" +152577-152977 mdio: bit-val: "1" +152977-153377 mdio: bit-val: "1" +153377-153777 mdio: bit-val: "1" +153777-154177 mdio: bit-val: "1" +154177-154577 mdio: bit-val: "1" +154577-154977 mdio: bit-val: "1" +154977-155377 mdio: bit-val: "1" +155377-155777 mdio: bit-val: "1" +155777-156178 mdio: bit-val: "1" +156178-156578 mdio: bit-val: "1" +156578-156978 mdio: bit-val: "1" +156978-157378 mdio: bit-val: "1" +157378-157778 mdio: bit-val: "1" +86166-144976 mdio: frame-idle: "IDLE #81" "IDLE" "I" +144976-157778 mdio: frame: "PRE #32" "PRE" "P" +157778-158178 mdio: bit-val: "0" +158178-158578 mdio: bit-val: "0" +157778-158578 mdio: frame: "ST (Clause 45)" "ST 45" "ST" "S" +158578-158978 mdio: bit-val: "1" +158978-159378 mdio: bit-val: "0" +158578-159378 mdio: frame: "OP: READINC" "OP: RI" "OP" "O" +159378-159778 mdio: bit-val: "0" +159778-160178 mdio: bit-val: "0" +160178-160578 mdio: bit-val: "0" +160578-160978 mdio: bit-val: "0" +160978-161378 mdio: bit-val: "0" +159378-161378 mdio: frame: "PRTAD: 00" "PRT" "P" +161378-161779 mdio: bit-val: "1" +161779-162179 mdio: bit-val: "1" +162179-162579 mdio: bit-val: "1" +162579-162979 mdio: bit-val: "1" +162979-163379 mdio: bit-val: "1" +161378-163379 mdio: frame: "DEVAD: 31" "DEV" "D" +163379-163779 mdio: bit-val: "1" +163779-164179 mdio: bit-val: "1" +163379-164179 mdio: frame: "TA" "T" +163379-164179 mdio: frame-error: "TA invalid (bit2)" "TA" "T" +164179-164579 mdio: bit-val: "1" +164579-164979 mdio: bit-val: "1" +164979-165379 mdio: bit-val: "1" +165379-165779 mdio: bit-val: "1" +165779-166179 mdio: bit-val: "1" +166179-166579 mdio: bit-val: "1" +166579-166979 mdio: bit-val: "1" +166979-167379 mdio: bit-val: "1" +167379-167780 mdio: bit-val: "1" +167780-168180 mdio: bit-val: "1" +168180-168580 mdio: bit-val: "1" +168580-168980 mdio: bit-val: "1" +168980-169380 mdio: bit-val: "1" +169380-169780 mdio: bit-val: "1" +169780-170180 mdio: bit-val: "1" +170180-170580 mdio: bit-val: "1" +164179-170580 mdio: frame: "DATA: FFFF" "DATA" "D" +144976-170580 mdio: decode: "ADDR: UKWN READ: FFFF PRTAD: 00 DEVAD: 31 ERROR" "ADDR: UKWN READ: FFFF" +170580-170980 mdio: bit-val: "1" +170980-171380 mdio: bit-val: "1" +171380-171780 mdio: bit-val: "1" +171780-172180 mdio: bit-val: "1" +172180-172580 mdio: bit-val: "1" +172580-172980 mdio: bit-val: "1" +172980-173380 mdio: bit-val: "1" +173380-173781 mdio: bit-val: "1" +173781-174181 mdio: bit-val: "1" +174181-174581 mdio: bit-val: "1" +174581-174981 mdio: bit-val: "1" +174981-175381 mdio: bit-val: "1" +175381-175781 mdio: bit-val: "1" +175781-176181 mdio: bit-val: "1" +176181-176581 mdio: bit-val: "1" +176581-176981 mdio: bit-val: "1" +176981-177381 mdio: bit-val: "1" +177381-177781 mdio: bit-val: "1" +177781-178181 mdio: bit-val: "1" +178181-178581 mdio: bit-val: "1" +178581-178981 mdio: bit-val: "1" +178981-179382 mdio: bit-val: "1" +179382-179782 mdio: bit-val: "1" +179782-180182 mdio: bit-val: "1" +180182-180582 mdio: bit-val: "1" +180582-180982 mdio: bit-val: "1" +180982-181382 mdio: bit-val: "1" +181382-181782 mdio: bit-val: "1" +181782-182182 mdio: bit-val: "1" +182182-182582 mdio: bit-val: "1" +182582-182982 mdio: bit-val: "1" +182982-183382 mdio: bit-val: "1" +183382-183782 mdio: bit-val: "1" +183782-184182 mdio: bit-val: "1" +184182-184582 mdio: bit-val: "1" +184582-184983 mdio: bit-val: "1" +184983-185383 mdio: bit-val: "1" +185383-185783 mdio: bit-val: "1" +185783-186183 mdio: bit-val: "1" +186183-186583 mdio: bit-val: "1" +186583-186983 mdio: bit-val: "1" +186983-187383 mdio: bit-val: "1" +187383-187783 mdio: bit-val: "1" +187783-188183 mdio: bit-val: "1" +188183-188583 mdio: bit-val: "1" +188583-188983 mdio: bit-val: "1" +188983-189383 mdio: bit-val: "1" +189383-216188 mdio: bit-val: "1" +216188-216588 mdio: bit-val: "1" +216588-216988 mdio: bit-val: "1" +216988-217388 mdio: bit-val: "1" +217388-217788 mdio: bit-val: "1" +217788-218188 mdio: bit-val: "1" +218188-218588 mdio: bit-val: "1" +218588-218988 mdio: bit-val: "1" +218988-219388 mdio: bit-val: "1" +219388-219788 mdio: bit-val: "1" +219788-220189 mdio: bit-val: "1" +220189-220589 mdio: bit-val: "1" +220589-220989 mdio: bit-val: "1" +220989-221389 mdio: bit-val: "1" +221389-221789 mdio: bit-val: "1" +221789-222189 mdio: bit-val: "1" +222189-222589 mdio: bit-val: "1" +222589-222989 mdio: bit-val: "1" +222989-223389 mdio: bit-val: "1" +223389-223789 mdio: bit-val: "1" +223789-224189 mdio: bit-val: "1" +224189-224589 mdio: bit-val: "1" +224589-224989 mdio: bit-val: "1" +224989-225389 mdio: bit-val: "1" +225389-225789 mdio: bit-val: "1" +225789-226190 mdio: bit-val: "1" +226190-226590 mdio: bit-val: "1" +226590-226990 mdio: bit-val: "1" +226990-227390 mdio: bit-val: "1" +227390-227790 mdio: bit-val: "1" +227790-228190 mdio: bit-val: "1" +228190-228590 mdio: bit-val: "1" +228590-228990 mdio: bit-val: "1" +228990-229390 mdio: bit-val: "1" +229390-229790 mdio: bit-val: "1" +229790-230190 mdio: bit-val: "1" +230190-230590 mdio: bit-val: "1" +230590-230990 mdio: bit-val: "1" +230990-231390 mdio: bit-val: "1" +231390-231790 mdio: bit-val: "1" +231790-232191 mdio: bit-val: "1" +232191-232591 mdio: bit-val: "1" +232591-232991 mdio: bit-val: "1" +232991-233391 mdio: bit-val: "1" +233391-233791 mdio: bit-val: "1" +233791-234191 mdio: bit-val: "1" +234191-234591 mdio: bit-val: "1" +234591-234991 mdio: bit-val: "1" +234991-235391 mdio: bit-val: "1" +235391-235791 mdio: bit-val: "1" +235791-236191 mdio: bit-val: "1" +236191-236591 mdio: bit-val: "1" +236591-236991 mdio: bit-val: "1" +236991-237391 mdio: bit-val: "1" +237391-237791 mdio: bit-val: "1" +237791-238192 mdio: bit-val: "1" +238192-238592 mdio: bit-val: "1" +238592-238992 mdio: bit-val: "1" +238992-239392 mdio: bit-val: "1" +239392-239792 mdio: bit-val: "1" +239792-240192 mdio: bit-val: "1" +240192-240592 mdio: bit-val: "1" +240592-240992 mdio: bit-val: "1" +240992-241392 mdio: bit-val: "1" +241392-241792 mdio: bit-val: "1" +241792-242192 mdio: bit-val: "1" +170580-229390 mdio: frame-idle: "IDLE #81" "IDLE" "I" +229390-242192 mdio: frame: "PRE #32" "PRE" "P" +242192-242592 mdio: bit-val: "0" +242592-242992 mdio: bit-val: "0" +242192-242992 mdio: frame: "ST (Clause 45)" "ST 45" "ST" "S" +242992-243392 mdio: bit-val: "1" +243392-243793 mdio: bit-val: "0" +242992-243793 mdio: frame: "OP: READINC" "OP: RI" "OP" "O" +243793-244193 mdio: bit-val: "0" +244193-244593 mdio: bit-val: "0" +244593-244993 mdio: bit-val: "0" +244993-245393 mdio: bit-val: "0" +245393-245793 mdio: bit-val: "0" +243793-245793 mdio: frame: "PRTAD: 00" "PRT" "P" +245793-246193 mdio: bit-val: "1" +246193-246593 mdio: bit-val: "1" +246593-246993 mdio: bit-val: "1" +246993-247393 mdio: bit-val: "1" +247393-247793 mdio: bit-val: "1" +245793-247793 mdio: frame: "DEVAD: 31" "DEV" "D" +247793-248193 mdio: bit-val: "1" +248193-248593 mdio: bit-val: "1" +247793-248593 mdio: frame: "TA" "T" +247793-248593 mdio: frame-error: "TA invalid (bit2)" "TA" "T" +248593-248993 mdio: bit-val: "1" +248993-249393 mdio: bit-val: "1" +249393-249794 mdio: bit-val: "1" +249794-250194 mdio: bit-val: "1" +250194-250594 mdio: bit-val: "1" +250594-250994 mdio: bit-val: "1" +250994-251394 mdio: bit-val: "1" +251394-251794 mdio: bit-val: "1" +251794-252194 mdio: bit-val: "1" +252194-252594 mdio: bit-val: "1" +252594-252994 mdio: bit-val: "1" +252994-253394 mdio: bit-val: "1" +253394-253794 mdio: bit-val: "1" +253794-254194 mdio: bit-val: "1" +254194-254594 mdio: bit-val: "1" +254594-254994 mdio: bit-val: "1" +248593-254994 mdio: frame: "DATA: FFFF" "DATA" "D" +229390-254994 mdio: decode: "ADDR: UKWN READ: FFFF PRTAD: 00 DEVAD: 31 ERROR" "ADDR: UKWN READ: FFFF" +254994-255395 mdio: bit-val: "1" +255395-255795 mdio: bit-val: "1" +255795-256195 mdio: bit-val: "1" +256195-256595 mdio: bit-val: "1" +256595-256995 mdio: bit-val: "1" +256995-257395 mdio: bit-val: "1" +257395-257795 mdio: bit-val: "1" +257795-258195 mdio: bit-val: "1" +258195-258595 mdio: bit-val: "1" +258595-258995 mdio: bit-val: "1" +258995-259395 mdio: bit-val: "1" +259395-259795 mdio: bit-val: "1" +259795-260195 mdio: bit-val: "1" +260195-260595 mdio: bit-val: "1" +260595-260995 mdio: bit-val: "1" +260995-261396 mdio: bit-val: "1" +261396-261796 mdio: bit-val: "1" +261796-262196 mdio: bit-val: "1" +262196-262596 mdio: bit-val: "1" +262596-262996 mdio: bit-val: "1" +262996-263396 mdio: bit-val: "1" +263396-263796 mdio: bit-val: "1" +263796-264196 mdio: bit-val: "1" +264196-264596 mdio: bit-val: "1" +264596-264996 mdio: bit-val: "1" +264996-265396 mdio: bit-val: "1" +265396-265796 mdio: bit-val: "1" +265796-266196 mdio: bit-val: "1" +266196-266596 mdio: bit-val: "1" +266596-266997 mdio: bit-val: "1" +266997-267397 mdio: bit-val: "1" +267397-267797 mdio: bit-val: "1" +267797-268197 mdio: bit-val: "1" +268197-268597 mdio: bit-val: "1" +268597-268997 mdio: bit-val: "1" +268997-269397 mdio: bit-val: "1" +269397-269797 mdio: bit-val: "1" +269797-270197 mdio: bit-val: "1" +270197-270597 mdio: bit-val: "1" +270597-270997 mdio: bit-val: "1" +270997-271397 mdio: bit-val: "1" +271397-271797 mdio: bit-val: "1" +271797-272197 mdio: bit-val: "1" +272197-272597 mdio: bit-val: "1" +272597-272998 mdio: bit-val: "1" +272998-273398 mdio: bit-val: "1" +273398-273798 mdio: bit-val: "1" diff --git a/decoder/test/mdio/clause45_read_no_address.python b/decoder/test/mdio/clause45_read_no_address.python new file mode 100644 index 0000000..9f02764 --- /dev/null +++ b/decoder/test/mdio/clause45_read_no_address.python @@ -0,0 +1,3 @@ +60561-86165 mdio: [(True, -1, True, 0, 31, 65535)] +144976-170580 mdio: [(True, -1, True, 0, 31, 65535)] +229390-254994 mdio: [(True, -1, True, 0, 31, 65535)] diff --git a/decoder/test/mdio/test.conf b/decoder/test/mdio/test.conf index 8b8b140..1baba12 100644 --- a/decoder/test/mdio/test.conf +++ b/decoder/test/mdio/test.conf @@ -27,3 +27,9 @@ test clause45_pluggable_transceiver input mdio/misc/clause45_pluggable_transceiver.sr output mdio annotation match clause45_pluggable_transceiver.output output mdio python match clause45_pluggable_transceiver.python + +test clause45_read_no_address + protocol-decoder mdio channel mdc=0 channel mdio=1 + input mdio/misc/clause45_read_no_address.sr + output mdio annotation match clause45_read_no_address.output + output mdio python match clause45_read_no_address.python