Actions
Icarus Verilog Bugs » History » Revision 7
« Previous |
Revision 7/8
(diff)
| Next »
Sergey Smolov, 04/28/2018 06:29 PM
Icarus Verilog Bugs¶
The bugs are listed here can be reproduced on tests for Verilog Translator project (so called "ieee-tests").
- test_03_08_01_1.v
test_03_08_01_1.v:25: syntax error test_03_08_01_1.v:27: error: malformed statement test_03_08_01_1.v:28: syntax error test_03_08_01_1.v:33: error: malformed statement test_03_08_01_1.v:34: syntax error test_03_08_01_1.v:39: error: malformed statement test_03_08_01_1.v:40: syntax error
Cause: attributes for "case" statement branches like "(* full_case, parallel_case *)" are unsupported. - test_03_08_01_2.v
test_03_08_01_2.v:25: syntax error test_03_08_01_2.v:27: error: malformed statement test_03_08_01_2.v:28: syntax error test_03_08_01_2.v:32: error: malformed statement test_03_08_01_2.v:33: syntax error
Cause: attributes for "case" statement branches like "(* full_case *)" are unsupported. - test_03_08_01_6.v
test_03_08_01_6.v:25: syntax error test_03_08_01_6.v:25: error: malformed statement
Cause: attributes for assignments like "a = b + (* mode = "cla" *) c;" are unsupported. - test_03_08_01_7.v
test_03_08_01_7.v:25: syntax error test_03_08_01_7.v:25: error: malformed statement
Cause: attributes for assignments like "a = add (* mode = "cla" *) (b, c);" are unsupported. - test_03_08_01_8.v
test_03_08_01_8.v:25: syntax error test_03_08_01_8.v:25: error: malformed statement
Cause: attributes for assignments like "a = b ? (* no_glitch *) c : d;" are unsupported. - test_04_03_01_1.v
test_04_03_01_1.v:24: sorry: trireg nets not supported.
Cause: cannot parse "trireg (small) storeit;" - test_04_03_02_1.v
test_04_03_02_1.v:22: syntax error test_04_03_02_1.v:22: error: invalid module item. test_04_03_02_1.v:23: syntax error test_04_03_02_1.v:23: error: invalid module item.
Cause: cannot parse "tri1 scalared [63:0] bus64;" - test_04_04_01_1.v
test_04_04_01_1.v:22: sorry: trireg nets not supported. test_04_04_01_1.v:23: sorry: trireg nets not supported. test_04_04_01_1.v:25: syntax error test_04_04_01_1.v:25: error: invalid module item.
Cause: cannot parse "trireg a;" - test_04_09_03_1_1.v
test_04_09_03_1_1.v:26: sorry: only 1 dimensional arrays are currently supported. test_04_09_03_1_1.v:28: sorry: only 1 dimensional arrays are currently supported.
Cause: cannot parse "reg arrayb[7:0][0:255];" - test_04_09_03_1_2.v
test_04_09_03_1_2.v:26: sorry: only 1 dimensional arrays are currently supported. test_04_09_03_1_2.v:28: sorry: only 1 dimensional arrays are currently supported.
Cause: cannot parse "reg arrayb[7:0][0:255];" - test_04_10_03_2.v
test_04_10_03_2.v:23: syntax error test_04_10_03_2.v:23: error: invalid module item. test_04_10_03_2.v:24: syntax error test_04_10_03_2.v:24: error: invalid module item.
Cause: the "specparam" is unsupported. - test_05_01_14_1.v
test_05_01_14_1.v:30: error: Array b['sd3:'sd0] cannot be indexed by a range.
Cause: cannot parse "result = {a, b[3:0], w, 3'b101};" - test_05_02_01_4.v
test_05_02_01_4.v:54: error: Unable to bind wire/reg/memory `x' in `test' test_05_02_01_4.v:58: error: Unable to bind wire/reg/memory `z' in `test'
Cause: cannot parse "addr = x;" - test_05_02_02_2.v
test_05_02_02_2.v:25: sorry: only 1 dimensional arrays are currently supported. test_05_02_02_2.v:26: sorry: only 1 dimensional arrays are currently supported.
Cause: cnnot parse "wire threed_array[0:255][0:255][0:7];" - test_05_03_00_1.v
test_05_03_00_1.v:25: warning: choosing typ expression.
Cause: "parameter val = (32'd 50: 32'd 75: 32'd 100);" - test_06_01_03_1.v
test_06_01_03_1.v:24: sorry: net delays not supported.
Cause: "wire #10 wireA;" - test_07_14_01_1.v
test_07_14_01_1.v:25: warning: choosing typ expression. test_07_14_01_1.v:25: warning: choosing typ expression. test_07_14_01_1.v:25: warning: choosing typ expression. test_07_14_01_1.v:26: warning: choosing typ expression. test_07_14_01_1.v:26: warning: choosing typ expression. test_07_14_01_1.v:26: warning: choosing typ expression.
Cause: "bufif0 #(5:7:9, 8:10:12, 15:18:21) b1 (io1, io2, dir);" - test_07_14_01_2.v
test_07_14_01_2.v:26: warning: choosing typ expression. test_07_14_01_2.v:27: warning: choosing typ expression.
Cause: " #(95:100:105) clk = 1;" - test_07_14_02_2_1.v
test_07_14_02_2_1.v:25: sorry: trireg nets not supported.
Cause: "trireg ( large ) #(0,0,50) cap1;" - test_07_14_02_2_2.v
test_07_14_02_2_2.v:26: sorry: trireg nets not supported.
Cause: "trireg ( large ) #(0,0,50) cap1;" - test_08_06_00_1.v
test_08_06_00_1.v:46: syntax error test_08_06_00_1.v:46: error: syntax error in parameter value assignment list. test_08_06_00_1.v:46: error: Invalid module instantiation *Cause*: "d_edge_ff #p3 d_inst (q, clock, data);"
- test_08_07_00_1.v
test_08_07_00_1.v:30: syntax error
Cause: " ? ?? 01 : ? : 1 ;" - test_09_06_00_1.v
test_09_06_00_1.v:27: syntax error test_09_06_00_1.v:28: error: invalid module item. test_09_06_00_1.v:29: syntax error test_09_06_00_1.v:29: error: Invalid module instantiation test_09_06_00_1.v:30: error: Invalid module instantiation test_09_06_00_1.v:31: error: Invalid module instantiation test_09_06_00_1.v:34: error: invalid module item. test_09_06_00_1.v:35: syntax error test_09_06_00_1.v:35: error: Invalid module instantiation test_09_06_00_1.v:36: error: Invalid module instantiation
Cause: "begin : mult" - test_09_06_00_2.v
test_09_06_00_2.v:23: syntax error test_09_06_00_2.v:24: error: invalid module item. test_09_06_00_2.v:25: syntax error test_09_06_00_2.v:25: error: Invalid module instantiation test_09_06_00_2.v:26: error: Invalid module instantiation test_09_06_00_2.v:29: error: invalid module item. test_09_06_00_2.v:30: syntax error test_09_06_00_2.v:30: error: Invalid module instantiation
Cause: "begin : count1s" - test_09_07_05_4.v
test_09_07_05_4.v:33: internal error: NetProc::nex_input not implemented
Cause: "* // equivalent to
(c or d)
x = c ^ d;" - test_09_07_07_1.v
test_09_07_07_1.v:32: syntax error
Cause: "repeat (-3) @ (posedge clk)" - test_10_03_00_5.v
test_10_03_00_5.v:44: syntax error test_10_03_00_5.v:45: error: malformed statement test_10_03_00_5.v:48: syntax error test_10_03_00_5.v:49: error: malformed statement
Cause: "begin : posedge(clk)" - test_12_02_00_1.v
test_12_02_00_1.v:57: error: Range expressions must be constant. test_12_02_00_1.v:57 : This MSB expression violates the rule: LOG2(DEPTH)
Cause: "reg [LOG2:0] depth;" - test_12_03_07_1.v
test_12_03_07_1.v:29: error: Scalar port ``net_r'' has a vectored net declaration [64:1]. test_12_03_07_1.v:26: error: no wire/reg net_r in module driver. test_12_03_07_1.v:33: error: Scalar port ``net_r'' has a vectored net declaration [64:1]. test_12_03_07_1.v:32: error: no wire/reg net_r in module receiver. test_12_03_07_1.v:29: error: Net net_r is not defined in this context. test_12_03_07_1.v:36: error: Unable to bind wire/reg/memory `net_r' in `receiver'
Cause:26: module driver (net_r); 27: output net_r; 28: real r; 29: wire [64:1] net_r = $realtobits(r); 30: endmodule 31: 32: module receiver (net_r); 33: input net_r; 34: wire [64:1] net_r; 35: real r; 36: initial assign r = $bitstoreal (net_r); 37: endmodule
- test_12_04_02_1.v
test_12_04_02_1.v:46: syntax error test_12_04_02_1.v:46: error: invalid module item.
Cause: "else;"
Updated by Sergey Smolov over 6 years ago · 8 revisions