⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 galpin_e.txt

📁 gal16v8及gal20v8的编译程序源码
💻 TXT
字号:
For GAL16V8/GAL20V8, these devices have three different configuration modes
which is selected automatically depend on state of output definitions.
For GAL22V10, it is not devided in any configuration mode.



SIMPLE MODE FOR GAL16V8/20V8

This configuration is selected when there is not OE control nor
registered output. It is equivalent to PAL16LD8, PAL16HD8 and PAL16L2...

Product terms can be defined up to eight terms for each OLMC. When an OLMC
is not defined as output, it will be an input pin.
Only OLMC4 and OLMC5 cannot be used for feedback, when those pin are not
defined as output, they will be disabled and cannot be used as an input.


              GAL16V8                            GAL20V8
           |~~~~\__/~~~~|                    |~~~~\__/~~~~|
    --->  1|        VCC |20           --->  1|        VCC |24
    --->  2|      OLMC1 |19 <-->      --->  2|            |23 <---
    --->  3|      OLMC2 |18 <-->      --->  3|      OLMC1 |22 <-->
    --->  4|      OLMC3 |17 <-->      --->  4|      OLMC2 |21 <-->
    --->  5|      OLMC4 |16 --->      --->  5|      OLMC3 |20 <-->
    --->  6|      OLMC5 |15 --->      --->  6|      OLMC4 |19 --->
    --->  7|      OLMC6 |14 <-->      --->  7|      OLMC5 |18 --->
    --->  8|      OLMC7 |13 <-->      --->  8|      OLMC6 |17 <-->
    --->  9|      OLMC8 |12 <-->      --->  9|      OLMC7 |16 <-->
         10| GND        |11 <---      ---> 10|      OLMC8 |15 <-->
           |____________|             ---> 11|            |14 <---
                                           12| GND        |13 <---
                                             |____________|




COMPLEX MODE FOR GAL16V8/20V8

This configuration is selected when there is one OE control at least
and no registered output. It is equivalent to PAL16L8, PAL16H8...

Product terms can be defined up to seven terms for each OLMC. OE control
has only one product term. When an OLMC is not defined as output, it will
be an input pin. Only OLMC1 and OLMC8 cannot be used for feedback, when
those pin are not defined as output, they will be disabled and cannot be
used as an input.


                16V8                              20V8
           |~~~~\__/~~~~|                    |~~~~\__/~~~~|
    --->  1|        VCC |20           --->  1|        VCC |24
    --->  2|      OLMC1 |19 --->      --->  2|            |23 <---
    --->  3|      OLMC2 |18 <-->      --->  3|      OLMC1 |22 --->
    --->  4|      OLMC3 |17 <-->      --->  4|      OLMC2 |21 <-->
    --->  5|      OLMC4 |16 <-->      --->  5|      OLMC3 |20 <-->
    --->  6|      OLMC5 |15 <-->      --->  6|      OLMC4 |19 <-->
    --->  7|      OLMC6 |14 <-->      --->  7|      OLMC5 |18 <-->
    --->  8|      OLMC7 |13 <-->      --->  8|      OLMC6 |17 <-->
    --->  9|      OLMC8 |12 --->      --->  9|      OLMC7 |16 <-->
         10| GND        |11 <---      ---> 10|      OLMC8 |15 --->
           |____________|             ---> 11|            |14 <---
                                           12| GND        |13 <---
                                             |____________|




REGISTERED MODE FOR GAL16V8/20V8

This configuration is selected when there is one registered output at least.
It is equivalent to PAL16R8, PAL16R4...

When an OLMC is defined as a registered output, number of product terms for
the OLMC is eight. The clock and OE will be connected to global control pins.
The feedback value from the registered output is the register's value, it is
not input level from the I/O pin.

For dedicated output and not defined OLMC, they are same as complex mode.


              侾俇倁俉                             俀侽倁俉
           |~~~~\__/~~~~|                       |~~~~\__/~~~~|
         侾|>CLK    VCC |俀侽                 侾|>CLK    VCC |俀係
   --->  俀|       OLMC |侾俋 <-->      --->  俀|            |俀俁 <---
   --->  俁|       OLMC |侾俉 <-->      --->  俁|       OLMC |俀俀 <-->
   --->  係|       OLMC |侾俈 <-->      --->  係|       OLMC |俀侾 <-->
   --->  俆|       OLMC |侾俇 <-->      --->  俆|       OLMC |俀侽 <-->
   --->  俇|       OLMC |侾俆 <-->      --->  俇|       OLMC |侾俋 <-->
   --->  俈|       OLMC |侾係 <-->      --->  俈|       OLMC |侾俉 <-->
   --->  俉|       OLMC |侾俁 <-->      --->  俉|       OLMC |侾俈 <-->
   --->  俋|       OLMC |侾俀 <-->      --->  俋|       OLMC |侾俇 <-->
       侾侽| GND    /OE |侾侾           --->侾侽|       OLMC |侾俆 <-->
           |____________|               --->侾侾|            |侾係 <---
                                            侾俀| GND    /OE |侾俁
                                                |____________|





  GAL22V10 does not have any configuration mode like GAL16V8/20V8. All I/O
  pins can be used for input or feedback.

  Registered outputs are clocked by global clock input (Pin#1). OE control
  can be defined for each output.

  Maximun number of the product terms for OLMCs are eight for pin #23 and
  #14, ten for pin #22 and #15, twelve for pin #21 and #16, fourteen for
  pin #20 and #17, sixteen for pin #19 and #18.

  GAL22V10 has special product terms, async-reset and sync-preset. When the
  terms are enabled, whole registers can be set/reset directry.
  ASYNC.RESET term clears whole registers.
  SYNC.PRERESET term sets whole registers synchronized by clock.




                                 GAL22V10
                              |~~~~\__/~~~~|
                      --->  侾|>CLK    VCC |俀係
                      --->  俀|       OLMC |俀俁 <-->
                      --->  俁|       OLMC |俀俀 <-->
                      --->  係|       OLMC |俀侾 <-->
                      --->  俆|       OLMC |俀侽 <-->
                      --->  俇|       OLMC |侾俋 <-->
                      --->  俈|       OLMC |侾俉 <-->
                      --->  俉|       OLMC |侾俈 <-->
                      --->  俋|       OLMC |侾俇 <-->
                      --->侾侽|       OLMC |侾俆 <-->
                      --->侾侾|       OLMC |侾係 <-->
                          侾俀| GND        |侾俁 <---
                              |____________|

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -