/** Inputs **/
Pin 1 = AS;
Pin 2 = CLTCREG;
Pin 3 = A22;
Pin 4 = A21;
Pin 5 = A20;
Pin 6 = A19;
Pin 7 = A16;
Pin 8 = A17;
Pin 9 = A16;
Pin 10 = A15;
Pin 11 = A14;
Pin 13 = A23;
/** Outputs **/
Pin 14 = PROG; /**(Combinatorial, Output feedback output, Active low) **/
Pin 15 = DATA; /**(Combinatorial, Output feedback output, Active low) **/
Pin 16 = WORK; /**(Combinatorial, Output feedback output, Active low) **/
Pin 17 = VRAM; /**(Combinatorial, Output feedback output, Active low) **/
Pin 18 = VCHA; /**(Combinatorial, Output feedback output, Active low) **/
Pin 19 = OBJ; /**(Combinatorial, Output feedback output, Active low) **/
Pin 20 = LVCCHA; /**(Combinatorial, Output feedback output, Active low) **/
Pin 21 = CLTC; /**(Combinatorial, Output feedback output, Active low) **/
Pin 22 = ETC; /**(Combinatorial, Output feedback output, Active low) **/
Pin 23 = HIDOUKI; /**(Combinatorial, Output feedback output, Active low) **/
/** Equations **/
!PROG = !AS & !A22 & !A21 & !A20;
!DATA = !AS & !A22 & !A21 & A20;
!WORK = !AS & !A22 & A21 & !A20 & !A19 & !A16 & !A17 & !A16;
!VRAM = !AS & !A22 & A21 & A20 & !A19 & !A16 & !A17 & !A16;
!VCHA = !AS & !A22 & A21 & A20 & !A19 & !A16 & !A17 & A16;
!OBJ = !AS & !A22 & A21 & !A20 & !A19 & !A16 & !A17 & A16;
!LVCCHA = !AS & !A22 & A21 & A20 & !A19 & !A16 & A17 & !A16;
!CLTC = !AS & !A22 & A21 & A20 & !A19 & !A16 & A17 & A16;
!ETC = !AS & !A22 & A21 & !A20 & !A19 & A16;
!HIDOUKI = !AS & CLTCREG & !A22 & A21 & !A20
# !AS & !A22 & !A21;