Issue #229
assert syntax errors
| Status: | NotEnoughInfo | Start date: | 03/31/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | Wilson Snyder | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
Description
For the following assert statement: `define ASSERT1 assert final(rst || $onehot0(sig)) `ASSERT1
I get the following error: Syntax error, unexpected "final", expecting "property"
For the following assert statement: `define ASSERT2 assert property(never(prop, clk, rst)) `ASSERT2
I get the following error: Syntax error, unexpected "posedge", expecting "CLASS-IDENTIFIER" or "COVERGROUP-IDENTIFIER" or "TYPE-IDENTIFIER"
History
Updated by Wilson Snyder about 2 years ago
- Status changed from New to AskedReporter
Unless I'm missing something, assert final isn't legal syntax.
The second isn't the complete example because there's no posedge in what you sent, send a full case.
Updated by Wilson Snyder about 2 years ago
- Status changed from AskedReporter to WillNotFix
- Assignee set to Wilson Snyder
Assuming this is ok now.
Also available in: Atom
![[logo]](/img/veripool_small.png)