Define Ethernet MAC interface for board object
adds an Ethernet media access controller (MAC) Hub intellectual property (IP) to an
Use this function if your board has the Ethernet physical layer (PHY) and you want to use
Ethernet option for the Insert AXI Manager (HDL
Verifier required) and FPGA Data Capture (HDL Verifier
required) reference design parameters in the Set Target Reference
Design task of the HDL Workflow Advisor.
AXI manager and FPGA data capture in the HDL Workflow Advisor support programmable logic (PL) Ethernet only. The processing system (PS) Ethernet is not supported.
interfacetype — Type of Ethernet interface for target board
Type of Ethernet interface for the target board, specified as
according to the interface of your target board.
macaddress — MAC address of target board
MAC address of the target board, specified as a character vector containing a six-octet hexadecimal value. The MAC address is the physical address of the target board.
ipaddress — IP address of Ethernet port on target board
Internet protocol (IP) address of the Ethernet port on the target board, specified as a character vector containing a dotted-quad value. The target IP address must be a set of four integers in the range [0, 255] that are separated by three dots.
channels — Number of AXI-stream channels in Ethernet MAC Hub IP
integer in the range [1, 8]
Number of AXI-stream channels in the Ethernet MAC Hub IP, specified as an integer in the range [1, 8].
portaddresses — UDP port numbers for AXI-stream channels
row vector of integers
User datagram protocol (UDP) port numbers for each AXI-stream channel in the Ethernet MAC Hub IP, specified as a row vector of integers in the range [255, 65535].
Example: [50101 50102]
constraintfile — Ethernet MAC constraint file path for target board
Ethernet MAC constraint file path for the target board, specified as a character vector containing the path of the constraint file relative to the path of the reference design.
Define Ethernet MAC Interface for Kintex-7 KC705 Development Board
Define an Ethernet MAC interface for an
object that you create for the Xilinx®
Kintex®-7 KC705 development board.
hdlcoder.Board object for the Kintex-7 KC705 board.
hB = hdlcoder.Board; hB.BoardName = 'Xilinx Kintex-7 KC705 development board';
Define an Ethernet MAC interface for the created board object.
hB.addEthernetMACInterface( ... 'InterfaceType','GMII', ... 'MACAddress','0x000A3502218A', ... 'IPAddress','192.168.0.2', ... 'NumChannels',2,... 'PortAddresses',[50101 50102], ... 'EthernetMACConstraintFile','../kc705_ethernet_gmii.xdc');
For details about the Ethernet interface type, MAC and IP addresses, number of AXI-stream channels in the Ethernet MAC Hub IP and their UDP port numbers, and constraints for your board, view the board documentation.
Introduced in R2022b