-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adrv9009 #149
Adrv9009 #149
Conversation
Fix naming typo that remained undetected because the solver was never used. Signed-off-by: Liam Beguin <[email protected]>
Now that the fixture is used, this test case is duplicated. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
Use fixtures to drop duplicated code. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
datasheet says the available range for N2 is 1 to 255. Signed-off-by: Liam Beguin <[email protected]>
Add SYSREF support, this makes sysref optional optional. By default, K will not be computed. Signed-off-by: Liam Beguin <[email protected]>
This can be useful to users, and to validate other parameters in test cases. These are also available in the ad9523_1 output. Signed-off-by: Liam Beguin <[email protected]>
Allow users to defines all output frequencies even if they have the same value. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
In preparation for adrv9009 test cases, add explicit names to each nested converter. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
Simplify code by making use of gekko_trans.py Signed-off-by: Liam Beguin <[email protected]>
Update nested support to allow users to run something like: sys = adijif.system("adrv9009", "ad9528", "xilinx", vcxo, solver=solver) Signed-off-by: Liam Beguin <[email protected]>
The adrv9009 class currently doesn't support the gekko solver. Mark test cases as expected failures until this is implemented. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
Add missing f-string marker on Exceptions, and drop .format(), when not exceeding the characters per line limit. Signed-off-by: Liam Beguin <[email protected]>
Parts of the codebase rely on the fact that converters are derived form the converter class (and thus jesd class). Make sure the ADRV9009 follows that assumption before editing the rest of the code. Signed-off-by: Liam Beguin <[email protected]>
The codebase already allows for passing a list of strings. Make sure the type hint reflects that option. Signed-off-by: Liam Beguin <[email protected]>
Nested converters still inherit from the jesd class, and have their own default lane count parameter (L). This value isn't really used and should be the sum of nested converters. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
0bf17a6
to
258d17d
Compare
Hi @tfcollins, I'm not sure this is complete, but everything seems to work so far. I wonder if we should put more guards in place to prevent users from setting parameters in the wrong place when using nested converters. For example since |
@liambeguin thanks for the contribution. I'll take a deeper look tomorrow through things, but can you check the CI errors first |
Rename key in get_jesd_mode_from_params' return list, allowing users directly expand an item into set_quick_configuration_mode(). This also avoids further confusion with jesd_mode in the rest of the codebase which usually refers to the mode number describing the jesd204 set of parameters and not the jesd204 class (jesd204, jesd204a, jesd204b, jesd204c). Signed-off-by: Liam Beguin <[email protected]>
Update the list of available parameters for the interpolation and decimation stages of the ADRV9009. Signed-off-by: Liam Beguin <[email protected]>
Update converter_clock_(min|max) based on https://www.analog.com/media/en/technical-documentation/data-sheets/ADRV9009.pdf Table 1: Data Rate per Channel (NRZ) min=2135 Mbps max=12288 Mbps Signed-off-by: Liam Beguin <[email protected]>
Add an example based on the default configuration of the adrv9009-pcbz. Signed-off-by: Liam Beguin <[email protected]>
jesd_mode in sys.get_config() always returns None. Make sure to pass down the parent class' data. Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
Signed-off-by: Liam Beguin <[email protected]>
258d17d
to
dba090c
Compare
I went over the CI errors, and sent a PR to I have a few more comments/questions:
|
No description provided.