(***************************************************************************)
(*                                                                         *)
(*                         Copyright (C) 1987-1990                         *)
(*                      by Gogesch Micro Systems, INC.                     *)
(*                                                                         *)
(*                           All rights reserved.                          *)
(*                                                                         *)
(***************************************************************************)


;ALL DATA WAS TAKEN FROM MARCH, 1989 DATA SHEETS
%StartModel
%Manufacturer:ICT
%Type:18CV8
%PartNumber:PEEL18CV8-15
%LastNode ? ?
%NumPins: 20
%FDF AND 0 P1 ~P1 P11 ~P11 P2 ~P2 N1 ~N1 P3 ~P3 N2 ~N2 P4 ~P4 N3 ~N3 P5 ~P5
     N4 ~N4 P6 ~P6 N5 ~N5 P7 ~P7 N6 ~N6 P8 ~P8 N7 ~N7 P9 ~P9 N8 ~N8*

%MACRO CV8MAC(InFuse:%FF, S0:%SF, LorOutput:%TEXT, TLNode:%TEXT, TNode:%TEXT,
       EnableFuse:%SF, TSBEnable:%FF, PolarityFuse:%SF, OutPin:%TEXT,
       FeedBack:%TEXT);

    LOR(%InFuse, %InFuse+36, %InFuse+72, %InFuse+108, %InFuse+144, %InFuse+180,
        %InFuse+216, %InFuse+252; LorOutput);
 %CASE %S0, %S0+1, %S0+2
   0:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 12,12,12,0,10,10,20,20,20,10,12,12,12,0,10,10,20,20,20,10);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 15,15,15,15);
     %ELSE
      INV(LorOutput; OutPin; 15,15,15,15);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |2:
     %IF %EnableFuse..%EnableFuse+35 = 1 %THEN
      %IF %PolarityFuse = 0 %THEN
       BUF(LorOutput; OutPin; 15,15,15,15);
      %ELSE
       INV(LorOutput; OutPin; 15,15,15,15);
      %END;
     %ELSE
      %IF %PolarityFuse = 0 %THEN
       TSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
      %ELSE
       ITSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
      %END;
     %END;
     BUF(LorOutput; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 15,15,15,15);
     %ELSE
      INV(LorOutput; OutPin; 15,15,15,15);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |4:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 12,12,12,0,10,10,20,20,20,10,12,12,12,0,10,10,20,20,20,10);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |6:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 12,12,12,0,10,10,20,20,20,10,12,12,12,0,10,10,20,20,20,10);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(LorOutput; FeedBack; 0,0,0,0);
  |7:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 12,12,12,0,10,10,20,20,20,10,12,12,12,0,10,10,20,20,20,10);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
 %END;
%MACEND;

LAND(%FF2592; L1);
LNOR(%FF2628, IPH; L2);

CV8MAC(%FF00, %SF2665, L3, L4, N9, %SF2304, %FF2304, %SF2664, P19, N1);
CV8MAC(%FF288, %SF2669, L5, L6, N10, %SF2340, %FF2340, %SF2668, P18, N2);
CV8MAC(%FF576, %SF2673, L7, L8, N11, %SF2376, %FF2376, %SF2672, P17, N3);
CV8MAC(%FF864, %SF2677, L9, L10, N12, %SF2412, %FF2412, %SF2676, P16, N4);
CV8MAC(%FF1152, %SF2681, L11, L12, N13, %SF2448, %FF2448, %SF2680, P15, N5);
CV8MAC(%FF1440, %SF2685, L13, L14, N14, %SF2484, %FF2484, %SF2684, P14, N6);
CV8MAC(%FF1728, %SF2689, L15, L16, N15, %SF2520, %FF2520, %SF2688, P13, N7);
CV8MAC(%FF2016, %SF2693, L17, L18, N16, %SF2556, %FF2556, %SF2692, P12, N8);
%EndModel

%StartModel
%Manufacturer:ICT
%Type:18CV8
%PartNumber:PEEL18CV8-20
%LastNode ? ?
%NumPins: 20
%FDF AND 0 P1 ~P1 P11 ~P11 P2 ~P2 N1 ~N1 P3 ~P3 N2 ~N2 P4 ~P4 N3 ~N3 P5 ~P5
     N4 ~N4 P6 ~P6 N5 ~N5 P7 ~P7 N6 ~N6 P8 ~P8 N7 ~N7 P9 ~P9 N8 ~N8*

%MACRO CV8MAC(InFuse:%FF, S0:%SF, LorOutput:%TEXT, TLNode:%TEXT, TNode:%TEXT,
       EnableFuse:%SF, TSBEnable:%FF, PolarityFuse:%SF, OutPin:%TEXT,
       FeedBack:%TEXT);

    LOR(%InFuse, %InFuse+36, %InFuse+72, %InFuse+108, %InFuse+144, %InFuse+180,
        %InFuse+216, %InFuse+252; LorOutput);
 %CASE %S0, %S0+1, %S0+2
   0:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,15,0,12,12,25,25,20,15,15,15,15,0,12,12,25,25,20,15);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 20,20,20,20);
     %ELSE
      INV(LorOutput; OutPin; 20,20,20,20);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |2:
     %IF %EnableFuse..%EnableFuse+35 = 1 %THEN
      %IF %PolarityFuse = 0 %THEN
       BUF(LorOutput; OutPin; 20,20,20,20);
      %ELSE
       INV(LorOutput; OutPin; 20,20,20,20);
      %END;
     %ELSE
      %IF %PolarityFuse = 0 %THEN
       TSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
      %ELSE
       ITSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
      %END;
     %END;
     BUF(LorOutput; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 20,20,20,20);
     %ELSE
      INV(LorOutput; OutPin; 20,20,20,20);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |4:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,15,0,12,12,25,25,20,15,15,15,15,0,12,12,25,25,20,15);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 20,20,20,20);
     %ELSE
      INV(TNode; OutPin; 20,20,20,20);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |6:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,15,0,12,12,25,25,20,15,15,15,15,0,12,12,25,25,20,15);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(LorOutput; FeedBack; 0,0,0,0);
  |7:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,15,0,12,12,25,25,20,15,15,15,15,0,12,12,25,25,20,15);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 20,20,20,20,20,20,20,20);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
 %END;
%MACEND;

LAND(%FF2592; L1);
LNOR(%FF2628, IPH; L2);

CV8MAC(%FF00, %SF2665, L3, L4, N9, %SF2304, %FF2304, %SF2664, P19, N1);
CV8MAC(%FF288, %SF2669, L5, L6, N10, %SF2340, %FF2340, %SF2668, P18, N2);
CV8MAC(%FF576, %SF2673, L7, L8, N11, %SF2376, %FF2376, %SF2672, P17, N3);
CV8MAC(%FF864, %SF2677, L9, L10, N12, %SF2412, %FF2412, %SF2676, P16, N4);
CV8MAC(%FF1152, %SF2681, L11, L12, N13, %SF2448, %FF2448, %SF2680, P15, N5);
CV8MAC(%FF1440, %SF2685, L13, L14, N14, %SF2484, %FF2484, %SF2684, P14, N6);
CV8MAC(%FF1728, %SF2689, L15, L16, N15, %SF2520, %FF2520, %SF2688, P13, N7);
CV8MAC(%FF2016, %SF2693, L17, L18, N16, %SF2556, %FF2556, %SF2692, P12, N8);
%EndModel

%StartModel
%Manufacturer:ICT
%Type:18CV8
%PartNumber:PEEL18CV8-25
%LastNode ? ?
%NumPins: 20
%FDF AND 0 P1 ~P1 P11 ~P11 P2 ~P2 N1 ~N1 P3 ~P3 N2 ~N2 P4 ~P4 N3 ~N3 P5 ~P5
     N4 ~N4 P6 ~P6 N5 ~N5 P7 ~P7 N6 ~N6 P8 ~P8 N7 ~N7 P9 ~P9 N8 ~N8*

%MACRO CV8MAC(InFuse:%FF, S0:%SF, LorOutput:%TEXT, TLNode:%TEXT, TNode:%TEXT,
       EnableFuse:%SF, TSBEnable:%FF, PolarityFuse:%SF, OutPin:%TEXT,
       FeedBack:%TEXT);

    LOR(%InFuse, %InFuse+36, %InFuse+72, %InFuse+108, %InFuse+144, %InFuse+180,
        %InFuse+216, %InFuse+252; LorOutput);
 %CASE %S0, %S0+1, %S0+2
   0:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,20,0,15,15,30,30,25,5,15,15,20,0,15,15,30,30,25,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 25,25,25,25);
     %ELSE
      INV(LorOutput; OutPin; 25,25,25,25);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |2:
     %IF %EnableFuse..%EnableFuse+35 = 1 %THEN
      %IF %PolarityFuse = 0 %THEN
       BUF(LorOutput; OutPin; 25,25,25,25);
      %ELSE
       INV(LorOutput; OutPin; 25,25,25,25);
      %END;
     %ELSE
      %IF %PolarityFuse = 0 %THEN
       TSB(LorOutput, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
      %ELSE
       ITSB(LorOutput, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
      %END;
     %END;
     BUF(LorOutput; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 25,25,25,25);
     %ELSE
      INV(LorOutput; OutPin; 25,25,25,25);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |4:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,20,0,15,15,30,30,25,5,15,15,20,0,15,15,30,30,25,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |6:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,20,0,15,15,30,30,25,5,15,15,20,0,15,15,30,30,25,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %END;
    %END;
    BUF(LorOutput; FeedBack; 0,0,0,0);
  |7:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 15,15,20,0,15,15,30,30,25,5,15,15,20,0,15,15,30,30,25,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 25,25,25,25,25,25,25,25);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
 %END;
%MACEND;

LAND(%FF2592; L1);
LNOR(%FF2628, IPH; L2);

CV8MAC(%FF00, %SF2665, L3, L4, N9, %SF2304, %FF2304, %SF2664, P19, N1);
CV8MAC(%FF288, %SF2669, L5, L6, N10, %SF2340, %FF2340, %SF2668, P18, N2);
CV8MAC(%FF576, %SF2673, L7, L8, N11, %SF2376, %FF2376, %SF2672, P17, N3);
CV8MAC(%FF864, %SF2677, L9, L10, N12, %SF2412, %FF2412, %SF2676, P16, N4);
CV8MAC(%FF1152, %SF2681, L11, L12, N13, %SF2448, %FF2448, %SF2680, P15, N5);
CV8MAC(%FF1440, %SF2685, L13, L14, N14, %SF2484, %FF2484, %SF2684, P14, N6);
CV8MAC(%FF1728, %SF2689, L15, L16, N15, %SF2520, %FF2520, %SF2688, P13, N7);
CV8MAC(%FF2016, %SF2693, L17, L18, N16, %SF2556, %FF2556, %SF2692, P12, N8);
%EndModel

%StartModel
%Manufacturer:ICT
%Type:18CV8
%PartNumber:PEEL18CV8-30
%LastNode ? ?
%NumPins: 20
%FDF AND 0 P1 ~P1 P11 ~P11 P2 ~P2 N1 ~N1 P3 ~P3 N2 ~N2 P4 ~P4 N3 ~N3 P5 ~P5
     N4 ~N4 P6 ~P6 N5 ~N5 P7 ~P7 N6 ~N6 P8 ~P8 N7 ~N7 P9 ~P9 N8 ~N8*

%MACRO CV8MAC(InFuse:%FF, S0:%SF, LorOutput:%TEXT, TLNode:%TEXT, TNode:%TEXT,
       EnableFuse:%SF, TSBEnable:%FF, PolarityFuse:%SF, OutPin:%TEXT,
       FeedBack:%TEXT);

    LOR(%InFuse, %InFuse+36, %InFuse+72, %InFuse+108, %InFuse+144, %InFuse+180,
        %InFuse+216, %InFuse+252; LorOutput);
 %CASE %S0, %S0+1, %S0+2
   0:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,25,0,15,15,35,35,30,5,20,20,25,0,15,15,35,35,30,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 30,30,30,30);
     %ELSE
      INV(LorOutput; OutPin; 30,30,30,30);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |2:
     %IF %EnableFuse..%EnableFuse+35 = 1 %THEN
      %IF %PolarityFuse = 0 %THEN
       BUF(LorOutput; OutPin; 30,30,30,30);
      %ELSE
       INV(LorOutput; OutPin; 30,30,30,30);
      %END;
     %ELSE
      %IF %PolarityFuse = 0 %THEN
       TSB(LorOutput, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
      %ELSE
       ITSB(LorOutput, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
      %END;
     %END;
     BUF(LorOutput; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 30,30,30,30);
     %ELSE
      INV(LorOutput; OutPin; 30,30,30,30);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |4:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,25,0,15,15,35,35,30,5,20,20,25,0,15,15,35,35,30,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |6:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,25,0,15,15,35,35,30,5,20,20,25,0,15,15,35,35,30,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %END;
    %END;
    BUF(LorOutput; FeedBack; 0,0,0,0);
  |7:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,25,0,15,15,35,35,30,5,20,20,25,0,15,15,35,35,30,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 30,30,30,30,30,30,30,30);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
 %END;
%MACEND;

LAND(%FF2592; L1);
LNOR(%FF2628, IPH; L2);

CV8MAC(%FF00, %SF2665, L3, L4, N9, %SF2304, %FF2304, %SF2664, P19, N1);
CV8MAC(%FF288, %SF2669, L5, L6, N10, %SF2340, %FF2340, %SF2668, P18, N2);
CV8MAC(%FF576, %SF2673, L7, L8, N11, %SF2376, %FF2376, %SF2672, P17, N3);
CV8MAC(%FF864, %SF2677, L9, L10, N12, %SF2412, %FF2412, %SF2676, P16, N4);
CV8MAC(%FF1152, %SF2681, L11, L12, N13, %SF2448, %FF2448, %SF2680, P15, N5);
CV8MAC(%FF1440, %SF2685, L13, L14, N14, %SF2484, %FF2484, %SF2684, P14, N6);
CV8MAC(%FF1728, %SF2689, L15, L16, N15, %SF2520, %FF2520, %SF2688, P13, N7);
CV8MAC(%FF2016, %SF2693, L17, L18, N16, %SF2556, %FF2556, %SF2692, P12, N8);
%EndModel

%StartModel
%Manufacturer:ICT
%Type:18CV8
%PartNumber:PEEL18CV8-35
%LastNode ? ?
%NumPins: 20
%FDF AND 0 P1 ~P1 P11 ~P11 P2 ~P2 N1 ~N1 P3 ~P3 N2 ~N2 P4 ~P4 N3 ~N3 P5 ~P5
     N4 ~N4 P6 ~P6 N5 ~N5 P7 ~P7 N6 ~N6 P8 ~P8 N7 ~N7 P9 ~P9 N8 ~N8*

%MACRO CV8MAC(InFuse:%FF, S0:%SF, LorOutput:%TEXT, TLNode:%TEXT, TNode:%TEXT,
       EnableFuse:%SF, TSBEnable:%FF, PolarityFuse:%SF, OutPin:%TEXT,
       FeedBack:%TEXT);

    LOR(%InFuse, %InFuse+36, %InFuse+72, %InFuse+108, %InFuse+144, %InFuse+180,
        %InFuse+216, %InFuse+252; LorOutput);
 %CASE %S0, %S0+1, %S0+2
   0:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,30,0,15,15,40,40,35,5,20,20,30,0,15,15,40,40,35,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 35,35,35,35);
     %ELSE
      INV(LorOutput; OutPin; 35,35,35,35);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |2:
     %IF %EnableFuse..%EnableFuse+35 = 1 %THEN
      %IF %PolarityFuse = 0 %THEN
       BUF(LorOutput; OutPin; 35,35,35,35);
      %ELSE
       INV(LorOutput; OutPin; 35,35,35,35);
      %END;
     %ELSE
      %IF %PolarityFuse = 0 %THEN
       TSB(LorOutput, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
      %ELSE
       ITSB(LorOutput, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
      %END;
     %END;
     BUF(LorOutput; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 35,35,35,35);
     %ELSE
      INV(LorOutput; OutPin; 35,35,35,35);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |4:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,30,0,15,15,40,40,35,5,20,20,30,0,15,15,40,40,35,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 35,35,35,35);
     %ELSE
      INV(TNode; OutPin; 35,35,35,35);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |6:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,30,0,15,15,40,40,35,5,20,20,30,0,15,15,40,40,35,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 35,35,35,35);
     %ELSE
      INV(TNode; OutPin; 35,35,35,35);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %END;
    %END;
    BUF(LorOutput; FeedBack; 0,0,0,0);
  |7:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 20,20,30,0,15,15,40,40,35,5,20,20,30,0,15,15,40,40,35,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 35,35,35,35);
     %ELSE
      INV(TNode; OutPin; 35,35,35,35);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 35,35,35,35,35,35,35,35);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
 %END;
%MACEND;

LAND(%FF2592; L1);
LNOR(%FF2628, IPH; L2);

CV8MAC(%FF00, %SF2665, L3, L4, N9, %SF2304, %FF2304, %SF2664, P19, N1);
CV8MAC(%FF288, %SF2669, L5, L6, N10, %SF2340, %FF2340, %SF2668, P18, N2);
CV8MAC(%FF576, %SF2673, L7, L8, N11, %SF2376, %FF2376, %SF2672, P17, N3);
CV8MAC(%FF864, %SF2677, L9, L10, N12, %SF2412, %FF2412, %SF2676, P16, N4);
CV8MAC(%FF1152, %SF2681, L11, L12, N13, %SF2448, %FF2448, %SF2680, P15, N5);
CV8MAC(%FF1440, %SF2685, L13, L14, N14, %SF2484, %FF2484, %SF2684, P14, N6);
CV8MAC(%FF1728, %SF2689, L15, L16, N15, %SF2520, %FF2520, %SF2688, P13, N7);
CV8MAC(%FF2016, %SF2693, L17, L18, N16, %SF2556, %FF2556, %SF2692, P12, N8);
%EndModel

%StartModel
%Manufacturer:ICT
%Type:18CV8
%PartNumber:PEEL18CV8-45
%LastNode ? ?
%NumPins: 20
%FDF AND 0 P1 ~P1 P11 ~P11 P2 ~P2 N1 ~N1 P3 ~P3 N2 ~N2 P4 ~P4 N3 ~N3 P5 ~P5
     N4 ~N4 P6 ~P6 N5 ~N5 P7 ~P7 N6 ~N6 P8 ~P8 N7 ~N7 P9 ~P9 N8 ~N8*

%MACRO CV8MAC(InFuse:%FF, S0:%SF, LorOutput:%TEXT, TLNode:%TEXT, TNode:%TEXT,
       EnableFuse:%SF, TSBEnable:%FF, PolarityFuse:%SF, OutPin:%TEXT,
       FeedBack:%TEXT);

    LOR(%InFuse, %InFuse+36, %InFuse+72, %InFuse+108, %InFuse+144, %InFuse+180,
        %InFuse+216, %InFuse+252; LorOutput);
 %CASE %S0, %S0+1, %S0+2
   0:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 25,25,35,0,15,15,50,50,45,5,25,25,35,0,15,15,50,50,45,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 45,45,45,45);
     %ELSE
      INV(LorOutput; OutPin; 45,45,45,45);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |2:
     %IF %EnableFuse..%EnableFuse+35 = 1 %THEN
      %IF %PolarityFuse = 0 %THEN
       BUF(LorOutput; OutPin; 45,45,45,45);
      %ELSE
       INV(LorOutput; OutPin; 45,45,45,45);
      %END;
     %ELSE
      %IF %PolarityFuse = 0 %THEN
       TSB(LorOutput, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
      %ELSE
       ITSB(LorOutput, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
      %END;
     %END;
     BUF(LorOutput; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(LorOutput;OutPin; 45,45,45,45);
     %ELSE
      INV(LorOutput; OutPin; 45,45,45,45);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(LorOutput, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %ELSE
      ITSB(LorOutput, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |4:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 25,25,35,0,15,15,50,50,45,5,25,25,35,0,15,15,50,50,45,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %END;
    %END;
    BUF(TNode; FeedBack; 0,0,0,0);
  |6:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 25,25,35,0,15,15,50,50,45,5,25,25,35,0,15,15,50,50,45,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %END;
    %END;
    BUF(LorOutput; FeedBack; 0,0,0,0);
  |7:
     LOR(LorOutput, L1; TLNode);
     DQFFC(TLNode, P1, L2; TNode; 25,25,35,0,15,15,50,50,45,5,25,25,35,0,15,15,50,50,45,5);
    %IF %EnableFuse.. %EnableFuse+35 = 1 %THEN
     %IF %PolarityFuse = 0 %THEN
      BUF(TNode;OutPin; 0,0,0,0);
     %ELSE
      INV(TNode; OutPin; 0,0,0,0);
     %END;
    %ELSE
     %IF %PolarityFuse = 0 %THEN
      TSB(TNode, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %ELSE
      ITSB(TNode, TSBEnable; OutPin; 45,45,45,45,45,45,45,45);
     %END;
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
 %END;
%MACEND;

LAND(%FF2592; L1);
LNOR(%FF2628, IPH; L2);

CV8MAC(%FF00, %SF2665, L3, L4, N9, %SF2304, %FF2304, %SF2664, P19, N1);
CV8MAC(%FF288, %SF2669, L5, L6, N10, %SF2340, %FF2340, %SF2668, P18, N2);
CV8MAC(%FF576, %SF2673, L7, L8, N11, %SF2376, %FF2376, %SF2672, P17, N3);
CV8MAC(%FF864, %SF2677, L9, L10, N12, %SF2412, %FF2412, %SF2676, P16, N4);
CV8MAC(%FF1152, %SF2681, L11, L12, N13, %SF2448, %FF2448, %SF2680, P15, N5);
CV8MAC(%FF1440, %SF2685, L13, L14, N14, %SF2484, %FF2484, %SF2684, P14, N6);
CV8MAC(%FF1728, %SF2689, L15, L16, N15, %SF2520, %FF2520, %SF2688, P13, N7);
CV8MAC(%FF2016, %SF2693, L17, L18, N16, %SF2556, %FF2556, %SF2692, P12, N8);
%EndModel

%StartModel
%Manufacturer:ICT
%Type:22CV10
%PartNumber:PEEL22CV10-20
%LastNode ? ?
%NumPins: 24
%FDF AND 0 P1 ~P1 N1 ~N1 P2 ~P2 N2 ~N2 P3 ~P3 N3 ~N3 P4 ~P4 N4 ~N4 P5 ~P5
     N5 ~N5 P6 ~P6 N6 ~N6 P7 ~P7 N7 ~N7 P8 ~P8 N8 ~N8 P9 ~P9 N9 ~N9
     P10 ~P10 N10 ~N10 P11 ~P11 P13 ~P13 *

%MACRO LOR16(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,%InFuse+484,
     %InFuse+528,%InFuse+572,%InFuse+616,%InFuse+660; OutLNode);
%MACEND;

%MACRO LOR14(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,%InFuse+484,
     %InFuse+528,%InFuse+572; OutLNode);
%MACEND;

%MACRO LOR12(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,
     %InFuse+484; OutLNode);
%MACEND;

%MACRO LOR10(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396; OutLNode);
%MACEND;

%MACRO LOR8(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308; OutLNode);
%MACEND;

%MACRO V10Mac(S1:%SF, S0:%SF, FeedBack:%TEXT, OrOutput:%TEXT, TNode:%TEXT,
              OutPin:%TEXT, InFuse:%FF, EnableFuse:%SF, TLNode:%TEXT);
 %CASE %S1,%S0
   0:
     LOR(OrOutput, L21; TLNode);
     DQFFC(TLNode, P1, L22; TNode; 15,15,12,0,12,12,25,25,20,25,15,15,12,0,12,12,25,25,20,25);
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     INV(TNode; OutPin; 0,0,0,0);
    %ELSE
     ITSB(TNode, %InFuse; OutPin; 20,20,20,20,20,20,20,20);
    %END;
    INV(TNode; FeedBack; 0,0,0,0);
  |1:
     LOR(OrOutput, L21; TLNode);
     DQFFC(TLNode, P1, L22; TNode; 15,15,12,0,12,12,25,25,20,25,15,15,12,0,12,12,25,25,20,25);
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     BUF(TNode; OutPin; 0,0,0,0);
    %ELSE
     TSB(TNode, %InFuse; OutPin; 20,20,20,20,20,20,20,20);
    %END;
    INV(TNode; FeedBack; 0,0,0,0);
  |2:
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     INV(OrOutput; OutPin; 20,20,20,20);
    %ELSE
     INV(OrOutput; TNode; 20,20,20,20);
     TSB(TNode, %InFuse; OutPin; 20,20,20,20,20,20,20,20);
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     BUF(OrOutput; OutPin; 20,20,20,20);
    %ELSE
     BUF(OrOutput; TNode; 20,20,20,20);
     TSB(TNode, %InFuse; OutPin; 20,20,20,20,20,20,20,20);
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  %END;
%MACEND;

LAND(%FF5764; L21);
LNOR(%FF00, IPH; L22);

LOR8(%FF88, L1);
LOR10(%FF484, L2);
LOR12(%FF968, L3);
LOR14(%FF1540, L4);
LOR16(%FF2200, L5);
LOR16(%FF2948, L6);
LOR14(%FF3696, L7);
LOR12(%FF4356, L8);
LOR10(%FF4928, L9);
LOR8(%FF5412, L10);

V10Mac(%SF5809, %SF5808, N1, L1, N11, P23, %FF44, %SF44, L11);
V10Mac(%SF5811, %SF5810, N2, L2, N12, P22, %FF440, %SF440, L12);
V10Mac(%SF5813, %SF5812, N3, L3, N13, P21, %FF924, %SF924, L13);
V10Mac(%SF5815, %SF5814, N4, L4, N14, P20, %FF1496, %SF1496, L14);
V10Mac(%SF5817, %SF5816, N5, L5, N15, P19, %FF2156, %SF2156, L15);
V10Mac(%SF5819, %SF5818, N6, L6, N16, P18, %FF2904, %SF2904, L16);
V10Mac(%SF5821, %SF5820, N7, L7, N17, P17, %FF3652, %SF3652, L17);
V10Mac(%SF5823, %SF5822, N8, L8, N18, P16, %FF4312, %SF4312, L18);
V10Mac(%SF5825, %SF5824, N9, L9, N19, P15, %FF4884, %SF4884, L19);
V10Mac(%SF5827, %SF5826, N10, L10, N20, P14, %FF5368, %SF5368, L20);
%EndModel


%StartModel
%Manufacturer:ICT
%Type:22CV10
%PartNumber:PEEL22CV10-25
%LastNode ? ?
%NumPins: 24
%FDF AND 0 P1 ~P1 N1 ~N1 P2 ~P2 N2 ~N2 P3 ~P3 N3 ~N3 P4 ~P4 N4 ~N4 P5 ~P5
     N5 ~N5 P6 ~P6 N6 ~N6 P7 ~P7 N7 ~N7 P8 ~P8 N8 ~N8 P9 ~P9 N9 ~N9
     P10 ~P10 N10 ~N10 P11 ~P11 P13 ~P13 *

%MACRO LOR16(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,%InFuse+484,
     %InFuse+528,%InFuse+572,%InFuse+616,%InFuse+660; OutLNode);
%MACEND;

%MACRO LOR14(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,%InFuse+484,
     %InFuse+528,%InFuse+572; OutLNode);
%MACEND;

%MACRO LOR12(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,
     %InFuse+484; OutLNode);
%MACEND;

%MACRO LOR10(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396; OutLNode);
%MACEND;

%MACRO LOR8(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308; OutLNode);
%MACEND;

%MACRO V10Mac(S1:%SF, S0:%SF, FeedBack:%TEXT, OrOutput:%TEXT, TNode:%TEXT,
              OutPin:%TEXT, InFuse:%FF, EnableFuse:%SF, TLNode:%TEXT);
 %CASE %S1,%S0
   0:
     LOR(OrOutput, L21; TLNode);
     DQFFC(TLNode, P1, L22; TNode; 15,15,15,0,13,13,25,25,25,25,15,15,15,0,13,13,25,25,25,25);
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     INV(TNode; OutPin; 0,0,0,0);
    %ELSE
     ITSB(TNode, %InFuse; OutPin; 25,25,25,25,25,25,25,25);
    %END;
    INV(TNode; FeedBack; 0,0,0,0);
  |1:
     LOR(OrOutput, L21; TLNode);
     DQFFC(TLNode, P1, L22; TNode; 15,15,15,0,13,13,25,25,25,25,15,15,15,0,13,13,25,25,25,25);
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     BUF(TNode; OutPin; 0,0,0,0);
    %ELSE
     TSB(TNode, %InFuse; OutPin; 25,25,25,25,25,25,25,25);
    %END;
    INV(TNode; FeedBack; 0,0,0,0);
  |2:
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     INV(OrOutput; OutPin; 25,25,25,25);
    %ELSE
     INV(OrOutput; TNode; 25,25,25,25);
     TSB(TNode, %InFuse; OutPin; 25,25,25,25,25,25,25,25);
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     BUF(OrOutput; OutPin; 25,25,25,25);
    %ELSE
     BUF(OrOutput; TNode; 25,25,25,25);
     TSB(TNode, %InFuse; OutPin; 25,25,25,25,25,25,25,25);
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  %END;
%MACEND;

LAND(%FF5764; L21);
LNOR(%FF00, IPH; L22);

LOR8(%FF88, L1);
LOR10(%FF484, L2);
LOR12(%FF968, L3);
LOR14(%FF1540, L4);
LOR16(%FF2200, L5);
LOR16(%FF2948, L6);
LOR14(%FF3696, L7);
LOR12(%FF4356, L8);
LOR10(%FF4928, L9);
LOR8(%FF5412, L10);

V10Mac(%SF5809, %SF5808, N1, L1, N11, P23, %FF44, %SF44, L11);
V10Mac(%SF5811, %SF5810, N2, L2, N12, P22, %FF440, %SF440, L12);
V10Mac(%SF5813, %SF5812, N3, L3, N13, P21, %FF924, %SF924, L13);
V10Mac(%SF5815, %SF5814, N4, L4, N14, P20, %FF1496, %SF1496, L14);
V10Mac(%SF5817, %SF5816, N5, L5, N15, P19, %FF2156, %SF2156, L15);
V10Mac(%SF5819, %SF5818, N6, L6, N16, P18, %FF2904, %SF2904, L16);
V10Mac(%SF5821, %SF5820, N7, L7, N17, P17, %FF3652, %SF3652, L17);
V10Mac(%SF5823, %SF5822, N8, L8, N18, P16, %FF4312, %SF4312, L18);
V10Mac(%SF5825, %SF5824, N9, L9, N19, P15, %FF4884, %SF4884, L19);
V10Mac(%SF5827, %SF5826, N10, L10, N20, P14, %FF5368, %SF5368, L20);
%EndModel


%StartModel
%Manufacturer:ICT
%Type:22CV10
%PartNumber:PEEL22CV10-35
%LastNode ? ?
%NumPins: 24
%FDF AND 0 P1 ~P1 N1 ~N1 P2 ~P2 N2 ~N2 P3 ~P3 N3 ~N3 P4 ~P4 N4 ~N4 P5 ~P5
     N5 ~N5 P6 ~P6 N6 ~N6 P7 ~P7 N7 ~N7 P8 ~P8 N8 ~N8 P9 ~P9 N9 ~N9
     P10 ~P10 N10 ~N10 P11 ~P11 P13 ~P13 *

%MACRO LOR16(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,%InFuse+484,
     %InFuse+528,%InFuse+572,%InFuse+616,%InFuse+660; OutLNode);
%MACEND;

%MACRO LOR14(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,%InFuse+484,
     %InFuse+528,%InFuse+572; OutLNode);
%MACEND;

%MACRO LOR12(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396,%InFuse+440,
     %InFuse+484; OutLNode);
%MACEND;

%MACRO LOR10(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308,%InFuse+352,%InFuse+396; OutLNode);
%MACEND;

%MACRO LOR8(InFuse:%FF, OutLNode:%TEXT);
 LOR(%InFuse,%InFuse+44,%InFuse+88,%InFuse+132,%InFuse+176,%InFuse+220,
     %InFuse+264,%InFuse+308; OutLNode);
%MACEND;

%MACRO V10Mac(S1:%SF, S0:%SF, FeedBack:%TEXT, OrOutput:%TEXT, TNode:%TEXT,
              OutPin:%TEXT, InFuse:%FF, EnableFuse:%SF, TLNode:%TEXT);
 %CASE %S1,%S0
   0:
     LOR(OrOutput, L21; TLNode);
     DQFFC(TLNode, P1, L22; TNode; 20,20,30,0,15,15,35,35,25,35,20,20,30,0,15,15,35,35,25,35);
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     INV(TNode; OutPin; 0,0,0,0);
    %ELSE
     ITSB(TNode, %InFuse; OutPin; 30,30,30,30,30,30,30,30);
    %END;
    INV(TNode; FeedBack; 0,0,0,0);
  |1:
     LOR(OrOutput, L21; TLNode);
     DQFFC(TLNode, P1, L22; TNode; 20,20,30,0,15,15,35,35,25,35,20,20,30,0,15,15,35,35,25,35);
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     BUF(TNode; OutPin; 0,0,0,0);
    %ELSE
     TSB(TNode, %InFuse; OutPin; 30,30,30,30,30,30,30,30);
    %END;
    INV(TNode; FeedBack; 0,0,0,0);
  |2:
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     INV(OrOutput; OutPin; 35,35,35,35);
    %ELSE
     INV(OrOutput; TNode; 35,35,35,35);
     TSB(TNode, %InFuse; OutPin; 30,30,30,30,30,30,30,30);
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  |3:
    %IF %EnableFuse..%EnableFuse+43 = 1 %THEN
     BUF(OrOutput; OutPin; 35,35,35,35);
    %ELSE
     BUF(OrOutput; TNode; 35,35,35,35);
     TSB(TNode, %InFuse; OutPin; 30,30,30,30,30,30,30,30);
    %END;
    BUF(OutPin; FeedBack; 0,0,0,0);
  %END;
%MACEND;

LAND(%FF5764; L21);
LNOR(%FF00, IPH; L22);

LOR8(%FF88, L1);
LOR10(%FF484, L2);
LOR12(%FF968, L3);
LOR14(%FF1540, L4);
LOR16(%FF2200, L5);
LOR16(%FF2948, L6);
LOR14(%FF3696, L7);
LOR12(%FF4356, L8);
LOR10(%FF4928, L9);
LOR8(%FF5412, L10);

V10Mac(%SF5809, %SF5808, N1, L1, N11, P23, %FF44, %SF44, L11);
V10Mac(%SF5811, %SF5810, N2, L2, N12, P22, %FF440, %SF440, L12);
V10Mac(%SF5813, %SF5812, N3, L3, N13, P21, %FF924, %SF924, L13);
V10Mac(%SF5815, %SF5814, N4, L4, N14, P20, %FF1496, %SF1496, L14);
V10Mac(%SF5817, %SF5816, N5, L5, N15, P19, %FF2156, %SF2156, L15);
V10Mac(%SF5819, %SF5818, N6, L6, N16, P18, %FF2904, %SF2904, L16);
V10Mac(%SF5821, %SF5820, N7, L7, N17, P17, %FF3652, %SF3652, L17);
V10Mac(%SF5823, %SF5822, N8, L8, N18, P16, %FF4312, %SF4312, L18);
V10Mac(%SF5825, %SF5824, N9, L9, N19, P15, %FF4884, %SF4884, L19);
V10Mac(%SF5827, %SF5826, N10, L10, N20, P14, %FF5368, %SF5368, L20);
%EndModel

