home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s205 / 1.ddi / BACKUP.001 / DOC_LREF_LR56.DOC < prev    next >
Encoding:
Text File  |  1991-02-28  |  3.6 KB  |  100 lines

  1. SIGNATURE
  2. Overview
  3. This keyword allows you to program user-defined data into devices
  4. having a signature word function.  This data can be used for such
  5. purposes as user identification, revision control, or inventory
  6. control.
  7.  
  8.  
  9. Syntax──────────────────────────────────────────────────────────────
  10.  
  11.         SIGNATURE    Assignment Operator     Number or String
  12. ────────────────────────────────────────────────────────────────────
  13.  
  14. Device Support:  PALCE16V8    PALCE20V8
  15. ·
  16. Syntax
  17. You use this keyword in the declaration segment of Boolean and state-
  18. machine designs.
  19.  
  20. Syntax──────────────────────────────────────────────────────────────
  21.  
  22.         SIGNATURE    Assignment Operator     Number or String
  23.  
  24. Example─────────────────────────────────────────────────────────────
  25.     DECLARATION
  26.         ...
  27.         PIN  18  /OUT8  REG
  28.         SIGNATURE             =                  V2_5/89
  29.         ...
  30. ────────────────────────────────────────────────────────────────────
  31. ·
  32. Definitions
  33.  
  34. Number or string   Identifies either a base (radix) number or an
  35.                    alphanumeric character string. SIGNATURE supports
  36.                    four number radixes; the default is decimal.
  37.  
  38.                    ■    Binary         #B or #b
  39.                    ■    Decimal        #D or #d
  40.                    ■    Hexadecimal    #H or #h
  41.                    ■    Octal          #O or #o
  42.  
  43.                    The software allows a maximum of 64 bits for the
  44.                    radix number.  This translates to the following
  45.                    list of maximum digits allowed for each radix.
  46.  
  47.                        RADIX      MAXIMUM NUMBER OF DIGITS
  48.                        ───────────────────────────────────
  49.                        Binary              64
  50.                        Hex                 16
  51.                        Octal               21
  52.                        Decimal             15
  53.  
  54.                    If you exceed the maximum number of digits allowed
  55.                    for a radix, the software issues a warning and
  56.                    truncates the extra most significant bits.
  57.  
  58.                    If a number contains a space, non-number, a decimal
  59.                    period, or any other alphanumeric character except
  60.                    the radix operator, #, the software treats the
  61.                    entire character string as an alphanumeric.
  62.  
  63.                    In using alphanumeric characters, observe the
  64.                    following guidelines.
  65.  
  66.                    ■    You can use any combination of alphanumeric
  67.                         characters up to a maximum of eight
  68.                         characters.
  69.  
  70.                    If the number exceeds this, the software issues a
  71.                    warning and truncates the extra rightmost
  72.                    characters.
  73.  
  74.                    ■    You can use underscores and spaces. The
  75.                         software converts alphanumeric characters to
  76.                         ASCII code and all lower case characters to
  77.                         upper case.
  78.  
  79. ·
  80. Use
  81. Place the signature statement after the PIN or NODE statements.
  82. Observe the following rules.
  83.  
  84. ■    You can place the signature statement in any order with the GROUP
  85.      or STRING statements.
  86.  
  87. ■    You can use only one signature statement for each device.
  88.  
  89. ■    You must use the assignment operator, =, in the statement.
  90.  
  91. If you have multiple signature statements, the software issues a
  92. warning and programs the last signature statement. You can access
  93. signature information even if the security fuse has been programmed.
  94. ·
  95. Related Topics
  96. Declaration Segment
  97. Operator
  98. ·
  99.