addExternalPortInterface
Class: hdlcoder.Board
Namespace: hdlcoder
Define external port interface for board object
Syntax
addExternalPortInterface('IOPadConstraint',constraints)
Description
addExternalPortInterface('IOPadConstraint',
adds
a generic external port interface to an constraints
)hdlcoder.Board
object.
You can add at most one external port interface to your board object.
Use this method if you want the External Port
option
to be available in the HDL Workflow Advisor Target Platform
Interface dropdown list. If you use this method to add
an external port, in the HDL Workflow Advisor, you must manually specify
pin names in the Bit Range / Address / FPGA Pin field.
Input Arguments
Tips
To get IO constraint names for your board, view the board documentation.
Alternatives
If you know the details of the external interface, and want
to make them available as UI dropdown list options in the HDL Workflow
advisor, use the addExternalIOInterface
method instead. For
example, using hdlcoder.Board.addExternalIOInterface
,
you can predefine characteristics of the interface such as the name,
port bit width, signal direction, and valid pin names.
Version History
Introduced in R2015a