-
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
Open
hadarauelena
wants to merge
4
commits into
main
Choose a base branch
from
xcvr_params
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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
17a8a3a
to
6ad7211
Compare
The project is designed to automatically generate xcvr parameters for specific configurations. Signed-off-by: Elena-Hadarau_adi <[email protected]>
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]>
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
• ADRV9026
Currently, the automation can only be integrated into projects that support JESD204B.
PR Type
PR Checklist