Skip to content

Commit 93a5d1f

Browse files
authored
Merge pull request #1818 from petterreinholdtsen/doc-man-cross
Add cross references between bit logic and pid related man pages
2 parents fe0cebe + 5b44020 commit 93a5d1f

7 files changed

Lines changed: 37 additions & 2 deletions

File tree

docs/man/man9/at_pid.9

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,6 @@ the deadband. This was not done because it would cause a step in the transfer
226226
function equal to the size of the deadband. People who prefer that behavior are
227227
welcome to add a parameter that will change the behavior, or to write their own
228228
version of \fBat_pid\fR. However, the default behavior should not be changed.
229+
230+
.SH SEE ALSO
231+
\fBat_pid\fR(9)

docs/man/man9/pid.9

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,6 @@ situations that negative FF gains make sense, but in general all gains
231231
should be positive. If some output is in the wrong direction, negating
232232
gains to fix it is a mistake; set the scaling correctly elsewhere
233233
instead.
234+
235+
.SH SEE ALSO
236+
\fBat_pid\fR(9)

src/hal/components/and2.comp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ Otherwise,
1414
;
1515
function _ nofp;
1616
see_also """
17-
\\fBlogic\\fR(9)
17+
\\fBlogic\\fR(9),
18+
\\fBlut5\\fR(9),
19+
\\fBnot\\fR(9),
20+
\\fBor2\\fR(9),
21+
\\fBxor2\\fR(9).
1822
""";
1923
license "GPL";
2024
;;

src/hal/components/logic.comp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ The number of input pins, usually from 2 to 16
2828
Outputs can be combined, for example 2 + 256 + 1024 = 1282 converted to hex
2929
would be 0x502 and would have two inputs and have both `xor' and `and' outputs.
3030
""";
31+
see_also """
32+
\\fBand2\\fR(9),
33+
\\fBlut5\\fR(9),
34+
\\fBnot\\fR(9),
35+
\\fBor2\\fR(9),
36+
\\fBxor2\\fR(9)
37+
""";
3138
license "GPL";
3239
;;
3340
FUNCTION(_) {

src/hal/components/lut5.comp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@ _
134134
.TE
135135
\\}
136136
""";
137+
see_also """
138+
\\fBand\\fR(9),
139+
\\fBlogic\\fR(9),
140+
\\fBnot\\fR(9),
141+
\\fBor2\\fR(9),
142+
\\fBxor2\\fR(9).
143+
""";
137144
license "GPL";
138145
;;
139146

src/hal/components/not.comp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ component not "Inverter";
22
pin in bit in;
33
pin out bit out;
44
function _ nofp;
5+
see_also """
6+
\\fBand2\\fR(9),
7+
\\fBlogic\\fR(9),
8+
\\fBlut5\\fR(9),
9+
\\fBor2\\fR(9),
10+
\\fBxor2\\fR(9).
11+
""";
512
license "GPL";
613
;;
714
FUNCTION(_) { out = ! in; }

src/hal/components/xor2.comp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ Otherwise,
1515
\\fBout=FALSE\\fR""";
1616
function _ nofp;
1717
see_also """
18-
\\fBlogic\\fR(9)
18+
\\fBand2\\fR(9),
19+
\\fBlogic\\fR(9),
20+
\\fBlut5\\fR(9),
21+
\\fBnot\\fR(9),
22+
\\fBor2\\fR(9).
1923
""";
2024
license "GPL";
2125
;;

0 commit comments

Comments
 (0)