Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ivtest: Reformat more tests to the now format #1204

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions ivtest/gold/br1005.gold

This file was deleted.

File renamed without changes.
2 changes: 0 additions & 2 deletions ivtest/gold/br1027a.gold

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion ivtest/gold/br1027c.gold

This file was deleted.

1 change: 1 addition & 0 deletions ivtest/gold/br1027d-vvp-stdout.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0 1
1 change: 1 addition & 0 deletions ivtest/gold/br1027e-vvp-stdout.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0 1
1 change: 1 addition & 0 deletions ivtest/gold/br1027f-vvp-stdout.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0 1
3 changes: 3 additions & 0 deletions ivtest/gold/br_gh1182-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ivltests/br_gh1182.v:3: error: Variable declaration in unnamed block requires SystemVerilog.
ivltests/br_gh1182.v:4: error: Variable declaration in unnamed block requires SystemVerilog.
ivltests/br_gh1182.v:8: error: Variable declaration in unnamed block requires SystemVerilog.
3 changes: 0 additions & 3 deletions ivtest/gold/br_gh1182.gold

This file was deleted.

2 changes: 2 additions & 0 deletions ivtest/gold/br_gh567-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/br_gh567.v:7: warning: A negative value (-1) has been assigned to genvar 'i'.
ivltests/br_gh567.v:7: : This is illegal in Verilog-2001. Use at least -g2005 to remove this warning.
5 changes: 5 additions & 0 deletions ivtest/gold/br_gh567-v2001-vvp-stdout.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
3
2
1
0
PASSED
7 changes: 0 additions & 7 deletions ivtest/gold/br_gh567.gold

This file was deleted.

2 changes: 2 additions & 0 deletions ivtest/gold/check_constant_1-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/check_constant_1.v:5: error: A reference to a net or variable (`Value1') is not allowed in a constant expression.
1 error(s) during elaboration.
4 changes: 4 additions & 0 deletions ivtest/gold/check_constant_10-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ivltests/check_constant_10.v:7: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_10.v:7: error: Dimensions must be constant.
ivltests/check_constant_10.v:7 : This MSB expression violates the rule: N
2 error(s) during elaboration.
2 changes: 2 additions & 0 deletions ivtest/gold/check_constant_11-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/check_constant_11.v:9: error: A reference to a net or variable (`N') is not allowed in a constant expression.
1 error(s) during elaboration.
7 changes: 7 additions & 0 deletions ivtest/gold/check_constant_12-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ivltests/check_constant_12.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_12.v:10: error: Part select expressions must be constant integral values.
ivltests/check_constant_12.v:10: : The lsb expression violates that rule: N
ivltests/check_constant_12.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_12.v:10: error: Part select expressions must be constant integral values.
ivltests/check_constant_12.v:10: : The lsb expression violates that rule: N
4 error(s) during elaboration.
7 changes: 7 additions & 0 deletions ivtest/gold/check_constant_13-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ivltests/check_constant_13.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_13.v:10: error: Part select expressions must be constant integral values.
ivltests/check_constant_13.v:10: : The msb expression violates that rule: N
ivltests/check_constant_13.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_13.v:10: error: Part select expressions must be constant integral values.
ivltests/check_constant_13.v:10: : The msb expression violates that rule: N
4 error(s) during elaboration.
4 changes: 4 additions & 0 deletions ivtest/gold/check_constant_14-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ivltests/check_constant_14.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_14.v:10: error: Part select expressions must be constant integral values.
ivltests/check_constant_14.v:10: : The lsb expression violates that rule: N
2 error(s) during elaboration.
4 changes: 4 additions & 0 deletions ivtest/gold/check_constant_15-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ivltests/check_constant_15.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_15.v:10: error: Part select expressions must be constant integral values.
ivltests/check_constant_15.v:10: : The msb expression violates that rule: N
2 error(s) during elaboration.
2 changes: 2 additions & 0 deletions ivtest/gold/check_constant_16-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/check_constant_16.v:10: error: A reference to a net or variable (`N') is not allowed in a constant expression.
1 error(s) during elaboration.
8 changes: 8 additions & 0 deletions ivtest/gold/check_constant_17-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ivltests/check_constant_17.v:9: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_17.v:14: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_17.v:14: error: Part select expressions must be constant integral values.
ivltests/check_constant_17.v:14: : The lsb expression violates that rule: N
ivltests/check_constant_17.v:14: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_17.v:14: error: Part select expressions must be constant integral values.
ivltests/check_constant_17.v:14: : The lsb expression violates that rule: N
5 error(s) during elaboration.
7 changes: 7 additions & 0 deletions ivtest/gold/check_constant_18-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ivltests/check_constant_18.v:14: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_18.v:14: error: Part select expressions must be constant integral values.
ivltests/check_constant_18.v:14: : The msb expression violates that rule: N
ivltests/check_constant_18.v:14: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_18.v:14: error: Part select expressions must be constant integral values.
ivltests/check_constant_18.v:14: : The msb expression violates that rule: N
4 error(s) during elaboration.
4 changes: 4 additions & 0 deletions ivtest/gold/check_constant_19-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ivltests/check_constant_19.v:14: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_19.v:14: error: Part select expressions must be constant integral values.
ivltests/check_constant_19.v:14: : The lsb expression violates that rule: N
2 error(s) during elaboration.
2 changes: 2 additions & 0 deletions ivtest/gold/check_constant_2-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/check_constant_2.v:13: error: A reference to a net or variable (`Value2') is not allowed in a constant expression.
1 error(s) during elaboration.
4 changes: 4 additions & 0 deletions ivtest/gold/check_constant_20-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ivltests/check_constant_20.v:14: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_20.v:14: error: Part select expressions must be constant integral values.
ivltests/check_constant_20.v:14: : The msb expression violates that rule: N
2 error(s) during elaboration.
2 changes: 2 additions & 0 deletions ivtest/gold/check_constant_3-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/check_constant_3.v:5: error: A reference to a net or variable (`Value1') is not allowed in a constant expression.
Elaboration failed
2 changes: 2 additions & 0 deletions ivtest/gold/check_constant_4-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/check_constant_4.v:5: error: A reference to a net or variable (`N') is not allowed in a constant expression.
1 error(s) during elaboration.
8 changes: 8 additions & 0 deletions ivtest/gold/check_constant_5-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ivltests/check_constant_5.v:3: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_5.v:3: error: Dimensions must be constant.
ivltests/check_constant_5.v:3 : This LSB expression violates the rule: N
ivltests/check_constant_5.v:9: error: can not select part of scalar: In
ivltests/check_constant_5.v:9: error: Unable to elaborate r-value: In['sd0]
ivltests/check_constant_5.v:10: error: can not select part of scalar: In
ivltests/check_constant_5.v:10: error: Unable to elaborate r-value: In['sd7:'sd1]
6 error(s) during elaboration.
8 changes: 8 additions & 0 deletions ivtest/gold/check_constant_6-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ivltests/check_constant_6.v:3: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_6.v:3: error: Dimensions must be constant.
ivltests/check_constant_6.v:3 : This MSB expression violates the rule: N
ivltests/check_constant_6.v:9: error: can not select part of scalar: In
ivltests/check_constant_6.v:9: error: Unable to elaborate r-value: In['sd0]
ivltests/check_constant_6.v:10: error: can not select part of scalar: In
ivltests/check_constant_6.v:10: error: Unable to elaborate r-value: In['sd7:'sd1]
6 error(s) during elaboration.
5 changes: 5 additions & 0 deletions ivtest/gold/check_constant_7-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ivltests/check_constant_7.v:7: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_7.v:7: error: Dimensions must be constant.
ivltests/check_constant_7.v:7 : This LSB expression violates the rule: N
ivltests/check_constant_7.v:10: warning: Part select Array[][7:1] is out of range.
2 error(s) during elaboration.
5 changes: 5 additions & 0 deletions ivtest/gold/check_constant_8-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ivltests/check_constant_8.v:7: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_8.v:7: error: Dimensions must be constant.
ivltests/check_constant_8.v:7 : This MSB expression violates the rule: N
ivltests/check_constant_8.v:10: warning: Part select Array[][7:1] is out of range.
2 error(s) during elaboration.
4 changes: 4 additions & 0 deletions ivtest/gold/check_constant_9-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ivltests/check_constant_9.v:7: error: A reference to a net or variable (`N') is not allowed in a constant expression.
ivltests/check_constant_9.v:7: error: Dimensions must be constant.
ivltests/check_constant_9.v:7 : This LSB expression violates the rule: N
2 error(s) during elaboration.
3 changes: 3 additions & 0 deletions ivtest/gold/function4-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ivltests/function4.v:29: error: Function test has no ports.
ivltests/function4.v:29: : Functions must have at least one input port.
1 error(s) during elaboration.
2 changes: 2 additions & 0 deletions ivtest/gold/module_inout_ort_type-v2001-iverilog-stderr.gold
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ivltests/module_inout_port_type.v:6: error: Net data type requires SystemVerilog.
ivltests/module_inout_port_type.v:7: error: Net data type requires SystemVerilog.
9 changes: 0 additions & 9 deletions ivtest/ivltests/br1027b.v

This file was deleted.

15 changes: 0 additions & 15 deletions ivtest/regress-fsv.list
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@
#

# Some constructs/usage are not errors in SystemVerilog
br1027a normal ivltests gold=br1027a-fsv.gold
br1027c normal ivltests gold=br1027c-fsv.gold
br1027e normal ivltests gold=br1027e-fsv.gold
br_gh25a normal ivltests
br_gh25b normal ivltests
br_gh567 normal ivltests
br_gh1182 normal ivltests
check_constant_3 normal ivltests
function4 normal ivltests
module_inout_port_type normal ivltests
module_input_port_list_def normal ivltests
module_input_port_type normal ivltests
parameter_in_generate1 normal ivltests
Expand Down Expand Up @@ -107,11 +97,6 @@ pr2590274b normal ivltests gold=pr2590274-fsv.gold
pr2590274c normal,-gspecify ivltests gold=pr2590274-fsv.gold

# These are not supported in Icarus, but are valid SystemVerilog
array_lval_select3a NI ivltests
br605a NI ivltests
br605b NI ivltests
br971 NI ivltests
br1005 NI ivltests
br1015a NI ivltests
br1015b NI ivltests
br_ml20150315b NI ivltests
Expand Down
5 changes: 0 additions & 5 deletions ivtest/regress-ivl1.list
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,6 @@ automatic_error4 CE ivltests

# These are not currently supported in Icarus
# Also update the regress-fsv.list since it has these marked as normal
array_lval_select3a CE ivltests
br605a EF ivltests
br605b EF ivltests
br971 EF ivltests
br1005 CE,-g2009 ivltests
br1015b CE,-g2009 ivltests
br_ml20150315b CE,-g2009 ivltests
sv_deferred_assert1 CE,-g2009 ivltests gold=sv_deferred_assert1.gold
Expand Down
4 changes: 0 additions & 4 deletions ivtest/regress-sv.list
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,8 @@ br1003b normal,-g2009 ivltests gold=br1003b.gold
br1003c normal,-g2009 ivltests gold=br1003c.gold
br1003d normal,-g2009 ivltests gold=br1003d.gold
br1004 normal,-g2009 ivltests
br1005 normal,-g2009 ivltests gold=br1005.gold
br1015b normal,-g2009 ivltests
br1025 normal,-g2009 ivltests
br1027b normal,-g2009 ivltests gold=br1027b.gold
br1027d normal,-g2009 ivltests gold=br1027d.gold
br1027f normal,-g2009 ivltests gold=br1027f.gold
br_gh4 normal,-g2009 ivltests
br_gh4a normal,-g2009 ivltests
br_gh72a normal,-g2009 ivltests gold=br_gh72a.gold
Expand Down
33 changes: 0 additions & 33 deletions ivtest/regress-vlg.list
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ bitwidth2 normal ivltests
blankport normal ivltests main # PR 204 Stephan Boettcher -
block_only_with_var_def normal ivltests
bnot normal ivltests # test triggered an overzealous assert in vvm
br605a normal ivltests
br605b normal ivltests
br916a normal ivltests gold=br916a.gold
br916b normal ivltests gold=br916b.gold
br918a normal ivltests
Expand All @@ -231,7 +229,6 @@ br961a CE ivltests
br965 normal ivltests
br967 normal ivltests
br968 normal ivltests
br971 normal ivltests
br972 normal ivltests
br977 normal ivltests
br982 CE ivltests
Expand All @@ -248,10 +245,6 @@ br1007 normal,-Wselect-range ivltests gold=br1007.gold
br1008 normal ivltests gold=br1008.gold
br1015a CE ivltests
br1019 normal ivltests
br1027 normal ivltests
br1027a CE ivltests gold=br1027a.gold
br1027c CE ivltests gold=br1027c.gold
br1027e CE ivltests gold=br1027e.gold
br1029a normal ivltests gold=br1029a.gold
br1029b normal ivltests gold=br1029a.gold
br1029c CE ivltests gold=br1029c.gold
Expand All @@ -269,8 +262,6 @@ br_gh19 normal ivltests
br_gh19a normal ivltests
br_gh19b normal ivltests
br_gh22 normal ivltests
br_gh25a CE ivltests
br_gh25b CE ivltests
br_gh26 CE ivltests
br_gh28 normal ivltests
br_gh30 normal ivltests
Expand Down Expand Up @@ -338,7 +329,6 @@ br_gh508b normal ivltests
br_gh515 normal ivltests
br_gh531 normal ivltests gold=br_gh531.gold
br_gh533 CE ivltests
br_gh567 normal,-g2001 ivltests gold=br_gh567.gold
br_gh621 normal ivltests
br_gh632 normal ivltests
br_gh632b normal,-S ivltests
Expand All @@ -363,7 +353,6 @@ br_gh1175f CE ivltests gold=br_gh1175f.gold
br_gh1178a CE ivltests gold=br_gh1178a.gold
br_gh1178b normal ivltests
br_gh1178c normal ivltests
br_gh1182 CE ivltests gold=br_gh1182.gold
br_ml20150315 normal ivltests gold=br_ml_20150315.gold
br_ml20150321 CE ivltests
br_mw20171108 normal ivltests
Expand Down Expand Up @@ -394,26 +383,6 @@ casez3.10C normal ivltests
casez3.10D normal ivltests
casez3.10E normal ivltests # Use ? and z in label
cast_int normal ivltests
check_constant_1 CE ivltests
check_constant_2 CE ivltests
check_constant_3 CE,-g1995 ivltests
check_constant_4 CE ivltests
check_constant_5 CE ivltests
check_constant_6 CE ivltests
check_constant_7 CE ivltests
check_constant_8 CE ivltests
check_constant_9 CE ivltests
check_constant_10 CE ivltests
check_constant_11 CE ivltests
check_constant_12 CE ivltests
check_constant_13 CE ivltests
check_constant_14 CE ivltests
check_constant_15 CE ivltests
check_constant_16 CE ivltests
check_constant_17 CE ivltests
check_constant_18 CE ivltests
check_constant_19 CE ivltests
check_constant_20 CE ivltests
cmos normal ivltests gold=cmos.gold
comp1000 normal ivltests gold=comp1000.gold
comp1001 normal ivltests gold=comp1001.gold
Expand Down Expand Up @@ -561,7 +530,6 @@ function3.11B normal ivltests
function3.11C normal ivltests
function3.11D normal ivltests
function3.11F normal ivltests
function4 CE ivltests # Functions must have at least one argument
function5 CO ivltests # PR 184
function6 normal ivltests
function7 normal ivltests
Expand Down Expand Up @@ -667,7 +635,6 @@ modparam normal ivltests top # Override parameter via passed down value
module3.12A normal ivltests main
module3.12B normal ivltests
module_inout_port_list_def CE ivltests # inout ports do not support default values
module_inout_port_type CE ivltests
module_input_port_list_def CE ivltests # input ports only support default values in SV
module_input_port_type CE ivltests
module_nonansi_fail1 CE ivltests
Expand Down
2 changes: 0 additions & 2 deletions ivtest/regress-vlog95.list
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ sf_onehot0 RE,-g2005-sv ivltests
# IEEE 1364-1995 only supports register arrays.
array_lval_select1 normal,-DVLOG95 ivltests
array_lval_select2 normal,-DVLOG95 ivltests
array_lval_select3a TE,-DVLOG95 ivltests
array_lval_select3b CE,-DVLOG95 ivltests
array_lval_select3c normal,-DVLOG95 ivltests
array_select CE,-pallowsigned=1 ivltests
Expand Down Expand Up @@ -625,7 +624,6 @@ analog2 CE,-gverilog-ams ivltests
br955 CE ivltests
br988 CE ivltests
br_gh345 CE ivltests
br_gh567 CE,-g2001,-pallowsigned=1 ivltests
br_gh568 CE,-g2009,-pallowsigned=1 ivltests
br_gh621 CE ivltests # Also automatic tasks
complex_lidx CE ivltests
Expand Down
Loading