Setting up ImgOut Ports
To define the ports that allow image streaming from the VA IP Core to the surrounding FPGA design:
- Go to the ImgOut tab.
- Click the plus icon
. -
Into field Base Name, enter the name of the ImgOut interface class you want to define. Double-click into the field to write.
-
In field Multiplicity, define how many ImgOut interfaces of this class you want to have on your VA IP Core. Double-click into the field to write.
The defined ImgOut ports (in our example, 3 interfaces of class ImgOutGray) are immediately visible in the graphical representation of the IP Core:
- Define further properties of the ImgOut interface class:
Flow control {Yes,No}:
- Yes: If you select Yes, a flow control mechanism for pausing output data is implemented. Value Yes allows VisualApplets designs to block reading from the output FIFO for any duration. A FIFO-full signal signals that no further data may be written.
- NO: If you select No, no flow control mechanism for blocking output data is implemented.
Sync. mode: This parameter signals the relation of the image interface clock (iPORTIDXClk on the ImgOut port) and the design clock (iDesignClk on the IP Core). Following values are possible:
- SyncToDesignClk – interface ports are synchronous to iDesignClk. The external clock input on the ImgOut port is ignored.
- SyncToDesignClk2x – interface ports are synchronous to iDesignClk2x. The external clock input on the ImgOut port is ignored.
|
Double Pixel Depth Available |
|
|
|
If you use iDesignClk2x for the ImgOut port, you may define an image protocol with twice the bit depth you define for port ov..Data (i.e., the product of bit width and parallelism can be double-size). In this case, an automatic parallel-up with factor 2 is carried out by the system. |
Async – asynchronous interface: The interface ports are synchronized to the external clock input of the ImgOut interface.
![]()
If you select Async, you need to
- provide a clock signal at the iPortIDXClk port of the ImgOut interface, and to
- define clock domain transition constraints in the synthesis constraints (constraints file).
|
Double Pixel Depth Available |
|
|
|
If you use iDesignClk2x for the ImgOut port, you may define an image protocol with twice the bit depth you define for port ov..Data (i.e., the product of bit width and parallelism can be double-size). In this case, an automatic parallel-up with factor 2 is carried out by the system. |
|
Use iDesignClk or iDesignClk2x |
|
|
|
We recommend to use iDesignClk or iDesignClk2x for synchronization whenever possible. |
Fifo depth: Define here depth of the buffer FIFO for output data which at least needs to be implemented by an attached Visual Applets interface operator. The value must be a power of two minus 1 between 15 and 1023.
Port width: Define here the width of the image data port.