Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
Wishbone slave generator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Wishbone slave generator
Commits
f4b155be
Commit
f4b155be
authored
Apr 19, 2013
by
Grzegorz Daniluk
Committed by
Tomasz Wlostowski
Apr 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding generation of Latex docs
parent
6649e3f0
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1109 additions
and
332 deletions
+1109
-332
cgen_doc_latex.lua
cgen_doc_latex.lua
+437
-0
squishy
squishy
+1
-0
wbgen2
wbgen2
+666
-330
wbgen_main.lua
wbgen_main.lua
+5
-2
No files found.
cgen_doc_latex.lua
0 → 100644
View file @
f4b155be
This diff is collapsed.
Click to expand it.
squishy
View file @
f4b155be
...
...
@@ -14,6 +14,7 @@ Main "cgen_verilog.lua"
Main "cgen_c_headers.lua"
Main "cgen_doc.lua"
Main "cgen_doc_texinfo.lua"
Main "cgen_doc_latex.lua"
Main "wbgen_regbank.lua"
Main "wbgen_rams.lua"
Main "wbgen_eic.lua"
...
...
wbgen2
View file @
f4b155be
This diff is collapsed.
Click to expand it.
wbgen_main.lua
View file @
f4b155be
...
...
@@ -36,7 +36,7 @@ local usage_string = [[slave Wishbone generator
local
commands_string
=
[[options:
-C, --co=FILE Write the slave's generated C header file to FILE
-f, --docformat=FORMAT Write documentation for texinfo or HTML (defaults to HTML)
-f, --docformat=FORMAT Write documentation for
latex,
texinfo or HTML (defaults to HTML)
-D, --doco=FILE Write the slave's generated documentation to FILE
-h, --help Show this help text
-l, --lang=LANG Set the output Hardware Description Language (HDL) to LANG
...
...
@@ -209,7 +209,10 @@ if(options.output_doc_file ~= nil) then
cgen_generate_init
(
options
.
output_doc_file
);
if
(
options
.
doc_format
==
"html"
)
then
print
(
"gen html"
);
cgen_generate_documentation
();
elseif
(
options
.
doc_format
==
"latex"
)
then
cgen_generate_latex_documentation
();
else
cgen_generate_texinfo_documentation
();
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment