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_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 Chip Planner.

  • -placement_conflicts value

    Specifies what to do when the software encounters a placement conflict.

The following table lists the acceptable values for this argument:

Table 7-2. Acceptable Values
ValueDescription
errorCompiles error out if any instance from a block becomes unplaced or its routing is deleted. This is the default compile option.
resolveIf 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.
keepIf 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.
lockIf some instances get unplaced for any reason, the non-conflicting elements remaining are preserved and locked.
discardDiscards any placement from the block, even if there are no conflicts.
  • -routing_conflicts value

    Specifies 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.
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.