ABCCN
0 0 01
1 0 HIGH-ZHIGH-Z
1 1 10
0 1 HIGH-ZHIGH-Z
function: C = !(!A && !B) function: CN = !(A && B)