diff --git a/lib/rfnoc/xport/eth_internal.v b/lib/rfnoc/xport/eth_internal.v index 49cf838..2e3cf55 100644 --- a/lib/rfnoc/xport/eth_internal.v +++ b/lib/rfnoc/xport/eth_internal.v @@ -14,10 +14,11 @@ `default_nettype none module eth_internal #( - parameter DWIDTH = 32, - parameter AWIDTH = 14, - parameter [7:0] PORTNUM = 0, - parameter [15:0] RFNOC_PROTOVER = {8'd1, 8'd0} + parameter DWIDTH = 32, + parameter AWIDTH = 14, + parameter [7:0] PORTNUM = 0, + parameter [15:0] RFNOC_PROTOVER = {8'd1, 8'd0}, + parameter NODE_INST = 0 )( // Resets input wire bus_rst, @@ -276,7 +277,7 @@ module eth_internal #( eth_interface #( .PROTOVER(RFNOC_PROTOVER), .MTU(10), - .NODE_INST(0), + .NODE_INST(NODE_INST), .REG_AWIDTH (AWIDTH), .BASE(REG_BASE_ETH_SWITCH) ) eth_interface ( diff --git a/lib/rfnoc/xport_sv/eth_ipv4_internal.sv b/lib/rfnoc/xport_sv/eth_ipv4_internal.sv index 8166fda..1851ef2 100644 --- a/lib/rfnoc/xport_sv/eth_ipv4_internal.sv +++ b/lib/rfnoc/xport_sv/eth_ipv4_internal.sv @@ -43,6 +43,7 @@ module eth_ipv4_internal #( parameter DWIDTH = 32, parameter AWIDTH = 14, parameter [ 7:0] PORTNUM = 0, + parameter NODE_INST = 0, parameter [15:0] RFNOC_PROTOVER = {8'd1, 8'd0} ) ( input wire bus_clk, @@ -349,7 +350,7 @@ module eth_ipv4_internal #( .PROTOVER (RFNOC_PROTOVER), .CPU_FIFO_SIZE (BYTE_MTU), .CHDR_FIFO_SIZE (BYTE_MTU), - .NODE_INST (0), + .NODE_INST (NODE_INST), .BASE (REG_BASE_ETH_SWITCH), .PREAMBLE_BYTES (6), .ADD_SOF (1),