aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-05-20 16:21:35 +0200
committerClifford Wolf <clifford@clifford.at>2016-05-20 16:21:35 +0200
commit060bf4819a3742ba2ad8142c9a7e665555c22ac7 (patch)
treece4033c346738807072ea2d5fad9ff9490aab490
parentffcdc53a18197e40571b9c604fff07408cc12346 (diff)
downloadyosys-060bf4819a3742ba2ad8142c9a7e665555c22ac7.tar.gz
yosys-060bf4819a3742ba2ad8142c9a7e665555c22ac7.tar.bz2
yosys-060bf4819a3742ba2ad8142c9a7e665555c22ac7.zip
Small improvements in Verilog front-end docs
-rw-r--r--README5
-rw-r--r--frontends/verilog/verilog_frontend.cc3
2 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
index 08478d4ef..50105ed2d 100644
--- a/README
+++ b/README
@@ -308,6 +308,10 @@ Verilog Attributes and non-standard features
for everything that comes after the {* ... *} statement. (Reset
by adding an empty {* *} statement.)
+- In module parameter and port declarations, and cell port and parameter
+ lists, a trailing comma is ignored. This simplifies writing verilog code
+ generators a bit in some cases.
+
- Modules can be declared with "module mod_name(...);" (with three dots
instead of a list of module ports). With this syntax it is sufficient
to simply declare a module port as 'input' or 'output' in the module
@@ -383,6 +387,7 @@ from SystemVerilog:
- The keywords "always_comb", "always_ff" and "always_latch", "logic" and
"bit" are supported.
+
Building the documentation
==========================
diff --git a/frontends/verilog/verilog_frontend.cc b/frontends/verilog/verilog_frontend.cc
index f8ccda181..576f068b3 100644
--- a/frontends/verilog/verilog_frontend.cc
+++ b/frontends/verilog/verilog_frontend.cc
@@ -159,6 +159,9 @@ struct VerilogFrontend : public Frontend {
log("recommended to use a simulator (for example Icarus Verilog) for checking\n");
log("the syntax of the code, rather than to rely on read_verilog for that.\n");
log("\n");
+ log("See the Yosys README file for a list of non-standard Verilog features\n");
+ log("supported by the Yosys Verilog front-end.\n");
+ log("\n");
}
virtual void execute(std::istream *&f, std::string filename, std::vector<std::string> args, RTLIL::Design *design)
{