testp01: circuit inputs i1 outputs a abx i1,a wire i1,width=3 wire a,width=3 endcircuit /* 0 - 0,0 - 3 1 - 0,1 - 0 2 - 1,0 - 3 3 - 1,1 - 2 4 - 2,0 - 7 5 - 2,1 - 7 6 - 3,0 - 3 7 - 3,1 - 6 8 - 4,0 - 3 9 - 4,1 - 0 a - 5,0 - 3 b - 5,1 - 2 c - 6,0 - 3 d - 6,1 - 0 e - 7,0 - 3 f - 7,1 - 0 */ abx: pla i1: field type=input,position=0,width=3 i2: field type=input,position=3,width=1 a: field position=0,width=3 i1=2: word 7->a i1=3&i2=1: word 6->a i1=1|i1=5: word 2->a i2=0: word 3->a endpla