pyadi-jif 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyadi-jif might be problematic. Click here for more details.

Files changed (106) hide show
  1. pyadi_jif-0.1.0/AUTHORS.rst +13 -0
  2. pyadi_jif-0.1.0/CONTRIBUTING.rst +124 -0
  3. pyadi_jif-0.1.0/HISTORY.rst +8 -0
  4. pyadi_jif-0.1.0/LICENSE +277 -0
  5. pyadi_jif-0.1.0/MANIFEST.in +16 -0
  6. pyadi_jif-0.1.0/PKG-INFO +62 -0
  7. pyadi_jif-0.1.0/README.md +40 -0
  8. pyadi_jif-0.1.0/adijif/__init__.py +32 -0
  9. pyadi_jif-0.1.0/adijif/adijif.py +1 -0
  10. pyadi_jif-0.1.0/adijif/cli.py +21 -0
  11. pyadi_jif-0.1.0/adijif/clocks/__init__.py +10 -0
  12. pyadi_jif-0.1.0/adijif/clocks/ad9523.py +321 -0
  13. pyadi_jif-0.1.0/adijif/clocks/ad9523_1_bf.py +91 -0
  14. pyadi_jif-0.1.0/adijif/clocks/ad9528.py +444 -0
  15. pyadi_jif-0.1.0/adijif/clocks/ad9528_bf.py +70 -0
  16. pyadi_jif-0.1.0/adijif/clocks/ad9545.py +553 -0
  17. pyadi_jif-0.1.0/adijif/clocks/clock.py +153 -0
  18. pyadi_jif-0.1.0/adijif/clocks/hmc7044.py +558 -0
  19. pyadi_jif-0.1.0/adijif/clocks/hmc7044_bf.py +68 -0
  20. pyadi_jif-0.1.0/adijif/clocks/ltc6952.py +624 -0
  21. pyadi_jif-0.1.0/adijif/clocks/ltc6952_bf.py +67 -0
  22. pyadi_jif-0.1.0/adijif/clocks/ltc6953.py +509 -0
  23. pyadi_jif-0.1.0/adijif/common.py +70 -0
  24. pyadi_jif-0.1.0/adijif/converters/__init__.py +3 -0
  25. pyadi_jif-0.1.0/adijif/converters/ad9081.py +679 -0
  26. pyadi_jif-0.1.0/adijif/converters/ad9081_dp.py +206 -0
  27. pyadi_jif-0.1.0/adijif/converters/ad9081_util.py +124 -0
  28. pyadi_jif-0.1.0/adijif/converters/ad9084.py +588 -0
  29. pyadi_jif-0.1.0/adijif/converters/ad9084_dp.py +111 -0
  30. pyadi_jif-0.1.0/adijif/converters/ad9084_draw.py +203 -0
  31. pyadi_jif-0.1.0/adijif/converters/ad9084_util.py +365 -0
  32. pyadi_jif-0.1.0/adijif/converters/ad9144.py +316 -0
  33. pyadi_jif-0.1.0/adijif/converters/ad9144_bf.py +44 -0
  34. pyadi_jif-0.1.0/adijif/converters/ad9680.py +201 -0
  35. pyadi_jif-0.1.0/adijif/converters/ad9680_bf.py +43 -0
  36. pyadi_jif-0.1.0/adijif/converters/ad9680_draw.py +184 -0
  37. pyadi_jif-0.1.0/adijif/converters/adc.py +83 -0
  38. pyadi_jif-0.1.0/adijif/converters/adrv9009.py +426 -0
  39. pyadi_jif-0.1.0/adijif/converters/adrv9009_bf.py +43 -0
  40. pyadi_jif-0.1.0/adijif/converters/adrv9009_util.py +89 -0
  41. pyadi_jif-0.1.0/adijif/converters/converter.py +399 -0
  42. pyadi_jif-0.1.0/adijif/converters/dac.py +85 -0
  43. pyadi_jif-0.1.0/adijif/converters/resources/AD9084_JTX_JRX.xlsx +0 -0
  44. pyadi_jif-0.1.0/adijif/converters/resources/ad9081_JRx_204B.csv +180 -0
  45. pyadi_jif-0.1.0/adijif/converters/resources/ad9081_JRx_204C.csv +411 -0
  46. pyadi_jif-0.1.0/adijif/converters/resources/ad9081_JTx_204B.csv +1488 -0
  47. pyadi_jif-0.1.0/adijif/converters/resources/ad9081_JTx_204C.csv +1064 -0
  48. pyadi_jif-0.1.0/adijif/converters/resources/full_rx_mode_table_ad9081.csv +1904 -0
  49. pyadi_jif-0.1.0/adijif/converters/resources/full_tx_mode_table_ad9081.csv +994 -0
  50. pyadi_jif-0.1.0/adijif/d2/__init__.py +26 -0
  51. pyadi_jif-0.1.0/adijif/d2/d2lib.h +81 -0
  52. pyadi_jif-0.1.0/adijif/draw.py +498 -0
  53. pyadi_jif-0.1.0/adijif/fpgas/__init__.py +1 -0
  54. pyadi_jif-0.1.0/adijif/fpgas/fpga.py +64 -0
  55. pyadi_jif-0.1.0/adijif/fpgas/xilinx/__init__.py +1143 -0
  56. pyadi_jif-0.1.0/adijif/fpgas/xilinx/bf.py +101 -0
  57. pyadi_jif-0.1.0/adijif/fpgas/xilinx/pll.py +232 -0
  58. pyadi_jif-0.1.0/adijif/fpgas/xilinx/sevenseries.py +531 -0
  59. pyadi_jif-0.1.0/adijif/fpgas/xilinx/ultrascaleplus.py +485 -0
  60. pyadi_jif-0.1.0/adijif/fpgas/xilinx/xilinx_draw.py +516 -0
  61. pyadi_jif-0.1.0/adijif/gekko_trans.py +295 -0
  62. pyadi_jif-0.1.0/adijif/jesd.py +760 -0
  63. pyadi_jif-0.1.0/adijif/plls/__init__.py +3 -0
  64. pyadi_jif-0.1.0/adijif/plls/adf4030.py +259 -0
  65. pyadi_jif-0.1.0/adijif/plls/adf4371.py +419 -0
  66. pyadi_jif-0.1.0/adijif/plls/adf4382.py +581 -0
  67. pyadi_jif-0.1.0/adijif/plls/pll.py +103 -0
  68. pyadi_jif-0.1.0/adijif/solvers.py +54 -0
  69. pyadi_jif-0.1.0/adijif/sys/__init__.py +1 -0
  70. pyadi_jif-0.1.0/adijif/sys/s_plls.py +185 -0
  71. pyadi_jif-0.1.0/adijif/system.py +567 -0
  72. pyadi_jif-0.1.0/adijif/system_draw.py +65 -0
  73. pyadi_jif-0.1.0/adijif/types.py +151 -0
  74. pyadi_jif-0.1.0/adijif/utils.py +191 -0
  75. pyadi_jif-0.1.0/pyadi_jif.egg-info/PKG-INFO +62 -0
  76. pyadi_jif-0.1.0/pyadi_jif.egg-info/SOURCES.txt +105 -0
  77. pyadi_jif-0.1.0/pyadi_jif.egg-info/dependency_links.txt +1 -0
  78. pyadi_jif-0.1.0/pyadi_jif.egg-info/requires.txt +10 -0
  79. pyadi_jif-0.1.0/pyadi_jif.egg-info/top_level.txt +1 -0
  80. pyadi_jif-0.1.0/pyproject.toml +48 -0
  81. pyadi_jif-0.1.0/setup.cfg +52 -0
  82. pyadi_jif-0.1.0/tests/__init__.py +1 -0
  83. pyadi_jif-0.1.0/tests/apollo_profiles/ad9084_profiles/id00_stock_mode.bin +0 -0
  84. pyadi_jif-0.1.0/tests/apollo_profiles/ad9084_profiles/id00_stock_mode.blueprint +1110 -0
  85. pyadi_jif-0.1.0/tests/apollo_profiles/ad9084_profiles/id00_stock_mode.h +3126 -0
  86. pyadi_jif-0.1.0/tests/apollo_profiles/ad9084_profiles/id00_stock_mode.hpp +3123 -0
  87. pyadi_jif-0.1.0/tests/apollo_profiles/ad9084_profiles/id00_stock_mode.json +3417 -0
  88. pyadi_jif-0.1.0/tests/apollo_profiles/ad9084_profiles/id00_stock_mode.summary +322 -0
  89. pyadi_jif-0.1.0/tests/common.py +12 -0
  90. pyadi_jif-0.1.0/tests/conftest.py +8 -0
  91. pyadi_jif-0.1.0/tests/test_ad9081.py +501 -0
  92. pyadi_jif-0.1.0/tests/test_ad9084.py +136 -0
  93. pyadi_jif-0.1.0/tests/test_adf4030.py +82 -0
  94. pyadi_jif-0.1.0/tests/test_adf4371.py +227 -0
  95. pyadi_jif-0.1.0/tests/test_adf4382.py +160 -0
  96. pyadi_jif-0.1.0/tests/test_adrv9009.py +190 -0
  97. pyadi_jif-0.1.0/tests/test_bf.py +1351 -0
  98. pyadi_jif-0.1.0/tests/test_clocks.py +319 -0
  99. pyadi_jif-0.1.0/tests/test_daq2.py +213 -0
  100. pyadi_jif-0.1.0/tests/test_draw.py +223 -0
  101. pyadi_jif-0.1.0/tests/test_examples.py +20 -0
  102. pyadi_jif-0.1.0/tests/test_fpga.py +32 -0
  103. pyadi_jif-0.1.0/tests/test_jesd.py +20 -0
  104. pyadi_jif-0.1.0/tests/test_system.py +88 -0
  105. pyadi_jif-0.1.0/tests/test_utils.py +190 -0
  106. pyadi_jif-0.1.0/tests/test_xilinx_pll.py +98 -0
@@ -0,0 +1,13 @@
1
+ =======
2
+ Credits
3
+ =======
4
+
5
+ Development Lead
6
+ ----------------
7
+
8
+ * Travis F. Collins <travis.collins@analog.com>
9
+
10
+ Contributors
11
+ ------------
12
+
13
+ None yet. Why not be the first?
@@ -0,0 +1,124 @@
1
+ .. highlight:: shell
2
+
3
+ ============
4
+ Contributing
5
+ ============
6
+
7
+ Contributions are welcome, and they are greatly appreciated! Every little bit
8
+ helps, and credit will always be given.
9
+
10
+ You can contribute in many ways:
11
+
12
+ Types of Contributions
13
+ ----------------------
14
+
15
+ Report Bugs
16
+ ~~~~~~~~~~~
17
+
18
+ Report bugs at https://github.com/analogdevicesinc/pyadi-jif/issues.
19
+
20
+ If you are reporting a bug, please include:
21
+
22
+ * Your operating system name and version.
23
+ * Any details about your local setup that might be helpful in troubleshooting.
24
+ * Detailed steps to reproduce the bug.
25
+
26
+ Fix Bugs
27
+ ~~~~~~~~
28
+
29
+ Look through the GitHub issues for bugs. Anything tagged with "bug" and "help
30
+ wanted" is open to whoever wants to implement it.
31
+
32
+ Implement Features
33
+ ~~~~~~~~~~~~~~~~~~
34
+
35
+ Look through the GitHub issues for features. Anything tagged with "enhancement"
36
+ and "help wanted" is open to whoever wants to implement it.
37
+
38
+ Write Documentation
39
+ ~~~~~~~~~~~~~~~~~~~
40
+
41
+ pyadi-jif could always use more documentation, whether as part of the
42
+ official pyadi-jif docs, in docstrings, or even on the web in blog posts,
43
+ articles, and such.
44
+
45
+ Submit Feedback
46
+ ~~~~~~~~~~~~~~~
47
+
48
+ The best way to send feedback is to file an issue at https://github.com/analogdevicesinc/pyadi-jif/issues.
49
+
50
+ If you are proposing a feature:
51
+
52
+ * Explain in detail how it would work.
53
+ * Keep the scope as narrow as possible, to make it easier to implement.
54
+ * Remember that this is a volunteer-driven project, and that contributions
55
+ are welcome :)
56
+
57
+ Get Started!
58
+ ------------
59
+
60
+ Ready to contribute? Here's how to set up `pyadi-jif` for local development.
61
+
62
+ 1. Fork the `pyadi-jif` repo on GitHub.
63
+ 2. Clone your fork locally::
64
+
65
+ $ git clone git@github.com:your_name_here/pyadi-jif.git
66
+
67
+ 3. Install your local copy into a poetry virtualenv. Assuming you have poetry (and make) installed, this is how you set up your fork for local development::
68
+
69
+ $ cd pyadi-jif/
70
+ $ make dev
71
+
72
+ 4. Create a branch for local development::
73
+
74
+ $ git checkout -b name-of-your-bugfix-or-feature
75
+
76
+ Now you can make your changes locally.
77
+
78
+ 5. When you're done making changes, check that your changes pass flake8 and the
79
+ tests, including testing other Python versions with tox::
80
+
81
+ $ make test
82
+ $ make lint
83
+
84
+ 6. Commit your changes and push your branch to GitHub::
85
+
86
+ $ git add .
87
+ $ git commit -m "Your detailed description of your changes."
88
+ $ git push origin name-of-your-bugfix-or-feature
89
+
90
+ 7. Submit a pull request through the GitHub website.
91
+
92
+ Pull Request Guidelines
93
+ -----------------------
94
+
95
+ Before you submit a pull request, check that it meets these guidelines:
96
+
97
+ 1. The pull request should include tests.
98
+ 2. If the pull request adds functionality, the docs should be updated. Put
99
+ your new functionality into a function with a docstring, and add the
100
+ feature to the list in README.rst.
101
+ 3. The pull request should work for Python 3.7, 3.8 and 3.9. Check
102
+ https://github.com/analogdevicesinc/pyadi-jif/actions
103
+ and make sure that the tests pass for all supported Python versions.
104
+
105
+ Tips
106
+ ----
107
+
108
+ To run a subset of tests::
109
+
110
+ $ pytest tests.test_adijif
111
+
112
+
113
+ Deploying
114
+ ---------
115
+
116
+ A reminder for the maintainers on how to deploy.
117
+ Make sure all your changes are committed (including an entry in HISTORY.rst).
118
+ Then run::
119
+
120
+ $ bump2version patch # possible: major / minor / patch
121
+ $ git push
122
+ $ git push --tags
123
+
124
+ Travis will then deploy to PyPI if tests pass.
@@ -0,0 +1,8 @@
1
+ =======
2
+ History
3
+ =======
4
+
5
+ 0.0.1 (2020-11-25)
6
+ ------------------
7
+
8
+ * First release on PyPI.
@@ -0,0 +1,277 @@
1
+ Eclipse Public License - v 2.0
2
+
3
+ THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE
4
+ PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION
5
+ OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
6
+
7
+ 1. DEFINITIONS
8
+
9
+ "Contribution" means:
10
+
11
+ a) in the case of the initial Contributor, the initial content
12
+ Distributed under this Agreement, and
13
+
14
+ b) in the case of each subsequent Contributor:
15
+ i) changes to the Program, and
16
+ ii) additions to the Program;
17
+ where such changes and/or additions to the Program originate from
18
+ and are Distributed by that particular Contributor. A Contribution
19
+ "originates" from a Contributor if it was added to the Program by
20
+ such Contributor itself or anyone acting on such Contributor's behalf.
21
+ Contributions do not include changes or additions to the Program that
22
+ are not Modified Works.
23
+
24
+ "Contributor" means any person or entity that Distributes the Program.
25
+
26
+ "Licensed Patents" mean patent claims licensable by a Contributor which
27
+ are necessarily infringed by the use or sale of its Contribution alone
28
+ or when combined with the Program.
29
+
30
+ "Program" means the Contributions Distributed in accordance with this
31
+ Agreement.
32
+
33
+ "Recipient" means anyone who receives the Program under this Agreement
34
+ or any Secondary License (as applicable), including Contributors.
35
+
36
+ "Derivative Works" shall mean any work, whether in Source Code or other
37
+ form, that is based on (or derived from) the Program and for which the
38
+ editorial revisions, annotations, elaborations, or other modifications
39
+ represent, as a whole, an original work of authorship.
40
+
41
+ "Modified Works" shall mean any work in Source Code or other form that
42
+ results from an addition to, deletion from, or modification of the
43
+ contents of the Program, including, for purposes of clarity any new file
44
+ in Source Code form that contains any contents of the Program. Modified
45
+ Works shall not include works that contain only declarations,
46
+ interfaces, types, classes, structures, or files of the Program solely
47
+ in each case in order to link to, bind by name, or subclass the Program
48
+ or Modified Works thereof.
49
+
50
+ "Distribute" means the acts of a) distributing or b) making available
51
+ in any manner that enables the transfer of a copy.
52
+
53
+ "Source Code" means the form of a Program preferred for making
54
+ modifications, including but not limited to software source code,
55
+ documentation source, and configuration files.
56
+
57
+ "Secondary License" means either the GNU General Public License,
58
+ Version 2.0, or any later versions of that license, including any
59
+ exceptions or additional permissions as identified by the initial
60
+ Contributor.
61
+
62
+ 2. GRANT OF RIGHTS
63
+
64
+ a) Subject to the terms of this Agreement, each Contributor hereby
65
+ grants Recipient a non-exclusive, worldwide, royalty-free copyright
66
+ license to reproduce, prepare Derivative Works of, publicly display,
67
+ publicly perform, Distribute and sublicense the Contribution of such
68
+ Contributor, if any, and such Derivative Works.
69
+
70
+ b) Subject to the terms of this Agreement, each Contributor hereby
71
+ grants Recipient a non-exclusive, worldwide, royalty-free patent
72
+ license under Licensed Patents to make, use, sell, offer to sell,
73
+ import and otherwise transfer the Contribution of such Contributor,
74
+ if any, in Source Code or other form. This patent license shall
75
+ apply to the combination of the Contribution and the Program if, at
76
+ the time the Contribution is added by the Contributor, such addition
77
+ of the Contribution causes such combination to be covered by the
78
+ Licensed Patents. The patent license shall not apply to any other
79
+ combinations which include the Contribution. No hardware per se is
80
+ licensed hereunder.
81
+
82
+ c) Recipient understands that although each Contributor grants the
83
+ licenses to its Contributions set forth herein, no assurances are
84
+ provided by any Contributor that the Program does not infringe the
85
+ patent or other intellectual property rights of any other entity.
86
+ Each Contributor disclaims any liability to Recipient for claims
87
+ brought by any other entity based on infringement of intellectual
88
+ property rights or otherwise. As a condition to exercising the
89
+ rights and licenses granted hereunder, each Recipient hereby
90
+ assumes sole responsibility to secure any other intellectual
91
+ property rights needed, if any. For example, if a third party
92
+ patent license is required to allow Recipient to Distribute the
93
+ Program, it is Recipient's responsibility to acquire that license
94
+ before distributing the Program.
95
+
96
+ d) Each Contributor represents that to its knowledge it has
97
+ sufficient copyright rights in its Contribution, if any, to grant
98
+ the copyright license set forth in this Agreement.
99
+
100
+ e) Notwithstanding the terms of any Secondary License, no
101
+ Contributor makes additional grants to any Recipient (other than
102
+ those set forth in this Agreement) as a result of such Recipient's
103
+ receipt of the Program under the terms of a Secondary License
104
+ (if permitted under the terms of Section 3).
105
+
106
+ 3. REQUIREMENTS
107
+
108
+ 3.1 If a Contributor Distributes the Program in any form, then:
109
+
110
+ a) the Program must also be made available as Source Code, in
111
+ accordance with section 3.2, and the Contributor must accompany
112
+ the Program with a statement that the Source Code for the Program
113
+ is available under this Agreement, and informs Recipients how to
114
+ obtain it in a reasonable manner on or through a medium customarily
115
+ used for software exchange; and
116
+
117
+ b) the Contributor may Distribute the Program under a license
118
+ different than this Agreement, provided that such license:
119
+ i) effectively disclaims on behalf of all other Contributors all
120
+ warranties and conditions, express and implied, including
121
+ warranties or conditions of title and non-infringement, and
122
+ implied warranties or conditions of merchantability and fitness
123
+ for a particular purpose;
124
+
125
+ ii) effectively excludes on behalf of all other Contributors all
126
+ liability for damages, including direct, indirect, special,
127
+ incidental and consequential damages, such as lost profits;
128
+
129
+ iii) does not attempt to limit or alter the recipients' rights
130
+ in the Source Code under section 3.2; and
131
+
132
+ iv) requires any subsequent distribution of the Program by any
133
+ party to be under a license that satisfies the requirements
134
+ of this section 3.
135
+
136
+ 3.2 When the Program is Distributed as Source Code:
137
+
138
+ a) it must be made available under this Agreement, or if the
139
+ Program (i) is combined with other material in a separate file or
140
+ files made available under a Secondary License, and (ii) the initial
141
+ Contributor attached to the Source Code the notice described in
142
+ Exhibit A of this Agreement, then the Program may be made available
143
+ under the terms of such Secondary Licenses, and
144
+
145
+ b) a copy of this Agreement must be included with each copy of
146
+ the Program.
147
+
148
+ 3.3 Contributors may not remove or alter any copyright, patent,
149
+ trademark, attribution notices, disclaimers of warranty, or limitations
150
+ of liability ("notices") contained within the Program from any copy of
151
+ the Program which they Distribute, provided that Contributors may add
152
+ their own appropriate notices.
153
+
154
+ 4. COMMERCIAL DISTRIBUTION
155
+
156
+ Commercial distributors of software may accept certain responsibilities
157
+ with respect to end users, business partners and the like. While this
158
+ license is intended to facilitate the commercial use of the Program,
159
+ the Contributor who includes the Program in a commercial product
160
+ offering should do so in a manner which does not create potential
161
+ liability for other Contributors. Therefore, if a Contributor includes
162
+ the Program in a commercial product offering, such Contributor
163
+ ("Commercial Contributor") hereby agrees to defend and indemnify every
164
+ other Contributor ("Indemnified Contributor") against any losses,
165
+ damages and costs (collectively "Losses") arising from claims, lawsuits
166
+ and other legal actions brought by a third party against the Indemnified
167
+ Contributor to the extent caused by the acts or omissions of such
168
+ Commercial Contributor in connection with its distribution of the Program
169
+ in a commercial product offering. The obligations in this section do not
170
+ apply to any claims or Losses relating to any actual or alleged
171
+ intellectual property infringement. In order to qualify, an Indemnified
172
+ Contributor must: a) promptly notify the Commercial Contributor in
173
+ writing of such claim, and b) allow the Commercial Contributor to control,
174
+ and cooperate with the Commercial Contributor in, the defense and any
175
+ related settlement negotiations. The Indemnified Contributor may
176
+ participate in any such claim at its own expense.
177
+
178
+ For example, a Contributor might include the Program in a commercial
179
+ product offering, Product X. That Contributor is then a Commercial
180
+ Contributor. If that Commercial Contributor then makes performance
181
+ claims, or offers warranties related to Product X, those performance
182
+ claims and warranties are such Commercial Contributor's responsibility
183
+ alone. Under this section, the Commercial Contributor would have to
184
+ defend claims against the other Contributors related to those performance
185
+ claims and warranties, and if a court requires any other Contributor to
186
+ pay any damages as a result, the Commercial Contributor must pay
187
+ those damages.
188
+
189
+ 5. NO WARRANTY
190
+
191
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
192
+ PERMITTED BY APPLICABLE LAW, THE PROGRAM IS PROVIDED ON AN "AS IS"
193
+ BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
194
+ IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
195
+ TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
196
+ PURPOSE. Each Recipient is solely responsible for determining the
197
+ appropriateness of using and distributing the Program and assumes all
198
+ risks associated with its exercise of rights under this Agreement,
199
+ including but not limited to the risks and costs of program errors,
200
+ compliance with applicable laws, damage to or loss of data, programs
201
+ or equipment, and unavailability or interruption of operations.
202
+
203
+ 6. DISCLAIMER OF LIABILITY
204
+
205
+ EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, AND TO THE EXTENT
206
+ PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS
207
+ SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
208
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST
209
+ PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
210
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
211
+ ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
212
+ EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE
213
+ POSSIBILITY OF SUCH DAMAGES.
214
+
215
+ 7. GENERAL
216
+
217
+ If any provision of this Agreement is invalid or unenforceable under
218
+ applicable law, it shall not affect the validity or enforceability of
219
+ the remainder of the terms of this Agreement, and without further
220
+ action by the parties hereto, such provision shall be reformed to the
221
+ minimum extent necessary to make such provision valid and enforceable.
222
+
223
+ If Recipient institutes patent litigation against any entity
224
+ (including a cross-claim or counterclaim in a lawsuit) alleging that the
225
+ Program itself (excluding combinations of the Program with other software
226
+ or hardware) infringes such Recipient's patent(s), then such Recipient's
227
+ rights granted under Section 2(b) shall terminate as of the date such
228
+ litigation is filed.
229
+
230
+ All Recipient's rights under this Agreement shall terminate if it
231
+ fails to comply with any of the material terms or conditions of this
232
+ Agreement and does not cure such failure in a reasonable period of
233
+ time after becoming aware of such noncompliance. If all Recipient's
234
+ rights under this Agreement terminate, Recipient agrees to cease use
235
+ and distribution of the Program as soon as reasonably practicable.
236
+ However, Recipient's obligations under this Agreement and any licenses
237
+ granted by Recipient relating to the Program shall continue and survive.
238
+
239
+ Everyone is permitted to copy and distribute copies of this Agreement,
240
+ but in order to avoid inconsistency the Agreement is copyrighted and
241
+ may only be modified in the following manner. The Agreement Steward
242
+ reserves the right to publish new versions (including revisions) of
243
+ this Agreement from time to time. No one other than the Agreement
244
+ Steward has the right to modify this Agreement. The Eclipse Foundation
245
+ is the initial Agreement Steward. The Eclipse Foundation may assign the
246
+ responsibility to serve as the Agreement Steward to a suitable separate
247
+ entity. Each new version of the Agreement will be given a distinguishing
248
+ version number. The Program (including Contributions) may always be
249
+ Distributed subject to the version of the Agreement under which it was
250
+ received. In addition, after a new version of the Agreement is published,
251
+ Contributor may elect to Distribute the Program (including its
252
+ Contributions) under the new version.
253
+
254
+ Except as expressly stated in Sections 2(a) and 2(b) above, Recipient
255
+ receives no rights or licenses to the intellectual property of any
256
+ Contributor under this Agreement, whether expressly, by implication,
257
+ estoppel or otherwise. All rights in the Program not expressly granted
258
+ under this Agreement are reserved. Nothing in this Agreement is intended
259
+ to be enforceable by any entity that is not a Contributor or Recipient.
260
+ No third-party beneficiary rights are created under this Agreement.
261
+
262
+ Exhibit A - Form of Secondary Licenses Notice
263
+
264
+ "This Source Code may also be made available under the following
265
+ Secondary Licenses when the conditions for such availability set forth
266
+ in the Eclipse Public License, v. 2.0 are satisfied: {name license(s),
267
+ version(s), and exceptions or additional permissions here}."
268
+
269
+ Simply including a copy of this Agreement, including this Exhibit A
270
+ is not sufficient to license the Source Code under Secondary Licenses.
271
+
272
+ If it is not possible or desirable to put the notice in a particular
273
+ file, then You may include the notice in a location (such as a LICENSE
274
+ file in a relevant directory) where a recipient would be likely to
275
+ look for such a notice.
276
+
277
+ You may add additional accurate notices of copyright ownership.
@@ -0,0 +1,16 @@
1
+ include AUTHORS.rst
2
+ include CONTRIBUTING.rst
3
+ include HISTORY.rst
4
+ include LICENSE
5
+ include README.rst
6
+
7
+ include adijif/converters/resources/*.xlsx
8
+ include adijif/converters/resources/*.csv
9
+ include adijif/d2/*.so
10
+ include adijif/d2/*.h
11
+
12
+ recursive-include tests *
13
+ recursive-exclude * __pycache__
14
+ recursive-exclude * *.py[co]
15
+
16
+ recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
@@ -0,0 +1,62 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyadi-jif
3
+ Version: 0.1.0
4
+ Summary: Python interface and configurator for ADI JESD Interface Framework
5
+ Author-email: "Travis F. Collins" <travis.collins@analog.com>
6
+ Maintainer: Analog Devices, Inc.
7
+ Maintainer-email: Travis Collins <travis.collins@analog.com>
8
+ License: EPL-2.0
9
+ Requires-Python: >=3.9
10
+ Description-Content-Type: text/markdown
11
+ License-File: LICENSE
12
+ License-File: AUTHORS.rst
13
+ Requires-Dist: numpy<2
14
+ Requires-Dist: openpyxl>=3.1.3
15
+ Requires-Dist: pandas[openpyxl]>=1.1.5
16
+ Provides-Extra: cplex
17
+ Requires-Dist: cplex; extra == "cplex"
18
+ Requires-Dist: docplex==2.24.231; extra == "cplex"
19
+ Provides-Extra: gekko
20
+ Requires-Dist: gekko; extra == "gekko"
21
+ Dynamic: license-file
22
+
23
+ # pyadi-jif: Python Configurator for ADI JESD204 Interface Framework (JIF)
24
+
25
+ A framework to simplify the use of JESD204 with Analog Devices, Inc. data converters and clock chips.
26
+
27
+ <p align="center">
28
+ <img src="doc/source/imgs/PyADI-JIF_logo.png" width="500" alt="PyADI-JIF Logo"> </br>
29
+ </p>
30
+
31
+ <p align="center">
32
+
33
+ <a href="https://opensource.org/licenses/">
34
+ <img src="https://img.shields.io/badge/License-EPL%20v2-blue.svg" alt="EPL v2.0>
35
+ </a>
36
+
37
+ <a href="https://github.com/analogdevicesinc/pyadi-jif/actions/workflows/tests.yml">
38
+ <img src="https://github.com/analogdevicesinc/pyadi-jif/actions/workflows/tests.yml/badge.svg" alt="Test Status">
39
+ </a>
40
+
41
+ <a href="https://codecov.io/gh/analogdevicesinc/pyadi-jif">
42
+ <img src="https://codecov.io/gh/analogdevicesinc/pyadi-jif/branch/main/graph/badge.svg?token=WVSRCSXFWL" alt="Coverage Status">
43
+ </a>
44
+ </p>
45
+
46
+ ## Installation
47
+
48
+ Install JIF with pip
49
+
50
+ ```bash
51
+ pip install --index-url https://test.pypi.org/simple/ pyadi-jif
52
+ ```
53
+
54
+
55
+ ## Documentation
56
+
57
+ [Documentation](https://analogdevicesinc.github.io/pyadi-jif/main/)
58
+
59
+
60
+ ## License
61
+
62
+ [EPL-2.0](https://www.eclipse.org/legal/epl-2.0/)
@@ -0,0 +1,40 @@
1
+ # pyadi-jif: Python Configurator for ADI JESD204 Interface Framework (JIF)
2
+
3
+ A framework to simplify the use of JESD204 with Analog Devices, Inc. data converters and clock chips.
4
+
5
+ <p align="center">
6
+ <img src="doc/source/imgs/PyADI-JIF_logo.png" width="500" alt="PyADI-JIF Logo"> </br>
7
+ </p>
8
+
9
+ <p align="center">
10
+
11
+ <a href="https://opensource.org/licenses/">
12
+ <img src="https://img.shields.io/badge/License-EPL%20v2-blue.svg" alt="EPL v2.0>
13
+ </a>
14
+
15
+ <a href="https://github.com/analogdevicesinc/pyadi-jif/actions/workflows/tests.yml">
16
+ <img src="https://github.com/analogdevicesinc/pyadi-jif/actions/workflows/tests.yml/badge.svg" alt="Test Status">
17
+ </a>
18
+
19
+ <a href="https://codecov.io/gh/analogdevicesinc/pyadi-jif">
20
+ <img src="https://codecov.io/gh/analogdevicesinc/pyadi-jif/branch/main/graph/badge.svg?token=WVSRCSXFWL" alt="Coverage Status">
21
+ </a>
22
+ </p>
23
+
24
+ ## Installation
25
+
26
+ Install JIF with pip
27
+
28
+ ```bash
29
+ pip install --index-url https://test.pypi.org/simple/ pyadi-jif
30
+ ```
31
+
32
+
33
+ ## Documentation
34
+
35
+ [Documentation](https://analogdevicesinc.github.io/pyadi-jif/main/)
36
+
37
+
38
+ ## License
39
+
40
+ [EPL-2.0](https://www.eclipse.org/legal/epl-2.0/)
@@ -0,0 +1,32 @@
1
+ """Top-level package for pyadi-jif."""
2
+
3
+ __author__ = """Analog Devices, Inc."""
4
+ __email__ = "travis.collins@analog.com"
5
+ __version__ = "0.1.0"
6
+
7
+ import adijif.solvers
8
+ import adijif.utils
9
+ from adijif.clocks.ad9523 import ad9523_1
10
+ from adijif.clocks.ad9528 import ad9528
11
+ from adijif.clocks.ad9545 import ad9545
12
+ from adijif.clocks.hmc7044 import hmc7044
13
+ from adijif.clocks.ltc6952 import ltc6952
14
+ from adijif.clocks.ltc6953 import ltc6953
15
+ from adijif.converters.ad9081 import (
16
+ ad9081,
17
+ ad9081_rx,
18
+ ad9081_tx,
19
+ ad9082,
20
+ ad9082_rx,
21
+ ad9082_tx,
22
+ )
23
+ from adijif.converters.ad9084 import ad9084_rx
24
+ from adijif.converters.ad9144 import ad9144
25
+ from adijif.converters.ad9680 import ad9680
26
+ from adijif.converters.adrv9009 import adrv9009, adrv9009_rx, adrv9009_tx
27
+ from adijif.fpgas.xilinx import xilinx
28
+ from adijif.plls.adf4030 import adf4030
29
+ from adijif.plls.adf4371 import adf4371
30
+ from adijif.plls.adf4382 import adf4382
31
+ from adijif.system import system
32
+ from adijif.types import range
@@ -0,0 +1 @@
1
+ """Main module."""
@@ -0,0 +1,21 @@
1
+ """Console script for adijif."""
2
+
3
+ import sys
4
+ from typing import List
5
+
6
+ import click
7
+
8
+
9
+ @click.command()
10
+ def main(args: List[str] = None) -> None:
11
+ """Console script for adijif.
12
+
13
+ Args:
14
+ args (List[str]): List of input argument
15
+ """
16
+ click.echo("Replace this message by putting your code into " "adijif.cli.main")
17
+ click.echo("See click documentation at https://click.palletsprojects.com/")
18
+
19
+
20
+ if __name__ == "__main__":
21
+ sys.exit(main()) # pragma: no cover
@@ -0,0 +1,10 @@
1
+ """ADI JIF clock chip models."""
2
+
3
+ supported_parts = [
4
+ "ad9523_1",
5
+ "ad9528",
6
+ "ad9545",
7
+ "hmc7044",
8
+ "ltc6952",
9
+ "ltc6953",
10
+ ]