Bug fix for ZC dids

The bit string was mirrored in the DID API function

Change-Id: Ia03d7cda1f59a089832eaf0433a6f7454b3c6fd3
This commit is contained in:
Henrik Wahlqvist 2025-02-13 08:47:06 +01:00
parent 52e12b8a3e
commit dd28503adf
3 changed files with 51 additions and 51 deletions

98
NOTICE
View File

@ -12,7 +12,7 @@ Notices Report Content
Components:
Coverage 7.6.11: http://nedbatchelder.com/code/modules/coverage.html : Apache License 2.0
Coverage 7.6.12: http://nedbatchelder.com/code/modules/coverage.html : Apache License 2.0
exceptiongroup 1.2.2: https://github.com/python-trio/exceptiongroup : MIT License
flake8 7.1.1: https://gitlab.com/pycqa/flake8 : MIT License
gitdb 4.0.12: http://github.com/gitpython-developers/gitdb : BSD 3-clause "New" or "Revised" License
@ -41,7 +41,7 @@ voluptuous 0.15.2: http://pypi.python.org/pypi/voluptuous : BSD 3-clause "New" o
Copyright Text:
Coverage 7.6.11 pypi:coverage/7.6.11: http://nedbatchelder.com/code/modules/coverage.html
Coverage 7.6.12 pypi:coverage/7.6.12: http://nedbatchelder.com/code/modules/coverage.html
No Copyrights found
exceptiongroup 1.2.2 pypi:exceptiongroup/1.2.2: https://github.com/python-trio/exceptiongroup
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
@ -2732,11 +2732,6 @@ pytest 8.3.4 pypi:pytest/8.3.4: http://pytest.org
Copyright Holger Krekel and others, 2004.
python-certifi 2024.7.4 pypi:certifi/2024.7.4: https://certifiio.readthedocs.io/en/latest/
No Copyrights found
python-pluggy 1.5.0 pypi:pluggy/1.5.0: https://pypi.python.org/pypi/pluggy
Copyright (c) 2015 holger krekel (rather uses bitbucket/hpk42)
python3-charset-normalizer 3.4.1 pypi:charset-normalizer/3.4.1: https://github.com/ousret/charset_normalizer
(c) https://stackoverflow.com/questions/3041986/apt-command-line-interface-like-yes-no-input
"""
@ -2772,6 +2767,11 @@ author = 'Ahmed TAHRI'
©<><C2A9><EFBFBD><EFBFBD>-<2D>52 <06>b<EFBFBD>]ct<63><11>M<EFBFBD>
<EFBFBD>C<EFBFBD>Ufw <0A><>٧<EFBFBD><D9A7>x<EFBFBD>h<>n<EFBFBD>&d<><64><EFBFBD>U +<2B>u*gG@"<22><>4<EFBFBD>TW <17>]愅<>$Q<><51><EFBFBD><EFBFBD>aRL 6KXo<06>5<08> <0A><><EFBFBD>P ^0<>yQDX<44><58>UbF5?<3F><61>6Ȉ<7F>f}<7D>5<EFBFBD><35>H<EFBFBD>W<EFBFBD><57><EFBFBD>[<1A>9B8<42>?<3F><>5W<35>ZZ<5A><5A>d<><64>*s<><73>M<EFBFBD>J<EFBFBD>X)<29><>U<EFBFBD>Ӛ@02<30>`J<><4A>/.^c)ndJ<64><4A>F<EFBFBD>6"Ŵj<C5B4><6A>ch<63><1A><><EFBFBD>4/<2F><>e_JT<><54>h<EFBFBD>T<EFBFBD><37><D4B1><EFBFBD>7n<37>n<EFBFBD><6E>!<21>Z<EFBFBD>ɩA<C9A9><41>X6<58>Н<EFBFBD>){<08>4<EFBFBD>T<EFBFBD><54><EFBFBD>fV[=,<2C>A~oO8#<23><><EFBFBD><EFBFBD><03>2<EFBFBD><32>S<>z<EFBFBD>I<EFBFBD><49>kK\T1<54><31>D<1C><>L<EFBFBD>s<>&<26><><EFBFBD><EFBFBD>Bul PU<50> <09>4<EFBFBD>`<60>f+<2B>#<23>&Z<0F><><EFBFBD> <0C>k<EFBFBD><18><>jfT<66>&<26>TH"Qa<51><61><EFBFBD>I n<>}<7D>B<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD>k<EFBFBD><6B><EFBFBD><EFBFBD>&"L<>l<EFBFBD>U<18>Xf<><66><EFBFBD>GWWg<>D<EFBFBD><44>f34<18><><EFBFBD>Ϧj<CFA6>=<3D>$%<25>ۚ@<40>сײ@_
p<0F><> <20>G<EFBFBD><14><>Ei<45><69><EFBFBD>6엽<36>\<5C>X<03>y<EFBFBD>1<EFBFBD>i<EFBFBD><69> <0A><><EFBFBD>X<EFBFBD>@N<><4E><EFBFBD>-<2D>s'yy1<79>a跭#<23> _<> <20>c<EFBFBD>{<7B><>.<1A><><EFBFBD>B<EFBFBD>.lZ7<5A><37><EFBFBD><EFBFBD> mk<6D>f<EFBFBD>e_<65>dM<64>(փ|<7C> zo<7A><6F>0S<30>6<1F>e<EFBFBD><65><EFBFBD><EFBFBD>X<01><>k<EFBFBD><6B><EFBFBD><EFBFBD>V<EFBFBD> IE*8S<38><53><EFBFBD>\?f83<38>k<EFBFBD><6B>U<EFBFBD> P<>%Ql1<6C><31>M,<2C><>p?<3F>hEU<45>CD7<44>#<03><><EFBFBD>0*<2A>+<2B><02>Z<EFBFBD>G<EFBFBD><47>K<EFBFBD><4B>5<EFBFBD>KF<4B>"<22>,a<><61> <0C>bU<62>Z<EFBFBD>9V=;% /4<><34><EFBFBD><EFBFBD>\qi<71><69>=e<>!<21>TTn<54>?<3F><>,wd<77>6<><36>E<EFBFBD><45>@K<>Ȼ<EFBFBD><C8BB>󑟈DPnps<70><73><02>2<EFBFBD><18><05>R<><52><16><15>ix.-<2D><>ߊ<19><>y<>W<1F>y-<1B><>[<5B>$<24>ih޼<68><DEBC>]bmXG<58>S<15>ŒU<C592><55>e_l<5F>j<EFBFBD>X2Ƙ<15>:-<2D>o<EFBFBD><6F><EFBFBD>}<7D>ɝO<C99D>U<EFBFBD><55>c<EFBFBD>S<EFBFBD>O<EFBFBD>m<01> <0B>MpZѸQrC<15><1D><><EFBFBD>s<EFBFBD><73><q<>z<18>4ZE[<0F><><EFBFBD>B|<7C>Y%X+7<12>0<EFBFBD><04>M<EFBFBD><08>U<EFBFBD><01>قi<D982><69>a$pE<19>c
python-certifi 2024.7.4 pypi:certifi/2024.7.4: https://certifiio.readthedocs.io/en/latest/
No Copyrights found
python-pluggy 1.5.0 pypi:pluggy/1.5.0: https://pypi.python.org/pypi/pluggy
Copyright (c) 2015 holger krekel (rather uses bitbucket/hpk42)
RonnyPfannschmidt/iniconfig 2.0.0 pypi:iniconfig/2.0.0: https://github.com/RonnyPfannschmidt/iniconfig
(C) Ronny Pfannschmidt, Holger Krekel -- MIT licensed
"""
@ -4981,10 +4981,10 @@ const int always_fail_option = 2;
#if !defined(BOOST_ASIO_NOEXCEPT_IF)
# if defined(BOOST_ASIO_HAS_NOEXCEPT)
(c) c
(C) C
(c) c
(C) C
#endif
@ -7395,10 +7395,10 @@ Arpack has been renamed to arpack-ng.
#
# All rights reserved.
Copyright (c) 2001, 2002 Peter Dimov
Copyright (C) 2001, 2002 Peter Dimov
Copyright (c) 2001, 2002 Peter Dimov
Copyright (c) 2001, 2002 Peter Dimov and Multi Media Ltd.
Copyright (c) 2001, 2002 Python Software Foundation; All Rights
@ -7446,10 +7446,10 @@ are met:
from this software without specific prior written permission.
Copyright (c) 2001-2002 Joel de Guzman
Copyright (C) 2001-2002 Joel de Guzman
Copyright (c) 2001-2002 Joel de Guzman
Copyright (C) 2001-2003
Copyright (C) 2001-2003
@ -8016,10 +8016,10 @@ met:
Copyright (C) 2006 The Trustees of Indiana University.
Copyright (c) 2006 Tobias Schwinger
Copyright (C) 2006 Tobias Schwinger
Copyright (c) 2006 Tobias Schwinger
Copyright (c) 2006 Tomas Puverle
Copyright (C) 2006 Trustees of Indiana University
@ -9701,11 +9701,11 @@ are permitted provided that the following conditions are met:
Copyright (c) 2014 Ahmed Charles
//
Copyright (c) 2014 Andrey Semashev
Copyright (C) 2014 Andrey Semashev
Copyright (c) 2014 Andrey Semashev
Copyright (c) 2014 Andrey Semashev
*/
Copyright (c) 2014 Barend Gehrels, Amsterdam, the Netherlands.
@ -9794,12 +9794,12 @@ are permitted provided that the following conditions are met:
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
copyright (c) 2014, 2018, Oracle and/or its affiliates.
Copyright (c) 2014, 2018, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2014, 2018, Oracle and/or its affiliates.
copyright (c) 2014, 2018, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -9812,12 +9812,12 @@ are permitted provided that the following conditions are met:
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
copyright (c) 2014, 2019, Oracle and/or its affiliates.
Copyright (c) 2014, 2019, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2014, 2019, Oracle and/or its affiliates.
copyright (c) 2014, 2019, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -9988,11 +9988,11 @@ are permitted provided that the following conditions are met:
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
copyright (c) 2014-2018 Oracle and/or its affiliates.
Copyright (c) 2014-2018 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2014-2018 Oracle and/or its affiliates.
copyright (c) 2014-2018 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10260,12 +10260,12 @@ are permitted provided that the following conditions are met:
Copyright (c) 2015-2017 The MathJax Consortium
copyright (c) 2015-2017, Oracle and/or its affiliates.
Copyright (c) 2015-2017, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2015-2017, Oracle and/or its affiliates.
copyright (c) 2015-2017, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10287,12 +10287,12 @@ are permitted provided that the following conditions are met:
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
copyright (c) 2015-2018, Oracle and/or its affiliates.
Copyright (c) 2015-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2015-2018, Oracle and/or its affiliates.
copyright (c) 2015-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10367,13 +10367,13 @@ are permitted provided that the following conditions are met:
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Contributed and/or modified by Adeel Ahmad, as part of Google Summer of Code 2018 program
copyright (c) 2015-2020, Oracle and/or its affiliates.
Copyright (c) 2015-2020, Oracle and/or its affiliates.
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2015-2020, Oracle and/or its affiliates.
copyright (c) 2015-2020, Oracle and/or its affiliates.
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
@ -10511,10 +10511,10 @@ are permitted provided that the following conditions are met:
*
* Symbolic solve with triangular matrix
copyright (c) 2016-2018 Oracle and/or its affiliates.
Copyright (c) 2016-2018 Oracle and/or its affiliates.
copyright (c) 2016-2018 Oracle and/or its affiliates.
Copyright (C) 2016-2018 T. Zachary Laine
Copyright (C) 2016-2019 ERGO-Code
@ -10553,10 +10553,10 @@ are permitted provided that the following conditions are met:
Copyright (c) 2016-2020 Antony Polukhin
//
copyright (c) 2016-2020 Oracle and/or its affiliates.
Copyright (c) 2016-2020 Oracle and/or its affiliates.
copyright (c) 2016-2020 Oracle and/or its affiliates.
Copyright (c) 2016-2020 Oracle and/or its affiliates.
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
@ -10680,11 +10680,11 @@ are permitted provided that the following conditions are met:
copyright (c) 2017 Oracle and/or its affiliates.
copyright (c) 2017 Oracle and/or its affiliates.
Copyright (c) 2017 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2017 Oracle and/or its affiliates.
copyright (c) 2017 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10733,10 +10733,10 @@ are permitted provided that the following conditions are met:
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
copyright (c) 2017-2018, Oracle and/or its affiliates.
Copyright (c) 2017-2018, Oracle and/or its affiliates.
copyright (c) 2017-2018, Oracle and/or its affiliates.
Copyright (c) 2017-2018, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10758,15 +10758,15 @@ are permitted provided that the following conditions are met:
// Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
copyright (c) 2017-2020 Oracle and/or its affiliates.
Copyright (c) 2017-2020 Oracle and/or its affiliates.
copyright (c) 2017-2020 Oracle and/or its affiliates.
Copyright (c) 2017-2020 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
Copyright (c) 2017-2020 Oracle and/or its affiliates.
copyright (c) 2017-2020 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10775,11 +10775,11 @@ are permitted provided that the following conditions are met:
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
copyright (c) 2017-2020, Oracle and/or its affiliates.
Copyright (c) 2017-2020, Oracle and/or its affiliates.
copyright (c) 2017-2020, Oracle and/or its affiliates.
copyright (c) 2017-2020, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -10903,11 +10903,11 @@ Unit tests for the dual annealing global optimizer
Copyright (c) 2018, Cem Bassoy, cem.bassoy@gmail.com
copyright (c) 2018, Oracle and/or its affiliates.
Copyright (c) 2018, Oracle and/or its affiliates.
copyright (c) 2018, Oracle and/or its affiliates.
copyright (c) 2018, Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
@ -11144,12 +11144,12 @@ For the odd-sized DCT-IV transforms:
copyright (c) 2020 Oracle and/or its affiliates.
copyright (c) 2020 Oracle and/or its affiliates.
Copyright (c) 2020 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
Copyright (c) 2020 Oracle and/or its affiliates.
copyright (c) 2020 Oracle and/or its affiliates.
// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
@ -13127,10 +13127,10 @@ package originally developed by Stephen G. Nash in Fortran.
copyright Louis Dionne 2013-2016
copyright Louis Dionne 2013-2017
Copyright Louis Dionne 2013-2017
copyright Louis Dionne 2013-2017
copyright Louis Dionne 2016
Copyright Marco Guazzone 2014
@ -13635,7 +13635,7 @@ modification, are permitted provided that the following conditions are met:
Licenses:
Apache License 2.0
(Coverage 7.6.11, Packaging 24.2, pbr 6.1.1, psf-requests 2.32.3)
(Coverage 7.6.12, Packaging 24.2, pbr 6.1.1, psf-requests 2.32.3)
Apache License
Version 2.0, January 2004

View File

@ -679,7 +679,7 @@ class ZCDIDs(ProblemLogger):
read_data_definition = (
'{\n'
f' for (UInt8 i = 0U; i < {array_size}; i++) {{\n'
f' Data[i] = ({did_data["name"]} >> (8 * i)) & 0xFF;\n'
f' Data[{array_size} - 1 - i] = ({did_data["name"]} >> (8 * i)) & 0xFF;\n'
' }\n'
' return 0U;\n'
'}\n'

View File

@ -164,7 +164,7 @@ test_get_operation_data_expected = {
'body': (
'{\n'
' for (UInt8 i = 0U; i < 4; i++) {\n'
' Data[i] = (dummy_did_two >> (8 * i)) & 0xFF;\n'
' Data[4 - 1 - i] = (dummy_did_two >> (8 * i)) & 0xFF;\n'
' }\n'
' return 0U;\n'
'}\n'