Материалы сайта
Это интересно
Проектирование устройства, осуществляющего перемножение двух четырехразрядных чисел
Часть 2. х1х2х3х4 х5х6х7х8 (х1х8)(х2х8)(х3х8)(х4х8) (х1х7)(х2х7)(х3х7)(х4х7) (х1х6)(х2х6)(х3х6)(х4х6) (х1х5)(х2х5)(х3х5)(х4х5) |х3х8 |Х4х7 |Y7 |Р1 | |0 |0 |0 |0 | |0 |1 |1 |0 | |1 |0 |1 |0 | |1 |1 |0 |1 | Y7=(а+b)+(a+b); a=x3x8; b=x4x7 P1=ab |a |b |c |P1 |P2 |Y6 |P2’ | |0 |0 |0 |0 |0 |0 |0 | |0 |0 |0 |1 |0 |1 |0 | |0 |0 |1 |0 |0 |1 |0 | |0 |0 |1 |1 |1 |0 |0 | |0 |1 |0 |0 |0 |1 |0 | |0 |1 |0 |1 |1 |0 |0 | |0 |1 |1 |0 |1 |0 |0 | |0 |1 |1 |1 |1 |1 |0 | |1 |0 |0 |0 |0 |1 |0 | |1 |0 |0 |1 |1 |0 |0 | |1 |0 |1 |0 |1 |0 |0 | |1 |0 |1 |1 |1 |1 |0 | |1 |1 |0 |0 |1 |0 |0 | |1 |1 |0 |1 |1 |1 |0 | |1 |1 |1 |0 |1 |1 |0 | |1 |1 |1 |1 |0 |0 |1 | После упрощения Y6=(cp1+cp1)(ab+ab)+(cp1+cp1)(ab+ab) P2=a(bp1+bp1)+p1(bc+bc)+abc a=x2x8;b=x3x7;c=x4x6 P2’=abcp1 |a |b |c |d |P2 |P3 |Y5 |P3’ | |0 |0 |0 |0 |0 |0 |0 |0 | |0 |0 |0 |0 |1 |0 |1 |0 | |0 |0 |0 |1 |0 |0 |1 |0 | |0 |0 |0 |1 |1 |1 |0 |0 | |0 |0 |1 |0 |0 |0 |1 |0 | |0 |0 |1 |0 |1 |1 |0 |0 | |0 |0 |1 |1 |0 |1 |0 |0 | |0 |0 |1 |1 |1 |1 |1 |0 | |0 |1 |0 |0 |0 |0 |1 |0 | |0 |1 |0 |0 |1 |1 |0 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 |1 |1 |1 |0 |0 | После упрощения: Y3=(ab+ab)(p3’p4+p3’p4)+(ab+ab)(p3’p4+p3’p4) P5=p4b(a+p3’)+b(ap3’+p3’p4+ap4) a=x1x6;b=x2x5 |A |P4’ |P5 |P6 |Y2 | |0 |0 |0 |0 |0 | |0 |0 |1 |0 |1 | |0 |1 |0 |0 |1 | |0 |1 |1 |1 |0 | |1 |0 |0 |0 |1 | |1 |0 |1 |1 |0 | |1 |1 |0 |1 |0 | |1 |1 |1 |1 |1 | После упрощений: Y2=p4’(ap5+ap5)+p4’(ap5+ap5) P6= p4’p5+a(p4’+p5) a=x1x5 Y1=P6= p4’p5+a(p4’+p5) Y8=x4x8