Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

compile(2)

find(2)

report_synlib(2)

hlo_ignore_priorities(3)



Command Reference    2.  Synopsys Commands      set_impl_priority



NAME
          set_impl_priority
                         Sets the formula attribute of the
                         priority parameter and/or the set_id
                         attribute for implementations in
                         synthetic libraries.


SYNTAX
          int set_impl_priority [-priority formula] [-set_id id]
          implementation_list

          string formula
          number   id
          list implementation_list


ARGUMENTS
          -priority formula
                         Specifies the string to which the
                         formula attribute of the priority
                         parameter should be set to. An empty
                         string results in the priority parameter
                         to be removed from the specified
                         implementations. The formula should
                         evaluate to an integer between 0 and 10.
                         Refer to chapter 2 of the Design Ware
                         developer guide for the syntax of
                         formulas associated with parameters in
                         synthetic libraries.


          -set_id id     Specifies the value to which the set_id
                         attribute should be set to. id is an
                         integer value.


          implementation_list
                         List of implementations for which to set
                         the priority parameter or the set_id
                         attribute. Implementation names must
                         contain a library prefix.  See the
                         examples below and the find command
                         documentation for more information.  If
                         more than one objects is included, they
                         must be enclosed in quotes or braces
                         ({}).


DESCRIPTION
          Sets the formula attribute of the priority parameter
          and/or the set_id attribute on the specified



V3.1      Synopsys Inc. 1988-1994. All rights reserved.       2-1





set_impl_priority    2.  Synopsys Commands      Command Reference



          implementations. At least one of the -priority or the
          -set_id options should be specified. The specified
          synthetic libraries containing the implementations must
          be loaded into dc_shell.


          Note: This command cannot be used in dc shell scripts
          embedded in HDL descriptions.  In addition, the command
          affects only the copy of the library that is currently
          loaded into memory, and has no effect on the version
          that exists on disk.  However, if the library is
          written out using write_lib, all priority parameters or
          set_id attributes will be written out, causing library
          objects to be permanently changed.


EXAMPLES
          The following command sets the formula attribute in the
          priority parameter for 'my_lib.sldb/m1/rpl' to "n < 4 ?
          6 : 2" and the set_id attribute to 4:

                         dc_shell> set_impl_priority -priority "n < 4 ? 6 : 2" -set_id 4 my_lib.sldb/m1/rpl


          The following command sets the set_id attribute of all
          the implementations of module 'm2' in the synthetic
          library 'my_lib.sldb' to 3:

                         dc_shell> set_impl_priority -set_id 3 my_lib.sldb/m2/*

          The following command removes the priority parameter
          for implementations 'imp1' and 'imp2' of the module
          'syn_lib.sldb/mod':



                         dc_shell> set_impl_priority -priority "" { syn_lib.sldb/mod/imp1, syn_lib/mod/imp2  }


SEE ALSO
          compile(2), find(2), report_synlib(2),
          hlo_ignore_priorities(3)













2-2       Synopsys Inc. 1988-1994. All rights reserved.      V3.1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026