New
v10.0
Language Support
- Implemented all of the rules related to assertion local variable definite assignment flow. slang will now diagnose use of assertion locals before they have been assigned, according to the rules in the LRM.
- Explicit package export directives now correctly require a corresponding import (wildcard or explicit)
- Non-variable and non-output ANSI port declarations are now correctly prevented from specifying an initializer expression
- Parameter port declarations now correctly require an explicit keyword when an implicit type syntax with dimensions or signing keyword is used
- Covergroup formal arguments are now correctly always considered
const - Checker arguments that reference automatic variables or have const casts are now correctly disallowed from being used in procedural code
- Checker procedures are now correctly disallowed from referencing covergroup types
- Removed the restriction that covergroup expressions must be constant expressions -- the implementation was buggy, other tools don't implement it, and the details in the LRM are not well defined
- Modport ports now correctly require that their target references are members of their parent interface