Command Reference 2. Synopsys Commands set_resource_allocation
NAME
set_resource_allocation
Specifies the type of resource
allocation on a design.
SYNTAX
int set_resource_allocation allocation_type
string allocation_type
ARGUMENTS
allocation_type
Specifies an allocation type of "none",
"area_only", or "constraint_driven".
"Constraint_driven" directs compile to
share resources so that timing
constraints are met or, not made worse
by sharing. "Area_only" directs compile
to share operators without considering
timing constraints. "None" specifies no
resource sharing, so that each operation
is implemented with separate circuitry.
DESCRIPTION
Assigns the resource_allocation attribute that
determines the type of resource sharing for the current
design. The synthetic_library variable must be set for
resource sharing to take affect.
Use the remove_attribute command to undo this command.
EXAMPLES
The following example sets the resource_allocation
attribute on design TEST to "area_only".
dc_shell> current_design = TEST
dc_shell> set_resource_allocation area_only
The following example removes the resource_allocation
attribute from the current design.
dc_shell> remove_attribute
current_design resource_allocation
V3.1 Synopsys Inc. 1988-1994. All rights reserved. 2-71
set_resource_allocation 2. Synopsys Commands Command Reference
SEE ALSO
compile(2), get_attribute(2), remove_attribute(2),
set_resource_implementation(2).
2-72 Synopsys Inc. 1988-1994. All rights reserved. V3.1