When the wrap flag is set, the LINKCORNER information is also generated.
Some optional information may also be added after the position information in the project definition, a set of integers specifying the spacing between the CHILD entities in each of the dimensions.
ENTITYLIB ( | ||
ENTITY PE2 | ( | |
DESCRIPTION ("Procesing Element") | ||
STATES (PE2_NORMAL) | ||
PARAMS () | ||
PORTS ( | ||
PORT ( to_right, l_int, SOURCE) | ||
PORT ( to_bottom, l_int, SOURCE) | ||
PORT ( to_left, l_int, SOURCE) | ||
PORT ( to_top, l_int, SOURCE) | ||
PORT ( from_left, l_int, DESTINATION) | ||
PORT ( from_top, l_int, DESTINATION) | ||
PORT ( from_right, l_int, DESTINATION) | ||
PORT ( from_bottom, l_int, DESTINATION) | ||
) | ||
); | ||
MESH2D simd2 | ( | |
ENTITY_TYPE (PE2) | ||
SIZE1 (4) | ||
SIZE2 (4) | ||
NO_LINKS(2) | ||
WRAP(1) | ||
DESCRIPTION("2-dimensional array") | ||
PARAMS() | ||
) | ||
) | ||
STRUCTURE ( | ||
AENTITY | AENTITY simd2 SIMD2 (DESCRIPTION("2D SIMD") | |
) |
_0_0_ _1_0_ _2_0_ _3_0_
_0_1_ _1_1_ _2_1_ _3_1_
_0_2_ _1_2_ _2_2_ _3_2_
_0_3_ _1_3_ _2_3_ _3_3_
The first number is the coordinate in the first dimension, the second is the the coordinate is the second dimension (etc. for more dimensions)