Expand description
Verilog Declaration Parser
Extracts module structure from Verilog/SystemVerilog source:
module name, ports (direction, width), internal signals, parameters,
and clock detection from always @(posedge/negedge) blocks.
This is NOT a full Verilog parser — it handles declaration-level extraction for hardware verification KG construction.
Structs§
- RtlModule
- Extracted module structure.
- RtlParam
- A parameter declaration.
- RtlParse
Error - Parse error.
- RtlPort
- A port in the module declaration.
- RtlSignal
- An internal signal declaration.
Enums§
- Port
Direction - Port direction.
- Signal
Type - Signal type.
Functions§
- parse_
verilog_ module - Parse a Verilog module declaration and extract its structure.