To add logical port to the interface, do the following:
- On the ports list, right-click and select Add
Port.Alternatively, you can click the Add button on the toolbar. The following figure shows the Add Port dialog box.
- Enter the required information, as follows:
- Display Name
- The name of the logic port. In the AMD convention, these names are uppercase and are not prefixed with the name of the interface.
- Enter a human-readable description for the logical port. Any transaction signaling must be described.
- Default Value
- When the port is optional, IP integrator uses this default value to drive the in mode port when unconnected.
Note: If this port is part of the control logic, and is optional, it is important that the value is set to allow transactions to continue and not stall.
- In the Master and
Slave sections, set the
- Required bit width of the mapped port for master/slave mode bus interfaces exposed on an IP. Values are: –1 (undefined width), 1(single bit signal), or a fixed value.
Note: Often the slave and master widths are the same.Important: Typically the slave and master directions are opposite. If the directions are the same, IP integrator might not be able to properly directly connect the master and slave.
- Set to either required or optional, indicating if the logical port is required to be mapped in master/slave mode bus interfaces exposed on an IP. Allowed values are: optional, required, and illegal.
- Required port mode when mapped for master/slave mode bus interfaces exposed on an IP. Values are in, out, and inout.
- In the Type section, set the
- Check this option when the logical port serves as an address line.
- Check this option when the logical port carries data and is not a control, addressing, or clock/reset.
- Check this option when the logical port is a clock line.
- Check this option when the logical port is a reset line.
- Click OK.