summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-01-16 17:32:11 +0100
committerClifford Wolf <clifford@clifford.at>2013-01-16 17:32:11 +0100
commit6d1502b9484a445e5184bdf622f87fcd14d0a0f9 (patch)
tree76180477f9ab2c690c9138b028dd75a12639ddb8
parente8231ee46b79a0d24e3b8c5b75f75fc71efcd0d3 (diff)
Added support for "always @(*)"
-rw-r--r--README2
-rw-r--r--frontends/verilog/parser.y3
2 files changed, 4 insertions, 1 deletions
diff --git a/README b/README
index 13591693..5d78206d 100644
--- a/README
+++ b/README
@@ -74,7 +74,7 @@ or using a simple synthesis script:
proc; opt; techmap; opt
write_verilog synth.v
- $ ././yosys synth.ys
+ $ ./yosys synth.ys
It is also possible to only have the synthesis commands but not the read/write
commands in the synthesis script:
diff --git a/frontends/verilog/parser.y b/frontends/verilog/parser.y
index 7c12bd56..010af478 100644
--- a/frontends/verilog/parser.y
+++ b/frontends/verilog/parser.y
@@ -616,6 +616,9 @@ always_stmt:
always_cond:
'@' '(' always_events ')' |
+ '@' '(' '*' ')' |
+ '@' ATTR_BEGIN ')' |
+ '@' '(' ATTR_END |
'@' '*' |
/* empty */;