aboutsummaryrefslogtreecommitdiffstats
path: root/src/hal/components/or2.comp
blob: f845c31d47ad888970c3c33d8d83e7b0f858a8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
component or2 "Two-input OR gate";
pin in bit in0;
pin in bit in1;
pin out bit out r"""
\fBout\fR is computed from the value of \fBin0\fR and \fBin1\fR according
to the following rule:
.RS
.TP
\fBin0=FALSE in1=FALSE\fB
\fBout=FALSE\fR
.TP
Otherwise,
\fBout=TRUE\fR
.RE"""
;
function _ nofp;
see_also """
\\fBlogic\\fR(9)
""";
license "GPL";
author "Jeff Epler";
;;
FUNCTION(_) { out = in0 || in1; }
bues.ch cgit interface