ofb_vck190: Verification Report¶
1. Test results¶
Run on 2026-10-05 with Vivado 2025.2 (xsim): python tools/run_xsim.py ofb_vck190_tb; rerun on 2026-10-07 after
the findings of the first build (clocks of the CIPS, register stages of the input VC buffers, latch-free pulse
crossing), on 2026-10-12 with Open Logic 4.7.0-ft.2 (power-on reset and lane reset synchroniser as base entities
with SyncTmr_g = true; all checks pass, simulation done at 102.2 us) and on 2026-10-13 with the packet ports of the
VCs (the echo connects the received packets to the send ports with TKEEP, TLAST and the EEP flag; the far end
sends packets of whole words with TLAST; all checks pass, simulation done at 102.2 us), again on 2026-10-14 after
the change of the continuous mode of the output VC buffers (pass, same results) and with the detection of the
model power-up error in the runner (pass at the first attempt, same results). Rerun on 2026-10-16 with the
transmitter ready input of the core: the core is reset by the power-on reset alone and holds the link until
Stat_TxReady of the adapter is 1 (Phy_TxReady). Transceivers ready after 64.9 us, link initialised after 94.8 us,
6 packets on each of the 8 VCs and 4 broadcast messages back, no error and no retry at the far end, LEDs 0 to 3 on
(pass, simulation done at 98.9 us). Rerun on 2026-10-24 for release 0.1.3 (commit 0a86908: initialisation timeout of
468750 words, receiver reset at every lane restart without a gap, transceiver wizard with the settings of PA-RS-04 to
PA-RS-06): link initialised after 94.6 us, 6 packets on every VC and 4 broadcast messages back, DL_ERRORS 0 and no
retry at the far end (pass at the second elaboration after the power-up error of the transceiver model, simulation
done at 98.7 us). Rerun on 2026-10-25 for release 0.1.4 (commit c413cc4: admission register of the error recovery
buffer, Open Logic 4.7.0-ft.11): transceivers ready after 65.7 us, link initialised after 94.6 us, 6 packets on every
VC and 4 broadcast messages back, DL_ERRORS 0 and no retry at the far end, LEDs 0 to 3 on (pass at the first
elaboration, simulation done at 98.7 us).
| Test | Result |
|---|---|
TC-VCK-01 (ofb_vck190_tb) |
Pass (99 us simulated) |
| TC-VCK-02 (RTL elaboration) | Pass |
TC-VCK-01: transceivers ready after 64.9 us, link initialised after 94.8 us (the far end started its lanes, the design
started with AutoStart); 6 packets on each of the 8 VCs and 4 broadcast messages came back unchanged and in order;
DL_ERRORS zero and no retry at the far end; LEDs 0 to 3 on. Rerun on the merged tree (serial loopback outputs of
the core to the adapter, bit synchronisation from the adapter, fault injection fixes, DED containment): pass. One
earlier run hung with the power-up error of the far-end transceiver model; it did not occur again (property of the
simulation model, see the report of ofb_pa_gty, section 2). Rerun with the clock models of the CIPS (100 MHz
management clock, 150 MHz user clock): transceivers ready after 64.9 us, link initialised after 94.8 us, 6 packets on
each VC and 4 broadcast messages back, no error, LEDs 0 to 3 on (pass, after the reset fix of the register stages,
Data Link report). Rerun with the PRBS test ports of the core connected to the transceivers: transceivers ready after
64.9 us, link initialised after 94.8 us, all packets and broadcast messages back, no error, LEDs 0 to 3 on (pass).
Rerun with the MIB port of the top level shared by the CIPS and the LED poller (in simulation the poller alone):
transceivers ready after 64.9 us, link initialised after 94.8 us, all packets and broadcast messages back, no
error, LEDs 0 to 3 on (pass). Rerun after the timing changes of the second build (end flags in the input VC
buffers, input stage of the column encoders): transceivers ready after 64.9 us, link initialised after 94.8 us,
6 packets on each VC and 4 broadcast messages back, no error, LEDs 0 to 3 on (pass); with the output register of the
receive frame buffer as well (pass, same results).
TC-VCK-02: vivado -mode batch -source hdl/ofb_vck190/tcl/build.tcl -tclargs project, then synth_design -rtl:
the design elaborates without errors. The remaining warnings are unconnected ports of generic entities (unused bits
of the EDAC injection vectors, address bits of the AXI4-Lite slave, upper lanes of the 16-bit far-end activity
vector), null ranges of unused generics and registers removed as unused. The critical warning about the constraints
of the transceiver quad is expected at RTL level (the wizard instance is synthesised out of context). Rerun on main
546b81a (serial loopbacks, bit synchronisation, fault injection fixes, DED containment, status changes): the design
elaborates without errors; the clock constraint of the lane clock finds no clock at RTL level (the transmit clock of
the transceiver exists only after synthesis), as before.
Rerun with the register access over JTAG (VCK-MG-01): the block design ofb_cips validates without errors with
CIPS (M_AXI_FPD, 32 bits), proc_sys_reset and the SmartConnect mib_axi (two slave ports); address map M_AXI_FPD
0xA400_0000 (4 KB) and poller 0x000 (4 KB) to M_AXI_MIB. Vivado widens the address of M_AXI_MIB to 32 bits
because of the address 0xA400_0000 (warning BD 41-3261); the top level uses bits 11:0. The external AXI ports carry
the frequency of pl0 as generated by the PMC (99.999 MHz); with 100 MHz written into them the validation fails
(BD 41-237), so build.tcl reads the frequency from the CIPS. The design elaborates with the CIPS, the SmartConnect
and the reset block (g_cips.i_cips/ofb_cips_i/cips, mib_axi, rst_pl0); new critical warnings at RTL level are
the scoped constraints of rst_pl0 and mib_axi, whose cells exist only after their out-of-context synthesis (as
for the transceiver quad). The XSDB script tcl/xsdb_mib.tcl sources in XSDB 2025.2 and its address and pattern
helpers return the expected values (lane 3 LANE_PRBS_CTRL 0x174, PRBS-31 code 5, invalid pattern rejected).
2. Summary¶
All test cases pass. The first build (section 3) produced a device image but did not meet timing; the findings are fixed, the rebuild and the hardware test with SpaceFibre test equipment are open. The 8A34001 clock generator of the board must provide 156.25 MHz on MGTREFCLK1 of quad 200 for the hardware test.
Findings:
| Finding | Fix |
|---|---|
| Review before the first build: the design had no CIPS; on Versal the platform management controller of the CIPS loads the device image | Block design ofb_cips with a default versal_cips created by build.tcl, instance in the top under IncludeCips_g (VCK-BD-02); RTL elaboration shows the instance |
| First build: setup violations of up to 2.673 ns in the lane clock domain, all in the user side of the input VC buffers | Register stage after every bank of ofb_dl_vc_in (Data Link report); the user side runs on its own 150 MHz clock |
| First build: the 200 MHz clock on bank 700 is the clock of the DDR4 DIMM | Clocks of the programmable logic from the CIPS: 100 MHz (clk_pl_0) for the MIB, the transceiver reset controller and the power-on reset with pl0_resetn, 150 MHz (clk_pl_1) for the user side; core clock = lane clock (VCK-CK-01) |
First build: 30 latches (TIMING-20, PDRC-153 gated clocks) in olo_ft_cc_pulse: the set/reset latch of each copy has gate and data both driven by the input pulse, so the end of the pulse races the closing of the latch and a pulse can be lost (for example an FCT block pulse of an input VC buffer, which would stall the VC) |
ofb_cc_pulse rewritten without latch: handshake over olo_ft_cc_bits with triplicated request, pending and output registers (ofb_pkg report) |
| First build: combinational logic before synchronisers (CDC-10, 8 endpoints): core reset = power-on reset or lane reset in a LUT before the reset synchronisers of the core; majority voter of the MIB crossing before the far-end loopback synchroniser of the adapter | Core reset from a register of the management clock (lane reset synchronised first); lane reset of the adapter from a register; register of the lane clock before the far-end loopback synchroniser |
First build: ERROR 18-513 / WARNING 18-402 from the scoped constraints of olo_intf_sync (they constrain device pins; the design uses the entity for internal signals) |
Scoped constraints of olo_intf not loaded; the clock pair constraints cover the crossings |
| First build: critical warning 12-3645 (files added one at a time) | One add_files call per library |
First build on a long Windows path: write_device_image failed while compiling the platform loader firmware (path length limit) |
Environment variable OFB_VIVADO_OUT for a short project directory, warning in build.tcl, note in the hardware test procedure |
Second build (4731e6e): setup violations of up to 0.055 ns in clk_pl_1 (1538 endpoints), all in the beat formation of the input VC buffers (15 to 18 logic levels); lane clock and clk_pl_0 met |
End flags of the words decoded before the bank stages, banks of the beat marked in BeatSel (Data Link report) |
| Second build: the lane clock met timing with only 0.280 ns of slack (word assembly of the Multi-Lane transmitter, scrambler and CRC of the column encoder; copy from the output VC buffers into the error recovery buffer; write into the input VC buffers) | Input register stage in the column encoder (Multi-Lane report); output register of the receive frame buffer (Data Link report); implementation strategy Performance_ExplorePostRoutePhysOpt in build.tcl |
Third build (c1533de): timing met, but with only 0.030 ns of slack in clk_pl_1 (beat formation of the input VC buffers, 16 to 17 logic levels) |
Beat logic of the input VC buffers without arithmetic, one-hot read position (Data Link report) |
3. Hardware test¶
Procedure: hardware_test.md.
| Test | Result | Notes |
|---|---|---|
| Build of d8d08ab (timing, resources) | Fail (timing) | Device image generated; WNS -2.673 ns (6130 endpoints, lane clock), WHS +0.009 ns; findings fixed (section 2) |
| Build of 4731e6e (timing, resources) | Fail (timing) | Device image generated; WNS -0.055 ns (1538 endpoints, clk_pl_1), WHS +0.001 ns; lane clock +0.280 ns, clk_pl_0 +2.206 ns; findings fixed (section 2) |
| Build of c1533de (timing, resources) | Pass | Device image generated; all timing constraints met: WNS +0.030 ns (clk_pl_1, beat formation of the input VC buffers, 16 logic levels), lane clock +0.157 ns (output VC buffer to error recovery buffer), clk_pl_0 +2.697 ns, WHS +0.012 ns; implementation strategy Performance_ExplorePostRoutePhysOpt |
| TC-VCK-HW-01 to 07 | Open | |
| TC-VCK-HW-08 | Open | Register access over JTAG with tcl/xsdb_mib.tcl (procedure section 7) |
| TC-VCK-HW-09 | Open |
Resources of the build of d8d08ab (XCVC1902, whole design, eight VCs, four lanes): 43852 LUT (3505 as memory), 32239 registers, 37 RAMB36 and 10 RAMB18 (42 block RAM tiles), 8 DSP, no URAM. Build of 4731e6e (register stages of the input VC buffers, CIPS block design with SmartConnect, PRBS test): 46507 LUT (881 as memory), 44618 registers, 50 RAMB36 and 9 RAMB18 (54.5 block RAM tiles), 8 DSP, no URAM. Build of c1533de: 47992 LUT (3325 as memory: the output VC buffers are distributed RAM in this build), 47212 registers, 36 RAMB36 and 2 RAMB18 (37 block RAM tiles), 8 DSP, no URAM.
Messages of the build of d8d08ab that need no change:
| Message | Assessment |
|---|---|
Netlist 29-151 WEBWE[8] (37 block RAMs) |
The 72-bit RAMs of the VC buffers use BWE_MODE_B = PARITY_INTERLEAVED; the pin has no function in this mode |
DRC PDCNXA-2 (37 block RAMs, DINPA of the upper and lower section) |
Same 72-bit RAMs: the parity inputs carry data bits 32 to 35 of the write port. A wrong mapping would show as ECC errors on every word (link resets, corrupted packets): covered by TC-VCK-HW-02 |
AVALXA-267/268/271 (CLOCK_DOMAINS = COMMON, possible address collision) |
Asynchronous FIFOs whose two clocks were the same clock in this build; a FIFO never reads an address while writing it. With the separate user clock the RAMs of the input and output VC buffers are independent |
| SYNTH-6 (no output register in 47 block RAMs) | Open Logic RAMs with read latency 1; the paths meet timing after the register stage of the input VC buffers |
CDC-6 (12 multi-bit buses through olo_ft_cc_bits) |
Gray-coded pointers of olo_ft_fifo_async, and configuration levels of the MIB: the bits of one register write may arrive one cycle apart; the fields are used as levels (a STANDBY reason written together with clearing LaneStart may be the old one in the first of the 32 STANDBY words) |
| CDC-15 (205, clock enable controlled crossings) | olo_base_cc_status (data held while the handshake crosses) |
| PDRC-190 (2514 synchroniser chains placed suboptimally) | Triplicated synchroniser chains of the Open Logic FT entities; the clock pair constraints bound the delay |
| Route 35-462 (60 bus skew paths not populated) | Constant bits of the status crossing of the MIB, removed by synthesis |
| LUTAR-1 in the transceiver wizard IP | AMD IP |
| DPBU-4, DPIP-3, DPOP-5/6 (8 DSP without pipeline registers) | Credit arithmetic of the medium access controller, combinational by design |
| Synth 8-7129, 8-3332, 8-6014, 8-3917, 8-3936 | Unused ports and registers of generic entities (unused EDAC injection bits, unused VC slots, address bits) removed |
| Synth 8-11358, 8-3919, 8-6774, 8-4747 | Null ranges of unused generics and the shared variable of the Open Logic RAM inference |
| Synth 8-4767 (RAM in registers) | olo_ft_fifo_packet: small RAM in registers by default (SmallRamStyle_g) |
| Synth 8-689, 8-7023, 8-7071 | Unused ports of the CIPS |
TIMING-10 (one synchroniser without ASYNC_REG) |
No object named; the CDC report lists every synchroniser with ASYNC_REG (CDC-3, CDC-9). To be checked again in the rebuild |
Build of c1533de: 8 x Vivado 12-4739 (set_max_delay without object) from olo_base_ram_sdp.tcl, TIMING-9 (one crossing without synchroniser) |
The output VC buffers became distributed RAM; synthesis retimed the first read register of their RAM (g_async.RdPipe_reg[1]*_bret), so the scoped Open Logic constraint for the distributed RAM read-write collision path and its CDC waiver find no cells. The path is bounded by the clock pair constraints of ofb_vck190.xdc (clk_pl_1 to lane clock: +5.382 ns); the async FIFO never reads an address while writing it. The implementation log held 32 messages of this constraint (for each of the 8 RAMs one Vivado 12-1008, one Vivado 12-4739 and two Vivado 12-180). Fixed in Open Logic 4.7.0-ft.11: the constraint also matches the retimed registers (g_async.RdPipe_reg[1][*]*), and reports a RAM without a capture register as olo_base_ram_sdp-1, which the constraint integrity check of tcl/build.tcl treats as a constraint that did not apply. Read onto the routed checkpoint of a v0.1.3 build, the constraint of 4.7.0-ft.11 matches 2559 first read registers of the output VC buffers and adds none of these messages |
Builds with the reference clock constraint read after ofb_vck190.xdc: Vivado 12-1008 for the lane clock in synthesis, TIMING-6, TIMING-7 (the lane clock against clk_pl_0 and clk_pl_1) and TIMING-47 (clk_pl_0 against itself), setup violations of more than 5 ns between the lane clock and the clocks of the CIPS, no hold analysis in clk_pl_0 |
The lane clock is derived from gt_refclk through the transceiver; when the clock pair constraints were read it did not exist, so the four constraints with the lane clock lost one clock: the crossings were timed as synchronous paths, and the two constraints with clk_pl_0 covered every path from and to clk_pl_0. Re-timed with the clock created first, the crossings have more than 4.4 ns of slack. tcl/build.tcl now reads the reference clock constraint first and stops the build on these messages and checks |
Build of c1533de: LUTAR-1 at i_por |
The majority voter of olo_ft_reset_gen drives the asynchronous reset of the reset synchroniser of the transceiver wizard. Its three inputs are registers of one clock; a change of one input does not change the output, and the release passes the voter once |