From 92885911a3646123072bc176bc9e3dff9622b69d Mon Sep 17 00:00:00 2001 From: Benjamin Reese Date: Wed, 2 Oct 2024 23:00:40 -0700 Subject: [PATCH] Make histogram registers read only --- xilinx/general/rtl/GtRxAlignCheck.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xilinx/general/rtl/GtRxAlignCheck.vhd b/xilinx/general/rtl/GtRxAlignCheck.vhd index e991a0bf35..81fb55c46d 100644 --- a/xilinx/general/rtl/GtRxAlignCheck.vhd +++ b/xilinx/general/rtl/GtRxAlignCheck.vhd @@ -185,12 +185,12 @@ begin axiSlaveWaitTxn(axilEp, sAxilWriteMaster, sAxilReadMaster, v.sAxilWriteSlave, v.sAxilReadSlave); for i in 0 to r.sample'length-1 loop - axiSlaveRegister(axilEp, toSlv(4*(i/4), 12), 8*(i mod 4), v.sample(i)); + axiSlaveRegisterR(axilEp, toSlv(4*(i/4), 12), 8*(i mod 4), r.sample(i)); end loop; axiSlaveRegister (axilEp, x"100", 0, v.tgt); axiSlaveRegister (axilEp, x"100", 8, v.mask); axiSlaveRegister (axilEp, x"100", 16, v.rstlen); - axiSlaveRegister (axilEp, x"104", 0, v.last); + axiSlaveRegisterR(axilEp, x"104", 0, r.last); axiSlaveRegisterR(axilEp, x"108", 0, txClkFreq); axiSlaveRegisterR(axilEp, x"10C", 0, rxClkFreq); axiSlaveRegisterR(axilEp, x"110", 0, r.locked);