diff --git a/fpga/common/rtl/mqnic_ptp_clock.v b/fpga/common/rtl/mqnic_ptp_clock.v index 89541b087..17a05bdd1 100644 --- a/fpga/common/rtl/mqnic_ptp_clock.v +++ b/fpga/common/rtl/mqnic_ptp_clock.v @@ -97,7 +97,7 @@ parameter PTP_CLK_PERIOD_FNS = (PTP_CLK_PERIOD_NS_REM * {32'd1, {PTP_FNS_WIDTH{1 parameter PTP_CLK_PERIOD_FNS_REM = (PTP_CLK_PERIOD_NS_REM * {32'd1, {PTP_FNS_WIDTH{1'b0}}}) - PTP_CLK_PERIOD_FNS*PTP_CLK_PERIOD_NS_DENOM; parameter PTP_PERIOD_NS_WIDTH = $clog2(PTP_CLK_PERIOD_NS+1) + 2; -parameter PTP_OFFSET_NS_WIDTH = 32; +parameter PTP_OFFSET_NS_WIDTH = 30; localparam RBB = RB_BASE_ADDR & {REG_ADDR_WIDTH{1'b1}};