set_memory_region

Creates a region and assigns memory to it.

 

set_memory_region (x1,y1 x2,y2) memory1_name [,...,memoryn_name];

Arguments

(x1,y1 x2,y2)

The coordinates x1 and y1 specify the bottom-left corner, while x2 and y2 specify the top-right corner of the rectangle that defines the region in which the memory macros will be assigned. The macros are constrained to this region.

 

memory1_name,...

Specifies the memory macro(s) to assign to the region. Macro names are hierarchical names in the user netlist. You can use wildcards in macro names. The wildcard character (*) matches any string.

Supported Families

 ProASIC PLUS and ProASIC

Description

You can only assign names of memory macros to the region. Do not specify names of individual tiles. For cascaded memory, the set_memory_region constraint applies to the whole cascaded block, even if your statement mentions only one macro out of the whole cascaded block.

Exceptions

Examples

set_memory_region (1,101 32,101) M1/U0;

set_memory_region (1,101 48,101) M1/U0,M1/U1;

set_memory_region (1,101 128,101) M1/U*;

 

Note: You can also use set_net_region and use_global to assign memory to regions.

Additionally, you can use the MultiView Navigator (MVN) to create regions that include memory. MVN regions can span core, I/O, and/or memory.

See Also

Constraint support by family

Constraint entry table

GCF syntax conventions