Add feature for inverted LVDS data in ad_data_in and axi_ad9361 #1272
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
This started out from an EZ thread (https://ez.analog.com/fpga/f/q-a/577761/te0820-tef1002-fmcomms3-porting-fmcomms3-to-tef1002) and it seemed like a good feature to implement so it was decided to add it.
This applies only to LVDS mode!
In ad_data_in, the IBUFDS instance was replaced with an IBUFDS_DIFF_OUT such that the inverted output can be used. A parameter was added to select between inverted and normal mode.
The
INV_POL
parameter is interpreted as follows:Changes were made in the xilinx/axi_ad9361_lvds_if.v module for having the option to invert the data and the frame for Tx, before being sent to ad_data_out.
The FMCOMMS2 base design has an
INV_POL
parameter added, by default set to 0.In hardware, the FMCOMMS2/ZCU102 project was tested.
So far, we don't have a use case when we want inversion for this, in our repository.
PR Type
PR Checklist