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

  1. PIN
  2. Overview
  3. This is the keyword that begins a statement that allows you to assign
  4. names and attributes to device pins.
  5.  
  6.  
  7. Syntax──────────────────────────────────────────────────────────────
  8.  
  9.         PIN             Location_Number      Name      Storage  
  10. ────────────────────────────────────────────────────────────────────
  11.  
  12. Device Support:  All PLD devices.
  13. ·
  14. Syntax
  15. Include the PIN keyword in the declaration segment of Boolean and
  16. state- machine designs.
  17.  
  18. Syntax──────────────────────────────────────────────────────────────
  19.  
  20.         PIN             Location_Number      Name      Storage  
  21. Example─────────────────────────────────────────────────────────────
  22.  
  23.         ...
  24.         PIN     1     IN1     COMB 
  25.         PIN     8     IN2     REG
  26.         PIN     16    OUT
  27.         ...
  28. ────────────────────────────────────────────────────────────────────
  29. ·
  30. Definitions
  31.  
  32. Location_Number Identifies the pin number, as defined in the device
  33.                 data.  For MACH-device designs you can place a
  34.                 question mark, ?, in this field to define a floating
  35.                 pin.
  36.  
  37. Name            Defines the name of the pin.  Each name must be
  38.                 unique and must follow the location_number field.
  39.  
  40.                 ■    Begin the name with an alpha character; use any
  41.                      combination of up to 14 upper- or lowercase
  42.                      alphanumeric characters: A-Z, 0-9.
  43.  
  44.                 Important:  Keep names in a schematic less than or
  45.                 equal to 14 characters.  Part and pin names in the
  46.                 schematic may be concatenated as data is converted
  47.                 into PDS format. Any name longer than 14 characters is
  48.                 automatically truncated.
  49.  
  50.                 ■    Use underscore, _, as a connector and a slash, /,
  51.                      to affect polarity; no other symbols or
  52.                      punctuation are allowed and no keywords, reserved
  53.                      words, or logic operators are allowed.
  54.  
  55.                 Note:  The polarity slash is not supported for
  56.                 schematic-based designs.
  57.  
  58.                 You can use ranges and vector notation to define pin
  59.                 names.  You must use the same number of pins as names
  60.                 in ranges and vectors. All pins defined within a range
  61.                 or vector notation have the same storage type and
  62.                 polarity attributes.
  63.  
  64. Storage         Storage defines the pin storage type.  You can specify
  65.                 one of the following three storage types.
  66.  
  67.                 ■    COMBINATORIAL or COMB
  68.                 ■    REGISTERED or REG
  69.                 ■    LATCHED or LAT
  70.  
  71.                 Note:  You need only enter the first three or four
  72.                 letters of the storage attribute.  If you do not
  73.                 select a pin type, the software defaults to
  74.                 COMBINATORIAL even if the device you selected in the
  75.                 CHIP statement is fully registered. This helps design
  76.                 portability across all devices.
  77.  
  78. ·
  79. Use
  80. The PIN statements must follow the CHIP statement.  Use a separate
  81. line for each pin statement.  You do not have to place the PIN
  82. statements in numerical order. You can only place comments between PIN
  83. statements, not within a PIN statement.  Separate each PIN attribute
  84. by one or more spaces.
  85.  
  86. Declare only the pins you are using.  The software automatically
  87. assigns the name NC, no connect, to all pins that are not declared.
  88. You must declare the VCC and GND pins.  You cannot use different names
  89. for VCC and GND.
  90.  
  91. PIN statements in the current version of the software differ from the
  92. pin list of previous versions.  However, the old syntax is fully
  93. compatible with the new.
  94. ·
  95. Related Topics
  96. Boolean Equation
  97. CHIP
  98. COMBINATORIAL
  99. Declaration Segment
  100. LATCHED
  101. NODE
  102. Operator
  103. PAIR
  104. REGISTERED
  105. VECTOR
  106. FLOATING PINS AND NODES
  107. ·
  108.