Setting up ImgIn Ports
To define the ports that allow image streaming into the eVA IP Core:
- Go to the ImgIn tab.
- Click the plus icon
. -
Into field Base Name, enter the name of the ImgIn interface class you want to define. Double-click into the field to write.
-
In field Multiplicity, define how many ImgIn interfaces of this class you want to have on your VA IP Core. Double-click into the field to write.
The defined ImgIn ports (in our example, 3 interfaces of class ImgInGray) are immediately visible in the graphical representation of the IP Core:
- Define further properties of the ImgIn interface class:
Flow control: This parameter decides if the VisualApplets application is allowed to temporarily stop the incoming image data flow or not. If set to YES, the internal flow control mechanism for pausing input data will be implemented. If set to NO, the flow control mechanism will not be implemented. Implementation of the flow control mechanism is sensible if you have a stoppable image source connected to the ImgIn port. If you use a non-stoppable source, select NO.
- Yes: flow control mechanism for pausing input data is implemented.
- NO: no flow control mechanism for pausing input data is implemented.
Sync. mode: This parameter signals the relation of the image interface clock (iPORTIDXClk on the ImgIn 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 of the image interface port is ignored.
- SyncToDesignClk2x – interface ports are synchronous to iDesignClk2x. The external clock input of the ImgIn port is ignored.
|
Double Pixel Depth Available |
|
|
|
If you use iDesignClk2x for the ImgIn port, you may define an image protocol with twice the bit depth you define for port iv..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 ImgIn interface.
![]()
If you select Async, you need to
- provide a clock signal at the iImgInClk port of the ImgIn interface, and to
- define clock domain transition constraints in the synthesis constraints (constraints file).
|
Double Pixel Depth Available |
|
|
|
If you provide a clock signal frequency at the iImgInClk port that is much higher than iDesignClk, you may define an image protocol with twice the bit depth you define for port iv..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 the depth of the buffer FIFO for input 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.