Main Content
readPort
Reads output data and returns it with the port data type and dimension
Since R2020b
Syntax
Description
reads the output data and returns this value with the port data type and dimension.data
= readPort(hFPGA
, portName
)
reads the output data from a DUT with overlapping port names by using the
optionaldata
= readPort(hFPGA
, portName
,InterfaceID
)InterfaceID
argument and returns this value with the port data
type and dimension.
reads the output data and returns this value with the port data type and dimension and an
optional output whether the output data is valid.data
,valid
= readPort(hFPGA
, portName
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2020b