fix handling of end labels

- disallow using end label alone on blocks
- improved parse error for mismatches
- add label checking for non-block constructs
- allow generate block to have label before begin
This commit is contained in:
Zachary Snow
2021-06-15 17:47:32 -04:00
parent a87ee7c11b
commit c0cb401abe
13 changed files with 138 additions and 21 deletions
+6
View File
@@ -0,0 +1,6 @@
// pattern: element "yes" has mismatched end label "no"
module top;
function yes;
yes = 0;
endfunction : no
endmodule