addEthernetMACInterface
Class: hdlcoder.Board
Namespace: hdlcoder
Syntax
addEthernetMACInterface('InterfaceType',interfacetype,'MACAddress',macaddress,'IPAddress',ipaddress,'NumChannels',channels,'PortAddresses',portaddresses,'EthernetMACConstraintFile',constraintfile)
Description
addEthernetMACInterface('InterfaceType',
adds an Ethernet media access controller (MAC) Hub intellectual property (IP) to an interfacetype
,'MACAddress',macaddress
,'IPAddress',ipaddress
,'NumChannels',channels
,'PortAddresses',portaddresses
,'EthernetMACConstraintFile',constraintfile
)hdlcoder.Board
object.
Use this function if your board has the Ethernet physical layer (PHY) and you want to use
the 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.
Note
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.
FPGA data capture in the HDL Workflow Advisor does not support SGMII interface.
Input Arguments
Examples
Tips
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.
Version History
Introduced in R2022b