7.2 set_block_options
PDC command; overrides the compile option for placement or routing conflicts for an instance of a block.
set_block_options -inst_name instance_name -placement_conflicts value -routing_conflicts value.
Argument
-inst_name instance_nameSpecifies the block instance name. If you do not know the name of the instance, run a block report (Design > Reports > Blocks > Interface) or look at the names shown in the Block tab of the Chip Planner.
-placement_conflicts valueSpecifies what to do when the software encounters a placement conflict.
The following table lists the acceptable values for this argument:
| Value | Description |
|---|---|
| error | Compiles error out if any instance from a block becomes unplaced or its routing is deleted. This is the default compile option. |
| resolve | If some instances get unplaced for any reason, the non-conflicting elements remaining are also unplaced. Basically, if there are any conflicts, nothing from the block is kept. |
| keep | If some instances get unplaced for any reason, the non-conflicting elements remaining are preserved but not locked. Therefore, the placer can move them into another location if necessary. |
| lock | If some instances get unplaced for any reason, the non-conflicting elements remaining are preserved and locked. |
| discard | Discards any placement from the block, even if there are no conflicts. |
-routing_conflicts valueSpecifies what to do when the software encounters a routing conflict.
Supported Families
The set_block_options PDC command supports the following families:
- SmartFusion 2
- IGLOO 2
- RTG4
- SmartFusion
- IGLOO
- ProASIC3
- Fusion
Description
This command enables you to override the compile option for placement or routing conflicts for an instance of a block.
Exceptions
Following are the exceptions:
- You must import this PDC command as a source file, not as an auxiliary file.
- If placement is discarded, the routing is automatically discarded too.
set_block_options -inst_name instA -placement_conflicts ERROR -routing_conflicts ERROR.