8.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_name
- Specifies 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 MultiView Navigator Hierarchy view.
- -placement_conflicts value
- Specifies what to do when the software encounters a placement conflict.
- -routing_conflicts value
- Specifies what to do when the software encounters a routing conflict.
The following table lists the acceptable values for this argument:
Value | Description |
---|---|
error | Compile times out due to an error if any route in any preserved net from a Designer block is deleted. |
resolve | If a route is removed from a net for any reason, the routing for the non-conflicting nets is also deleted. Basically, if there are any conflicts, no routes from the block are kept. |
keep | If a route is removed from a net for any reason, the routing for the non-conflicting nets is kept unlocked. Therefore, the router can re-route these nets. |
lock | If routing is removed from a net for any reason, the routing for the non-conflicting nets is kept as locked, and the router will not change them. This is the default compile option. |
discard | Discards any routing from the block, even if there are no conflicts. |
Supported Families
The set_block_options
PDC command supports the following families:
- SmartFusion2
- IGLOO2
- RTG4
- SmartFusion
- IGLOO
- ProASIC3Fusion
- Fusion
Descriptions
This command enables you to override the compile option for placement or routing conflicts for an instance of a block.
Guidelines
Observe the following guidelines:
- 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.
This example makes the designer software
display an error if any instance from a block becomes unplaced or the routing is
deleted:
set_block_options -inst_name instA -placement_conflicts ERROR
-routing_conflicts ERROR
.