mirror of
https://github.com/fpganinja/taxi.git
synced 2026-08-29 08:05:00 -07:00
eth: Fix sync signal width
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -62,7 +62,7 @@ module taxi_axis_baser_tx_32 #
|
||||
* PTP
|
||||
*/
|
||||
input wire logic [PTP_TS_W-1:0] ptp_ts,
|
||||
output wire logic ptp_ts_cor_sync,
|
||||
output wire logic [GBX_CNT-1:0] ptp_ts_cor_sync,
|
||||
input wire logic [PTP_TS_COR_W-1:0] ptp_ts_cor_val = '0,
|
||||
|
||||
/*
|
||||
@@ -270,7 +270,7 @@ assign m_axis_tx_cpl.tuser = '0;
|
||||
|
||||
assign tx_os_ready = tx_os_ready_reg;
|
||||
|
||||
assign ptp_ts_cor_sync = (GBX_IF_EN && PTP_TS_COR_EN) ? tx_gbx_req_sync : 1'b0;
|
||||
assign ptp_ts_cor_sync = (GBX_IF_EN && PTP_TS_COR_EN) ? tx_gbx_req_sync : '0;
|
||||
|
||||
assign tx_start_packet = start_packet_reg;
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ module taxi_axis_baser_tx_64 #
|
||||
* PTP
|
||||
*/
|
||||
input wire logic [PTP_TS_W-1:0] ptp_ts,
|
||||
output wire logic ptp_ts_cor_sync,
|
||||
output wire logic [GBX_CNT-1:0] ptp_ts_cor_sync,
|
||||
input wire logic [PTP_TS_COR_W-1:0] ptp_ts_cor_val = '0,
|
||||
|
||||
/*
|
||||
@@ -286,7 +286,7 @@ assign m_axis_tx_cpl.tuser = '0;
|
||||
|
||||
assign tx_os_ready = tx_os_ready_reg;
|
||||
|
||||
assign ptp_ts_cor_sync = (GBX_IF_EN && PTP_TS_COR_EN) ? tx_gbx_req_sync : 1'b0;
|
||||
assign ptp_ts_cor_sync = (GBX_IF_EN && PTP_TS_COR_EN) ? tx_gbx_req_sync : '0;
|
||||
|
||||
assign tx_start_packet = start_packet_reg;
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ logic tx_os_valid;
|
||||
logic tx_os_ready;
|
||||
|
||||
logic [PTP_TS_W-1:0] ptp_ts;
|
||||
logic ptp_ts_cor_sync;
|
||||
logic [GBX_CNT-1:0] ptp_ts_cor_sync;
|
||||
logic [PTP_TS_COR_W-1:0] ptp_ts_cor_val;
|
||||
|
||||
logic [15:0] cfg_tx_max_pkt_len;
|
||||
|
||||
@@ -57,7 +57,7 @@ logic tx_os_valid;
|
||||
logic tx_os_ready;
|
||||
|
||||
logic [PTP_TS_W-1:0] ptp_ts;
|
||||
logic ptp_ts_cor_sync;
|
||||
logic [GBX_CNT-1:0] ptp_ts_cor_sync;
|
||||
logic [PTP_TS_COR_W-1:0] ptp_ts_cor_val;
|
||||
|
||||
logic [15:0] cfg_tx_max_pkt_len;
|
||||
|
||||
Reference in New Issue
Block a user