Commit f4b155be authored by Grzegorz Daniluk's avatar Grzegorz Daniluk Committed by Tomasz Wlostowski

adding generation of Latex docs

parent 6649e3f0
This diff is collapsed.
......@@ -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"
......
This diff is collapsed.
......@@ -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,8 +209,11 @@ 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();
else
elseif(options.doc_format == "latex") then
cgen_generate_latex_documentation();
else
cgen_generate_texinfo_documentation();
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment