Skip to content

Commit

Permalink
Make histogram registers read only
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineerd committed Oct 3, 2024
1 parent a8cf8a5 commit 9288591
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xilinx/general/rtl/GtRxAlignCheck.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9288591

Please sign in to comment.