hdlcoder.DUTPort
DUT port from an HDL Coder generated IP core, saved as an object array
Since R2020b
Description
This object represents each DUT port name from an HDL Coder™ generated IP core. The object represents the ports of your DUT on the target
hardware. When you generate an HDL IP core by running the IP Core
Generation
workflow, you map the ports to AXI4 slave
or AXI4-Stream interfaces. The port object contains information about these DUT ports and the
interfaces it is mapped to, based on the interface mapping information in the Target platform
interface table of the Set Target Interface task. After you use the mapPort
function, you can write to or read from the DUT ports by using the writePort
and
readPort
functions.
Creation
Description
creates a DUT port object as an object array, with additional properties specified by
name-value pair arguments.hPort
= hdlcoder.DUTPort(Name
)
Properties
Examples
Version History
Introduced in R2020b