aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-06-19 11:37:11 +0200
committerClifford Wolf <clifford@clifford.at>2019-06-19 11:37:11 +0200
commit8d0cd529c936b1c0a38d7a71a4457bd84c8b3efe (patch)
tree2e96384586fd4ede8e1b5d530a39e245cdc44370 /README.md
parent6d64e242ba8214f7bceb35f688b544f56d49cea1 (diff)
downloadyosys-8d0cd529c936b1c0a38d7a71a4457bd84c8b3efe.tar.gz
yosys-8d0cd529c936b1c0a38d7a71a4457bd84c8b3efe.tar.bz2
yosys-8d0cd529c936b1c0a38d7a71a4457bd84c8b3efe.zip
Add defaultvalue attribute
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 94ea9538f..637703a7f 100644
--- a/README.md
+++ b/README.md
@@ -350,6 +350,10 @@ Verilog Attributes and non-standard features
through the synthesis. When entities are combined, a new |-separated
string is created that contains all the string from the original entities.
+- The ``defaultvalue`` attribute is used to store default values for
+ module inputs. The attribute is attached to the input wire by the HDL
+ front-end when the input is declared with a default value.
+
- In addition to the ``(* ... *)`` attribute syntax, Yosys supports
the non-standard ``{* ... *}`` attribute syntax to set default attributes
for everything that comes after the ``{* ... *}`` statement. (Reset