and2.comp
1 component and2 "Two-input AND gate"; 2 pin in bit in0; 3 pin in bit in1; 4 pin out bit out """\ 5 \\fBout\\fR is computed from the value of \\fBin0\\fR and \\fBin1\\fR according to the following rule: 6 .RS 7 .TP 8 \\fBin0=TRUE in1=TRUE\\fB 9 \\fBout=TRUE\\fR 10 .TP 11 Otherwise, 12 \\fBout=FALSE\\fR 13 .RE""" 14 ; 15 function _ nofp; 16 license "GPL"; 17 ;; 18 FUNCTION(_) { out = in0 && in1; }