Adrian Weber [Mon, 26 Apr 2021 06:23:02 +0000 (08:23 +0200)]
fix of a bug in reset of trbnet from trbnet bridge. The sync from AGWB is mostly getting high for a few ns after reset. A timeout of a few ns resolves this issue for now.
Thomas Gessler [Tue, 23 Mar 2021 15:15:46 +0000 (16:15 +0100)]
Adapt TrbNet-DCA bridge for synthesis
This includes the addition of XCKU FIFO cores and some changes to the
HDL codes. This likely breaks the current simulation testbench, which
will have to be fixed in a future commit.
Thomas Gessler [Wed, 17 Mar 2021 16:17:32 +0000 (17:17 +0100)]
hub_test: Clean up IP cores and build results
- Remove XML files, which are apparently not required
- Set build directory for each core
- Add build directories and other files to gitignore file
- Set XCI options that are otherwise set during build
Adrian Weber [Tue, 16 Mar 2021 11:50:17 +0000 (12:50 +0100)]
fix of crashung readout in case of triggers not together with in the DLM (CALIBRATION; seen while no DLM transmitted.). Now in case of 0xD trigger, the last DLM message is written to CTS and the readout is finished.
This achieves TX phase alignment to a reference clock by the method
described in:
E. Mendes, S. Baron, C. Soos, J. Troska and P. Novellini, "Achieving
Picosecond-Level Phase Stability in Timing Distribution Systems With
Xilinx Ultrascale Transceivers," in IEEE Transactions on Nuclear
Science, vol. 67, no. 3, pp. 473-481, March 2020, doi:
10.1109/TNS.2020.2968112.
Adrian Weber [Mon, 22 Feb 2021 14:29:26 +0000 (15:29 +0100)]
init commit of two entitys to handle the slowcontrol between agwb/wishbone of cri and trbnet. Entities are based on trbnet to pci bridge and only an untested shelf. To be implemented
Adrian Weber [Tue, 19 Jan 2021 15:26:18 +0000 (16:26 +0100)]
new DLM to CTS entity. This entity substitutes the previously use MBS chain. A trigger is now generated from EACH DLM message. In case the DLM messag eis the same as in the DLM before, a subtrigger is counted up. A subtrigger is used to generate readouts inbetween microtimeslices. The DLM message itself indicates the microtimeslice index. Updates for higher stability and more features will follow. This is the first version of the entity.
Thomas Gessler [Tue, 10 Nov 2020 13:10:33 +0000 (14:10 +0100)]
hub_test: Change to correct downlink frequency
This was forgotten during the original change to 2.4 Gbps. It likely
worked anyway, because the GT settings for 2.4 Gbps with 120 MHz are
similar to 2.0 Gbps with 100 MHz.
Thomas Gessler [Fri, 18 Sep 2020 15:51:12 +0000 (17:51 +0200)]
hub_test: Set RXLPMEN to 1
This switches the RX equalizer from DFE to LPM mode, which seems to
improve link stability when the equalizer is initialized on non-random
8b10b characters like idle words (see UG576, "Choosing Between LPM and
DFE Modes").
Thomas Gessler [Fri, 4 Sep 2020 14:21:07 +0000 (16:21 +0200)]
hub_test: Add MBS trigger output ports
Add a test trigger signal that corresponds to the microslice timing.
Output the signal to the CRI's four coaxial (U.FL) LVDS connectors. This
can be used for investigations with a scope.
Adrian Weber [Fri, 17 Jul 2020 07:11:24 +0000 (09:11 +0200)]
adding missing file for combiner2CRI and new hub version for CRI: slowcontrol part is now separated from data and unused channels to be more flexible for cascaded hub structure if we go up to 48 sfp connections