単なる備忘録その2……。
; みての通りのデータ
Title control H-bridge FET
Pattern ?
Revision 5
Author G-HAL
Company fenix.ne.jp
Date 1995/08/01 - 1995/11/19, Wed,10 May,2000
; チップ名称、使用デバイス指定
CHIP H8_FET GAL16V8
; Pin Assignment
; 1 2 3 4 5 6 7 8 9 10
TR RPWM RB1 RB2 RD LPWM LB1 LB2 LD GND
; 11 12 13 14 15 16 17 18 19 20
OE LF4 LF3 LF2 LF1 RF4 RF3 RF2 RF1 VCC
; 11番ピンを "OE" にすると、コンプレックス/レジスタモードになる?
; H-bridge を叩く為の GAL
; ___VCC___
; | |
; F1 F3
; | |
; |---M---|
; | |
; F2 F4
; | |
; LLL LLL
EQUATIONS
; 以下、GAL の中身の論理式の記述。
RF1 = OE*/RD* RB1*/RB2* RPWM
RF1.TRST = TR
; 出力の3ステートを使うと、コンプレックス/レジスタモードになる。
RF2 = OE*/RD*/RB1* RB2
+ OE*/RD* RB1*/RB2*/RPWM
+ OE*/RD* RB1* RB2* RPWM + OE*/RD* RB1* RB2*/RPWM
RF2.TRST = TR
RF3 = OE*/RD* RB1* RB2* RPWM
RF3.TRST = TR
RF4 = OE*/RD*/RB1* RB2
+ OE*/RD* RB1*/RB2* RPWM + OE*/RD* RB1*/RB2*/RPWM
+ OE*/RD* RB1* RB2*/RPWM
RF4.TRST = TR
LF1 = OE*/LD* LB1*/LB2* LPWM
LF1.TRST = TR
LF2 = OE*/LD*/LB1* LB2
+ OE*/LD* LB1*/LB2*/LPWM
+ OE*/LD* LB1* LB2* LPWM + OE*/LD* LB1* LB2*/LPWM
LF2.TRST = TR
LF3 = OE*/LD* LB1* LB2* LPWM
LF3.TRST = TR
LF4 = OE*/LD*/LB1* LB2
+ OE*/LD* LB1*/LB2* LPWM + OE*/LD* LB1*/LB2*/LPWM
+ OE*/LD* LB1* LB2*/LPWM
LF4.TRST = TR
FUNCTION TABLE
; テストパターンの記述。
TR OE RD RB1 RB2 RPWM LD LB1 LB2 LPWM RF1 RF2 RF3 RF4 LF1 LF2 LF3 LF4
------------------------------------------------------------------------
L X X X X X X X X X Z Z Z Z Z Z Z Z
H L X X X X X X X X L L L L L L L L ;待機
H H H X X X X X X X L L L L X X X X ;R-DEAD
H H L L L X X X X X L L L L X X X X ;R-開放
H H L L H X X X X X L H L H X X X X ;R-制動
H H L H L H X X X X H L L H X X X X ;R-前進
H H L H L L X X X X L H L H X X X X ;
H H L H H H X X X X L H H L X X X X ;R-後進
H H L H H L X X X X L H L H X X X X ;
H H X X X X H X X X X X X X L L L L ;L-DEAD
H H X X X X L L L X X X X X L L L L ;L-開放
H H X X X X L L H X X X X X L H L H ;L-制動
H H X X X X L H L H X X X X H L L H ;L-前進
H H X X X X L H L L X X X X L H L H ;
H H X X X X L H H H X X X X L H H L ;L-後進
H H X X X X L H H L X X X X L H L H ;
------------------------------------------------------------------------
END
GAL16V8*
QP20*
QF2194*
G0*
F0*
L0000 11011111111111111111111111111111*
L0032 01110111101110111111111111111101*
L0064 00000000000000000000000000000000*
L0096 00000000000000000000000000000000*
L0128 00000000000000000000000000000000*
L0160 00000000000000000000000000000000*
L0192 00000000000000000000000000000000*
L0224 00000000000000000000000000000000*
L0256 11011111111111111111111111111111*
L0288 10110111111110111111111111111101*
L0320 11111111011110111111111111111101*
L0352 00000000000000000000000000000000*
L0384 00000000000000000000000000000000*
L0416 00000000000000000000000000000000*
L0448 00000000000000000000000000000000*
L0480 00000000000000000000000000000000*
L0512 11011111111111111111111111111111*
L0544 01110111011110111111111111111101*
L0576 00000000000000000000000000000000*
L0608 00000000000000000000000000000000*
L0640 00000000000000000000000000000000*
L0672 00000000000000000000000000000000*
L0704 00000000000000000000000000000000*
L0736 00000000000000000000000000000000*
L0768 11011111111111111111111111111111*
L0800 11111011011110111111111111111101*
L0832 11110111101110111111111111111101*
L0864 10111111011110111111111111111101*
L0896 00000000000000000000000000000000*
L0928 00000000000000000000000000000000*
L0960 00000000000000000000000000000000*
L0992 00000000000000000000000000000000*
L1024 11011111111111111111111111111111*
L1056 11111111111111110111011110111001*
L1088 00000000000000000000000000000000*
L1120 00000000000000000000000000000000*
L1152 00000000000000000000000000000000*
L1184 00000000000000000000000000000000*
L1216 00000000000000000000000000000000*
L1248 00000000000000000000000000000000*
L1280 11011111111111111111111111111111*
L1312 11111111111111111011011111111001*
L1344 11111111111111111111111101111001*
L1376 00000000000000000000000000000000*
L1408 00000000000000000000000000000000*
L1440 00000000000000000000000000000000*
L1472 00000000000000000000000000000000*
L1504 00000000000000000000000000000000*
L1536 11011111111111111111111111111111*
L1568 11111111111111110111011101111001*
L1600 00000000000000000000000000000000*
L1632 00000000000000000000000000000000*
L1664 00000000000000000000000000000000*
L1696 00000000000000000000000000000000*
L1728 00000000000000000000000000000000*
L1760 00000000000000000000000000000000*
L1792 11011111111111111111111111111111*
L1824 11111111111111111111101101111001*
L1856 11111111111111111111011110111001*
L1888 11111111111111111011111101111001*
L1920 00000000000000000000000000000000*
L1952 00000000000000000000000000000000*
L1984 00000000000000000000000000000000*
L2016 00000000000000000000000000000000*
L2048 11111111000000000000000000000000*
L2080 00000000000000000000000000000000*
L2112 00000000111111111111111111111111*
L2144 11111111111111111111111111111111*
L2176 111111111111111111*
V0001 0XXXXXXXXNXZZZZZZZZN*
V0002 1XXXXXXXXN0LLLLLLLLN*
V0003 1XXX1XXXXN1XXXXLLLLN*
V0004 1X000XXXXN1XXXXLLLLN*
V0005 1X010XXXXN1XXXXHLHLN*
V0006 11100XXXXN1XXXXHLLHN*
V0007 10100XXXXN1XXXXHLHLN*
V0008 11110XXXXN1XXXXLHHLN*
V0009 10110XXXXN1XXXXHLHLN*
V0010 1XXXXXXX1N1LLLLXXXXN*
V0011 1XXXXX000N1LLLLXXXXN*
V0012 1XXXXX010N1HLHLXXXXN*
V0013 1XXXX1100N1HLLHXXXXN*
V0014 1XXXX0100N1HLHLXXXXN*
V0015 1XXXX1110N1LHHLXXXXN*
V0016 1XXXX0110N1HLHLXXXXN*
C5B65*
816A
GAL16V8*QP20*QF2194*
G0*
F0*
L0000 11011111111111111111111111111111*
L0032 01110111101110111111111111111101*
L0256 11011111111111111111111111111111*
L0288 10110111111110111111111111111101*
L0320 11111111011110111111111111111101*
L0512 11011111111111111111111111111111*
L0544 01110111011110111111111111111101*
L0768 11011111111111111111111111111111*
L0800 11111011011110111111111111111101*
L0832 11110111101110111111111111111101*
L0864 10111111011110111111111111111101*
L1024 11011111111111111111111111111111*
L1056 11111111111111110111011110111001*
L1280 11011111111111111111111111111111*
L1312 11111111111111111011011111111001*
L1344 11111111111111111111111101111001*
L1536 11011111111111111111111111111111*
L1568 11111111111111110111011101111001*
L1792 11011111111111111111111111111111*
L1824 11111111111111111111101101111001*
L1856 11111111111111111111011110111001*
L1888 11111111111111111011111101111001*
L2048 11111111*
L2120 11111111*
L2128 1111111111111111111111111111111111111111111111111111111111111111*
L2192 11*
C5B65*
C446