"KJ" <> writes:
> I'm kinda missing how an assertion statement is not *standard* and how it
> would be any easier to parse some improved 'standard'. VHDL has had
> assertions since 1987....and welcomes other languages to the assertions
> club.
>
> [...]
>
> We must have completely different ideas of assetions then. An assertion (in
> any form) is a statement of something that must by golly be true....if it is
> ever not true an error has occurred. Plain old assertions are used to
> specify protocols and interface behavior as well as very
> design-specific-probably-of-no-use-to-anyone-else-but-this-design types of
> things.
I guess so. When people talk about "assertion based verification" they
don't usually mean the VHDL "assert" statement. You are right in that
an assertion states what is the supposed behavior. However, the
expression that is evaluated differs significantly from what is tested
in a VHDL "assert" statement. Assertion languages like PSL, SVA or /e/
verify temporal behavior. Very similar to a regular expression applied
to characters of a text string, an "assertion" (or rather: "property")
matches behavior over time.[1]
As you are likely aware of, regular expressions are just syntactic
sugar for more or less compless finite automata. But we all enjoy the
sweetness, don't we. Much easier to read.
Regards
Marcus
Footnotes:
[1] My 1996 issue of the "Camel Book" ("Programming Perl") actually
uses the terms "assertion" and "property" in the chapter "Pattern
Matching".
--
note that "property" can also be used as syntaxtic sugar to reference
a property, breaking the clean design of verilog; [...]
(seen on
http://www.veripool.com/verilog-mode_news.html)