data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v
1: b'%Warning-REALCVT: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:63: Implicit conversion of real to integer\n    localparam signed Z = negate($floor(W / X));\n                                 ^~~~~~\n                  ... Use "/* verilator lint_off REALCVT */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:25: Operator FUNCREF \'flip\' expects 24 bits on the Function Argument, but Function Argument\'s SEL generates 8 bits.\n                                                                                            : ... In instance top.e4\n        for (i = 0; i != flip(flip(OUTPUT[15:8])); i = i + 1)\n                              ^~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:25: Operator NEQ expects 32 bits on the RHS, but RHS\'s FUNCREF \'flip\' generates 24 bits.\n                                                                                            : ... In instance top.e4\n        for (i = 0; i != flip(flip(OUTPUT[15:8])); i = i + 1)\n                      ^~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:33: Operator FUNCREF \'flip\' expects 24 bits on the Function Argument, but Function Argument\'s SEL generates 8 bits.\n                                                                                            : ... In instance top.e3\n        for (j = 0; j != flip(flip(OUTPUT[15:8])); j = j + 1)\n                              ^~~~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:33: Operator NEQ expects 32 bits on the RHS, but RHS\'s FUNCREF \'flip\' generates 24 bits.\n                                                                                            : ... In instance top.e3\n        for (j = 0; j != flip(flip(OUTPUT[15:8])); j = j + 1)\n                      ^~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:34: Operator EQ expects 32 bits on the RHS, but RHS\'s FUNCREF \'flip\' generates 24 bits.\n                                                                                            : ... In instance top.e3\n            if (j + 1 == flip(flip("O")))\n                      ^~\n%Warning-WIDTH: data/full_repos/permissive/441359809/src/yosys/tests/various/const_func.v:50: Operator ASSIGNW expects 196 bits on the Assign RHS, but Assign RHS\'s REPLICATE generates 200 bits.\n                                                                                            : ... In instance top\n    assign out = {\n               ^\n%Error: Exiting due to 7 warning(s)\n'
function signed [31:0] negate;
        input integer inp;
        negate = ~inp;
    endfunction
function signed [31:0] negate;

        input integer inp;
        negate = ~inp;
    endfunction