File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ port (
239239
240240 -- This interface is to transmit Channel IDs and Timestamps of packets
241241 -- from the APP Core to the demo/testing logic in the Network Mod Core (E-Tile).
242- ETH_TX_MVB_CHANNEL : out std_logic_vector (ETH_STREAMS* MFB_REGIONS* log2 (DMA_TX_CHANNELS)- 1 downto 0 );
242+ ETH_TX_MVB_CHANNEL : out std_logic_vector (ETH_STREAMS* MFB_REGIONS* log2 (DMA_TX_CHANNELS/ (ETH_STREAMS / DMA_STREAMS) )- 1 downto 0 );
243243 ETH_TX_MVB_TIMESTAMP : out std_logic_vector (ETH_STREAMS* MFB_REGIONS* 48 - 1 downto 0 );
244244 ETH_TX_MVB_VLD : out std_logic_vector (ETH_STREAMS* MFB_REGIONS- 1 downto 0 ) := (others => '0' );
245245
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ generic(
8080 -- The measured data is presented to the user via a couple of dedicated registers.
8181 -- WARNING: works only for a single-channel (and single-Region) designs with E-Tile (Intel)!
8282 TS_DEMO_EN : boolean := false ;
83+ -- TX_DMA_CHANNELS per Eth Stream!
8384 TX_DMA_CHANNELS : natural := 16 ;
8485 -- Enable low latency optimalization
8586 LL_MODE : boolean := false ;
Original file line number Diff line number Diff line change @@ -639,7 +639,7 @@ architecture FULL of FPGA_COMMON is
639639 signal eth_tx_mfb_src_rdy : std_logic_vector (ETH_STREAMS- 1 downto 0 );
640640 signal eth_tx_mfb_dst_rdy : std_logic_vector (ETH_STREAMS- 1 downto 0 ) := (others => '1' );
641641
642- signal eth_tx_mvb_channel : std_logic_vector (ETH_STREAMS* ETH_MFB_REGIONS* log2 (DMA_TX_CHANNELS)- 1 downto 0 );
642+ signal eth_tx_mvb_channel : std_logic_vector (ETH_STREAMS* ETH_MFB_REGIONS* log2 (DMA_TX_CHANNELS/ (ETH_STREAMS / DMA_STREAMS) )- 1 downto 0 );
643643 signal eth_tx_mvb_timestamp_vld : std_logic_vector (ETH_STREAMS* ETH_MFB_REGIONS* 48 - 1 downto 0 );
644644 signal eth_tx_mvb_vld : std_logic_vector (ETH_STREAMS* ETH_MFB_REGIONS- 1 downto 0 );
645645
@@ -1591,7 +1591,7 @@ begin
15911591
15921592 LL_MODE => LL_MODE ,
15931593 TS_DEMO_EN => TS_DEMO_EN ,
1594- TX_DMA_CHANNELS => DMA_TX_CHANNELS,
1594+ TX_DMA_CHANNELS => DMA_TX_CHANNELS/ (ETH_STREAMS / DMA_STREAMS) ,
15951595
15961596 LANE_RX_POLARITY => ETH_LANE_RXPOLARITY,
15971597 LANE_TX_POLARITY => ETH_LANE_TXPOLARITY,
You can’t perform that action at this time.
0 commit comments