Skip to content

Commit da2c43c

Browse files
committed
update
1 parent 8defd15 commit da2c43c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,15 @@ The struct `Instance` stores the information of a module instance
207207
208208
209209
210+
### Struct Constant
211+
The struct `Constant` records the possible number formats in Verilog
212+
213+
| Name | Type | Description |
214+
| ------------- |:-------------| :--------------|
215+
| value | std::string | the value of the number |
216+
| ConstantType | `enum class` | the format of the number. The value could be NONE, INTEGER, BINARY, OCTAL, DECIMAL, HEX, REAL, EXP |
217+
218+
210219
211220
# Examples
212221
The folder [example](./example) contains several tutorial examples to demonstrate the usage of Parser-Verilog.

0 commit comments

Comments
 (0)