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

  1. GROUP
  2. Overview
  3. The keyword of a statement that clusters several pins or nodes under a
  4. single name.  Then you can use the group name in the equations or
  5. state segment of your design.
  6.  
  7.  
  8. Syntax───────────────────────────────────────────────────────────────
  9.             GROUP           Group_Name          Pn_List
  10.  
  11. ─────────────────────────────────────────────────────────────────────
  12.  
  13. Device Support:  All PLD devices.
  14. ·
  15. Syntax
  16. You use the keyword, GROUP, in the declaration segment of Boolean and
  17. state-machine designs.
  18.  
  19. Syntax───────────────────────────────────────────────────────────────
  20.             GROUP           Group_Name          Pn_List
  21. Example──────────────────────────────────────────────────────────────
  22.             PIN 15 OUT1 COMB
  23.             PIN 16 OUT2 COMB
  24.             NODE 5 NB  COMB
  25.             GROUP             BANK1             OUT1 OUT2 NB
  26.             :
  27.             EQUATIONS
  28.             :
  29.             BANK1 = IN1 * IN2 * IN3
  30. ────────────────────────────────────────────────────────────────────
  31. ·
  32. Definitions
  33.  
  34. Group_Name      This is the name assigned to a cluster of pins or
  35.                 nodes.  The name can then be used in the equations or
  36.                 state segments of a design to refer to the entire
  37.                 cluster without having to list them separately.
  38.                 Follow the rules below.
  39.  
  40.                 ■  Assign a unique name of up to 14 alphanumeric
  41.                    characters.Do not use keywords, operators, or
  42.                    reserved words.
  43.  
  44.                 ■  Place the name after the keyword GROUP and before
  45.                    the pin or node statements.
  46.  
  47.                 The syntax example shows BANK1 as a group name.
  48.  
  49. Pn_List         This is a list of the pins or nodes, defined in the
  50.                 pin and node statement, that are associated with the
  51.                 group name.
  52.  
  53.                 ■  Place this list after the group name.
  54.  
  55.                 ■  Separate pin and node names by a single space;
  56.                    multiple spaces are reduced to one.  Do not use
  57.                    commas or any other punctuation.  You can use the
  58.                    range operator, [], to define a group of pins.
  59.  
  60.                 In the syntax example, the equation BANK1 = IN1 * IN2
  61.                 * IN3 is automatically expanded into the three
  62.                 equations shown below.
  63.  
  64.                 OUT1 = IN1 * IN2 * IN3
  65.                 OUT2 = IN1 * IN2 * IN3
  66.                 NB   = IN1 * IN2 * IN3
  67. ·
  68. Use
  69. You can place the GROUP statement either before or after SIGNATURE and
  70. STRING statements.  You can use the group name, wherever appropriate
  71. in the design file, in place of the defined group of pins or nodes.
  72. This can simplify the equations segment of the file by reducing the
  73. number of equations required.
  74.  
  75. ■    You can only use the group name on the left side of an equation.
  76.  
  77. ■    You can also use the group name to define pins or nodes in the
  78.      simulation segment.
  79.  
  80. Note: You can use a group name when controlling registers consisting
  81.       of banks of flip-flops with common reset or other control lines.
  82.  
  83. For example, use a group name to combine four outputs that share a
  84. common reset line.  The software then writes four .RSTF equations.
  85.  
  86.      ;DECLARATION SEGMENT
  87.           PIN     2       A       REG
  88.           PIN     3       B       REG
  89.           PIN     4       C       REG
  90.           PIN     5       D       REG
  91.           PIN     6       E       REG
  92.           GROUP   QRST    A  B  C  D
  93.  
  94.      ;EQUATIONS
  95.           QRST.RSTF =     RES
  96.  
  97.      ;This expands to
  98.           A.RSTF  =       RES
  99.           B.RSTF  =       RES
  100.           C.RSTF  =       RES
  101.           D.RSTF  =       RES
  102. ·
  103. Related Topics
  104. Declaration Segment
  105. MACH_SEG_A, MACH_SEG_B, MACH_SEG_C, MACH_SEG_D
  106. NODE
  107. PIN
  108. ·
  109.