blob: 39ce39cba54f3149d5d2532773d01523bdf6ce71 [file] [log] [blame]
primitive U_VPWR_VGND ( UDP_OUT, UDP_IN, VPWR, VGND);
output UDP_OUT;
input UDP_IN, VPWR, VGND;
// UDP_OUT:=x when VPWR!=1 or VGND!=0
// UDP_OUT:=UDP_IN when VPWR==1 and VGND==0
table
// in VPWR VGND : out
0 1 0 : 0 ;
1 1 0 : 1 ;
x 1 0 : x ;
? 0 0 : x ;
? 1 1 : x ;
? x 0 : x ;
? 1 x : x ;
endtable
endprimitive