Skip to content

Module I/O parsing logic gets confused by comments #101

Description

@chiplet

The current regex-based module I/O parsing logic gets confused by line comments next to module port definitions. This logic could be rewritten, perhaps using a verilog parsing library such as pyverilog to first create an AST of the verilog source and then extract the port related from the AST. This way, the logic would also be more robust against other verilog syntax that could be mixed with port definitions, such as block comments and annotations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions