Repository navigation
Conversation
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: bluncan <bogdan.luncan@analog.com>
Signed-off-by: bluncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…inside deframer Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…ng to DATA state Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…tion Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
The 66b/66b and 66b/64b gearboxes were using a wide 33:1 muxes to select between the outputs. This could lead to issues at fast clocks. Replaced the muxes with a barrel shiffter which should have an easier time meeting timing at higher frequencies. Also added a TB for validating the new gearboxes to the original ones. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Replaying the branch on the full license headers of main left a 2025 year that the branch had since replaced with 2026. Use the years of main plus the ones the branch added. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
Move LFSR_WIDTH out of the parameter port list and split the initialised declaration inside the automatic function. Both are legal SystemVerilog but are not handled consistently by all tools. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
The FEC encoder and decoder shift data_in[0] first and expect eomb with the last block of a multiblock. In the lanes, bit 63 is the first bit on the wire (as for the scrambler and CRC-12), and the markers used arrive with the first block of the next multiblock. TX and RX shared both mistakes, so a loopback passed while the parity did not match JESD204C. Feed both with bit-reversed words and mark the last block: on TX from scrambled_data_d1, on RX from sh_count, which keeps the RX latency unchanged. The TX parity now matches a polynomial reference with the same framing as CRC-12. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…in parity Error trapping at shift ii corrects bits ii+1 and up, so a burst starting at codeword bit 0 was never corrected. Check the loaded syndrome for it. Bursts that start in the 26 parity bits need no data correction but were reported as untrapped. Continue the syndrome for the parity positions after the last data block so they are counted as trapped. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…mode FEC parity bits are unconstrained and regularly contain the 00001 pilot pattern, so the unexpected EoMB event counted errors on a clean link. The pilot is still checked at the multiblock boundary. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…eline The input pipeline dropped the extra register stage of tx_eof/tx_eomf, so character replacement acted one beat early whenever the frame structure is not the same in every beat. Restore it in front of the pipeline so all lane inputs move together, and size the pipeline to the signals it carries. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…stride lane_frame_align carries 3 bits per lane; indexing it with DPW_LOG2 per lane reported the wrong bits for lanes above 0 with a 4 octet data path. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…peline The deframer data path has 3 * NUM_PIPELINE_STAGES register stages, so adc_valid asserted that many cycles before the first real sample. Delay link_valid by the same amount. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…eats The LMFC counter these values are compared with runs in the device clock domain at the transport layer width, which can be 6 or 12 octets. Scaling by the link data path width is only right when both widths match; this was made raw on purpose for NP=12 support (454b900). Linux and no-OS never program non-zero values. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
The value is used in device clock cycles since NP=12 support, but the read back still placed it at bits 9:2, returning four times the written value. Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
…gister, to reduce the upstream logic. Split the logic controlling rx_data into 2 parts to reduce logic. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…h lane. For jesd204c, the logic using core_lanes_disable, is moved upstream from the buffer_ready_n register, to simplify logic to all_buffer_ready_n_x registers and to improve timing. Clean up jesd204_rx_lane.v I/Os and signals. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…issing signal in loopback_64b_tb after the FEC feature addition. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…edicated synch reset FF pin, to reduce logic. Move cfg_beats_per_multiframe_r inside each lane, so location constraints can apply to it. Reduce all_buffer_ready_n_d pipeline to two for all the lanes, to reduce upstream fanout. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…when there are fewer than 4 lanes in the design. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…same generate statement as the pipeline stages downstream from them. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…raints to fix timing issues. Add placement constraints to improve timing at 26.4Gbps. Correct wrong bus numbering for hsci interfaces. Enable an ADC TPL deframer pipeline stage. Change cpack and upack prefix sum implementation to parallel. Add other pipeline stages in data_offload and TX jesd204. Reduce data_storage to 8KSamples per channel. Change implementation strategies. Replace ADI_HDL_DIR parameter with relative paths. Update license in the .xdc and .tcl headers. Code cleanup. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…1 segfault. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…an unexpected lane state error, to prevent stale data being sent from the affected lane(s) elastic buffer. Remove unused reset signal from the elastic buffer. Update testbench with a case that exposed the problem. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
IPCatuna
requested review from
AndrDragomir,
AndreiGrozav,
FilipG24,
IuliaCMoldovan,
LBFFilho,
PopPaul2021,
StancaPop,
acostina,
bluncan,
gastmaier and
sarpadi
as code owners
November 24, 2026 15:24
…e PR lint tool. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…nt tool. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…PR lint tool. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
…t tool. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
IPCatuna
force-pushed
the
dev_xband16_timing
branch
from
November 25, 2026 08:24
0e92ba0 to
f743143
Compare
…atch the latest one. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
… skew=1 value. Signed-off-by: Ionut Catuna <ioanpaul.catuna@analog.com>
This branch has not been deployed
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
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
This PR implements timing fixes for the ad_xband16_ebz project, so it passes timing in Vivado for 26.4Gbps lane rate.
To achieve this, the following types of fixes have been done:
Also, a pre-existing bug was fixed in the jesd204 RX link layer IP:
Tests performed so far:
Tests still to do:
IMPORTANT! This PR is also relying on two additional PRs (#1871, #2096).
This PR also includes the commits from those 2 PRs, since they were used for timing closure.
Only the most recent 46 commits are specific to this PR (i.e. starting from "Add pipeline stage for DAC TPL sync" commit downwards) and should be reviewed here. The other commits will be reviewed in their own PRs.
There is a separate PR for the documentation of this project: #2033
PR Type
PR Checklist