diff options
author | 2020-08-22 10:02:42 +0200 | |
---|---|---|
committer | 2020-08-22 16:30:16 +0200 | |
commit | 9e401f0b3ef8953bbae78a9e71f051df8917df44 (patch) | |
tree | 2ab2a43d419e2d5aa09d7c511610d4da7bf98435 | |
parent | 1d723a69db804c3de74ddc86ed4ceaa6f9a1b221 (diff) |
netlist: Fix some documentation issues.
-rw-r--r-- | src/lib/netlist/build/doxygen.conf | 4 | ||||
-rw-r--r-- | src/lib/netlist/build/makefile | 2 | ||||
-rw-r--r-- | src/lib/netlist/prg/nltool.cpp | 14 |
3 files changed, 16 insertions, 4 deletions
diff --git a/src/lib/netlist/build/doxygen.conf b/src/lib/netlist/build/doxygen.conf index fc500b3aabb..dcafc37f852 100644 --- a/src/lib/netlist/build/doxygen.conf +++ b/src/lib/netlist/build/doxygen.conf @@ -771,7 +771,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = .. ../analog ../documentation ../devices ../macro +INPUT = .. ../analog ../documentation ../devices ../macro ../core # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses @@ -844,7 +844,7 @@ EXCLUDE_SYMBOLS = # that contain example code fragments that are included (see the \include # command). -EXAMPLE_PATH = ../documentation ../examples ./html +EXAMPLE_PATH = ../documentation ../examples ./html # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and diff --git a/src/lib/netlist/build/makefile b/src/lib/netlist/build/makefile index 7e90e7bb645..82f9f1c12b6 100644 --- a/src/lib/netlist/build/makefile +++ b/src/lib/netlist/build/makefile @@ -370,7 +370,7 @@ man: nltool$(EXESUFFIX) nlwav$(EXESUFFIX) help2man --include=nltool.help2man --no-info ./nltool$(EXESUFFIX) > man/nltool.1 groff -mandoc -Thtml man/nltool.1 > html/nltool.html -doc: nltool$(EXESUFFIX) nlwav$(EXESUFFIX) +doc: ./nltool$(EXESUFFIX) -c docheader > ../documentation/devsyn.dox.h $(DOXYGEN) doxygen.conf diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp index f8bedd1b993..ef6c54ad34e 100644 --- a/src/lib/netlist/prg/nltool.cpp +++ b/src/lib/netlist/prg/nltool.cpp @@ -1055,13 +1055,25 @@ void tool_app_t::create_docheader() auto & pins = d.pinalias; //const int w = 8; poutprefix("///", " {1:10} +--------+", " "); - for (std::size_t i=0; i<pins.size()/2; i++) + for (std::size_t i=0; i < pins.size() / 2; i++) { poutprefix("///", " {1:10} |{2:-2} {3:2}| {4:-10}", pins[i], i+1, pins.size()-i, pins[pins.size()-i-1]); } poutprefix("///", " {1:10} +--------+", " "); } + else if (d.package == "SIL") + { + auto & pins = d.pinalias; + //const int w = 8; + poutprefix("///", " {1:10} +--------+", " "); + for (std::size_t i=0; i < pins.size(); i++) + { + poutprefix("///", " {1:10} |{2:-2} |", + pins[i], i+1); + } + poutprefix("///", " {1:10} +--------+", " "); + } poutprefix("///", " </pre>"); } poutprefix("///", ""); |