From 6d1502b9484a445e5184bdf622f87fcd14d0a0f9 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 16 Jan 2013 17:32:11 +0100 Subject: [PATCH] Added support for "always @(*)" --- README | 2 +- frontends/verilog/parser.y | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index 13591693f..5d78206d8 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 7c12bd565..010af4787 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 */; -- 2.30.2