Buffer digital

Solo disponible en BuenasTareas
  • Páginas : 4 (853 palabras )
  • Descarga(s) : 0
  • Publicado : 18 de noviembre de 2011
Leer documento completo
Vista previa del texto
MODULE Comparador

TITLE 'Comparador'

A,B,C,D,E,F PIN 6,7,8,9,10,11;
I,P,L PIN 14,15,16;

//A=BX=(!A&!B&!C&!D&!F&!E)#(!A&!B&C&!D&!F&E)#(A&!B&!C&D&!F&!E)#(A&!B&C&D&!F&E)#(!A&B&!C&!D&F&!E)#(!A&B&C&!D&F&E)#(A&B&!C&D&F&!E);
//A<BY=(A&!B&!C&!D)#(A&!B&!D&E)#(A&!C&!D&F)#(A&!D&F&E)#(!B&!C&E)#(!C&F&E)#(!B&F);
//A>BW=(!A&D&!F&!E)#(!A&C&D&!F)#(!A&B&D&!E)#(!A&B&C&D)#(C&!F&!E)#(B&C&!E)#(B&!F);

EQUATIONS
I=X;
P=Y;
L=W;

TEST_VECTORS
([A,B,C,D,E,F]->[I,P,L]);
[0,0,0,0,0,0]->[0,0,0];[0,0,0,0,0,1]->[0,0,0];
[0,0,0,0,1,0]->[0,0,0];
[0,0,0,0,1,1]->[0,0,0];
[0,0,0,1,0,0]->[0,0,0];
[0,0,0,1,0,1]->[0,0,0];
[0,0,0,1,1,0]->[0,0,0];
[0,0,0,1,1,1]->[0,0,0];[0,0,1,0,0,0]->[0,0,0];
[0,0,1,0,0,1]->[0,0,0];
[0,0,1,0,1,0]->[0,0,0];
[0,0,1,0,1,1]->[0,0,0];
[0,0,1,1,0,0]->[0,0,0];
[0,0,1,1,0,1]->[0,0,0];
[0,0,1,1,1,0]->[0,0,0];[0,0,1,1,1,1]->[0,0,0];
[0,1,0,0,0,0]->[0,0,0];
[0,1,0,0,0,1]->[0,0,0];
[0,1,0,0,1,0]->[0,0,0];
[0,1,0,0,1,1]->[0,0,0];
[0,1,0,1,0,0]->[0,0,0];
[0,1,0,1,0,1]->[0,0,0];[0,1,0,1,1,0]->[0,0,0];
[0,1,0,1,1,1]->[0,0,0];
[0,1,1,0,0,0]->[0,0,0];
[0,1,1,0,0,1]->[0,0,0];
[0,1,1,0,1,0]->[0,0,0];
[0,1,1,0,1,1]->[0,0,0];
[0,1,1,1,0,0]->[0,0,0];
[0,1,1,1,0,1]->[0,0,0];[0,1,1,1,1,0]->[0,0,0];
[0,1,1,1,1,1]->[0,0,0];
[1,0,0,0,0,0]->[0,0,0];
[1,0,0,0,0,1]->[0,0,0];
[1,0,0,0,1,0]->[0,0,0];
[1,0,0,0,1,1]->[0,0,0];
[1,0,0,1,0,0]->[0,0,0];[1,0,0,1,0,1]->[0,0,0];
[1,0,0,1,1,0]->[0,0,0];
[1,0,0,1,1,1]->[0,0,0];
[1,0,1,0,0,0]->[0,0,0];
[1,0,1,0,0,1]->[0,0,0];
[1,0,1,0,1,0]->[0,0,0];
[1,0,1,0,1,1]->[0,0,0];...
tracking img