Quine McClusky digital circuit minimization V1.0 initial minterms gr a b c d cv 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0 1 0 0 0 1 1 0 1 0 0 1 1 1 0 0 0 1 1 1 1 0 final prime implicants gr a b c d cv 0 - 0 1 0 0 0 1 - 1 0 0 0 1 1 1 - 0 0 - 1 - 1 0 0 0 0 - 0 0 out <= ( not b and c and not d ) or ( a and c and not d ) or ( a and b and c ) or ( b and d ) or (not a and not b and not d ); out = ( ~b & c & ~d ) | ( a & c & ~d ) | ( a & b & c ) | ( b & d ) | (~a & ~b & ~d );