Skip to content

Replace Verilog parsing with Verilator  #44

@LiamSkirrow

Description

@LiamSkirrow

Verilator can generate XML output of a Verilog design (while also performing syntax checking of the Verilog itself), therefore ripping out verilogtree's existing parsing code and simply using Verilator's own parser probably makes the most sense going forward.

Also, doing this means that all the Verilog edge cases that I left out should now be covered and complete, so verilogtree should work on all syntactically correct Verilog.

Implementing this would mean that verilogtree would instead need to parse the Verilator-generated XML to figure out the hierarchy. So it's really only the parseRtl() function that would need rewriting, with everything else staying largely in tact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions