Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect and warn about anachronistic use of begin/end in generate.
Verilog-2001 only allows a single generate item within a generate- endgenerate region, but allowed one to collect generate schemes with begin/end blocks. Verilog-2005 cleaned up that mess, and it is the 2005 syntax that Icarus Verilog implements. This patch detects the anachronistic use of begin/end within the generate region, ignores the begin/end words, and prints a warning that the user is using an obsolete syntax.
- Loading branch information
1 parent
b2c9352
commit ce9fd01
Showing
3 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters