Skip to content

Instantly share code, notes, and snippets.

@dev-zzo
Last active July 27, 2020 23:40
Show Gist options
  • Save dev-zzo/4717984e232d1ec05f158eed664a1e82 to your computer and use it in GitHub Desktop.
Save dev-zzo/4717984e232d1ec05f158eed664a1e82 to your computer and use it in GitHub Desktop.

CUPL(WM) 5.0a Serial# MW-10400000
Device g22v10 Library DLIB-h-40-1
Created Tue Jul 28 01:39:30 2020
Name bug
Partno NA
Revision 01
Date 22/04/2020
Designer dj
Company None
Assembly None
Location None
*QP24
*QF5892
*G0
*F0
*L00896 00000000000000000000000000001111
*L00928 11111111111111111111111111111111
*L00960 11111111111111111111111111111111
*L00992 11111111111111111011000000000000
*L01472 00000000000000000000000011111111
*L01504 11111111111111111111111111111111
*L01536 11111111111111111111111111111111
*L01568 11111111111101110000000000000000
*L02144 00000000000011111111111111111111
*L02176 11111111111111111111111111111111
*L02208 11111111111111111111111111111111
*L02240 11100000000000000000000000000000
*L02880 00000000000000000000000011111111
*L02912 11111111111111111111111111111111
*L02944 11111111111111111111111111111111
*L02976 11111111111111010000000000000000
*L05792 00000000000000000000010101010000
*L05824 00000100111001000001000000000000
*C2C73
*D941
Name bug;
Partno NA;
Date 27/07/2020;
Rev 01;
Designer dj;
Company None;
Assembly None;
Location None;
Device G22V10;
/* Compile with: cupl -m1lxfjnabes */
/* Inputs */
Pin 11 = M1; /* Tie high */
Pin 13 = M2; /* Tie high */
/* Outputs */
Pin 21 = !A1A;
Pin 20 = !A1B;
Pin 19 = !A2A;
Pin 18 = !A2B;
A1A = !M1; /* outputs H */
A1B = M1; /* outputs L */
A2A = !M2; /* outputs L: >BUG< */
A2B = M2; /* outputs L */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment