public class VerilogParser
extends java.lang.Object
Again, this is not meant to be a fully featured parser. It's error handling is also not very useful. It is only meant to extract module names and their ports.
Modifier and Type | Class and Description |
---|---|
static class |
VerilogParser.Module
A Verilog Module.
|
static class |
VerilogParser.Port
A Verilog port.
|
Constructor and Description |
---|
VerilogParser() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getModules() |
static void |
main(java.lang.String[] args)
unit test
|
boolean |
parse(java.lang.String verilogFile)
Parse a verilog file.
|
public java.util.List getModules()
public boolean parse(java.lang.String verilogFile)
verilogFile
- public static void main(java.lang.String[] args)