[go: up one dir, main page]

Menu

#1039 pform.cc:1255: void pform_endmodule(const char*, bool, Module::UCDriveType): Assertion `strcmp(name, mod_name) == 0' failed.

devel
closed-fixed
nobody
None
5
2019-10-01
2019-09-30
Eric Rippey
No

The attached testcases crashes the compiler.

Linux x86_64
g++ (Ubuntu 7.4.0-9ubuntu1~18.04.york0) 7.4.0
iverilog 10.1

Output is:
3.v:2: syntax error
3.v:2: error: invalid module item.
3.v:3: error: Module definition a cannot nest into module m.
3.v:3: syntax error
3.v:5: error: invalid module item.
ivl: pform.cc:1255: void pform_endmodule(const char*, bool, Module::UCDriveType): Assertion `strcmp(name, mod_name) == 0' failed.
Aborted

1 Attachments
3.v

Discussion

  • Eric Rippey

    Eric Rippey - 2019-09-30

    This also fails on the latest version from git.

     
  • Stephen Williams

    Fixed in git master and v10-branch

     
  • Stephen Williams

    • status: open --> closed-fixed
     

Log in to post a comment.