-
Notifications
You must be signed in to change notification settings - Fork 1.6k
XCVR parameters automation #1629
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f0394a7 to
14dc308
Compare
StancaPop
requested changes
May 27, 2025
StancaPop
requested changes
May 28, 2025
6ad7211 to
2173453
Compare
0143b43 to
6f762d9
Compare
d64d4c8 to
644c192
Compare
fa43aef to
d5c70c9
Compare
d5c70c9 to
607b695
Compare
AndrDragomir
previously approved these changes
Oct 1, 2025
StancaPop
requested changes
Nov 20, 2025
0c8fc24 to
df84a89
Compare
StancaPop
previously approved these changes
Nov 20, 2025
The project is designed to automatically generate xcvr parameters for specific configurations. Signed-off-by: Elena-Hadarau_adi <[email protected]>
df84a89 to
96b94dd
Compare
StancaPop
previously approved these changes
Nov 20, 2025
Collaborator
|
In this PR (#1962), the README file checker should not fail for this project's README anymore. |
6bc4138 to
96b94dd
Compare
cristianmihaipopa
previously approved these changes
Nov 27, 2025
These scripts are used to import the generated parameters from the xcvr_wizard project to the project in use. Signed-off-by: Elena-Hadarau_adi <[email protected]>
Signed-off-by: Elena-Hadarau_adi <[email protected]>
Signed-off-by: Elena-Hadarau_adi <[email protected]>
Export the ADI_HDL_DIR environment variable so scripts like gtwiz_parser.pl can access it to locate required HDL files.
Signed-off-by: Elena-Hadarau_adi <[email protected]>
Signed-off-by: Elena-Hadarau_adi <[email protected]>
96b94dd to
5f72785
Compare
AndrDragomir
approved these changes
Dec 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Description
Documentation is added in PR #1643.
To automate the transceiver configuration process, I used the following:
The xcvr_wizard project is designed to facilitate the configuration and usage of transceivers (XCVRs) in FPGA projects with various configurations, aiming to automate the setup process. After building the project, we obtain the necessary files:
These files can be found in the following folder:
xcvr_wizard//RATE_REFCLKPLLTYPE/xcvr_wizard.gen/sources_1/ip
The adi_xcvr_project function from the adi_project_xilinx.tcl script
The adi_xcvr_project function takes as arguments the values for LANE_RATE, REF_CLK, and PLL_TYPE. The purpose of the function is to build the xcvr_wizard project using the specified parameters or the default ones, and it returns a dictionary (xcvr_config_paths) with the paths to the output files generated during the build process.
This function is typically called from the system_project.tcl script located in the specific project/carrier directory.
The adi_xcvr_parameters function from the xcvr_automation.tcl script
This function takes as arguments a dictionary (xcvr_config_paths) with the paths to the configuration files and, optionally, a list of parameter-value pairs to override the default transceiver parameters.
It then processes the transceiver configuration data by extracting parameter values from the generated files (param_file_path, cfng_file_path) and comparing them against a predefined set of default values.
Parameters whose values differ are added to a dictionary, which is returned and passed to the ad_ip_instance function to create the instance of the util_adxcvr component.
This function is typically called from the <project_name>_bd.tcl script, located in the common folder shared across all carriers.
The automation has been integrated into the following projects:
• DAQ2
• DAQ3
• ADRV9009
• ADRV9371x
Currently, the automation can only be integrated into projects that support JESD204B.
PR Type
PR Checklist