forked from github/verilator
a4f5d95648
The -G option now correctly parses simple integer literals as signed numbers, which is in line with the standard and is significant when overriding parameters without a type specifier. Fixes #3060
31 lines
646 B
Plaintext
31 lines
646 B
Plaintext
-Gstring1="\"New String\""
|
|
-pvalue+string2="\"New String\""
|
|
-Gstring11='"New String"'
|
|
-pvalue+string12='"New String"'
|
|
-Gstring21=\"New\ String\"
|
|
-pvalue+string22=\"New\ String\"
|
|
-Greal11=0.2
|
|
-pvalue+real12=0.2
|
|
-Greal21=4E2
|
|
-pvalue+real22=4e2
|
|
-Greal31=0.2e2
|
|
-pvalue+real32=0.2e2
|
|
-Greal41=0x123.4p1
|
|
-pvalue+real42=0X123.4P1
|
|
-Greal51=0x123p-1
|
|
-pvalue+real52=0X123P-1
|
|
-Gint11=0x10
|
|
-pvalue+int12=0x10
|
|
-Gint21=020
|
|
-pvalue+int22=020
|
|
-Gint31=123
|
|
-pvalue+int32=123
|
|
-Gint41=32'hdead_beef
|
|
-pvalue+int42=32'hdead_beef
|
|
-Gint51=32\'hdead_beef
|
|
-pvalue+int52=32\'hdead_beef
|
|
-Gint61="32'hdead_beef"
|
|
-pvalue+int62="32'hdead_beef"
|
|
-Gint71=-1000
|
|
-pvalue+int72=-1000
|