data/full_repos/permissive/165514176/message_printer.v
 line:270: before: "f"
1: b'%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:140: Operator ASSIGN expects 19 bits on the Assign RHS, but Assign RHS\'s CONST \'18\'h0\' generates 18 bits.\n                                                                          : ... In instance message_printer\n reg signed [18:0] phasetocalc_d = 18\'b0;\n                                   ^~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:141: Operator ASSIGN expects 19 bits on the Assign RHS, but Assign RHS\'s CONST \'18\'h0\' generates 18 bits.\n                                                                          : ... In instance message_printer\n reg signed [18:0] phasetocalc_q = 18\'b0;\n                                   ^~~~~\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:142: Operator ASSIGN expects 19 bits on the Assign RHS, but Assign RHS\'s CONST \'18\'h0\' generates 18 bits.\n                                                                          : ... In instance message_printer\n   reg signed [18:0] phasetocalc_temp_d = 18\'b0;\n                                          ^~~~~\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:143: Operator ASSIGN expects 19 bits on the Assign RHS, but Assign RHS\'s CONST \'18\'h0\' generates 18 bits.\n                                                                          : ... In instance message_printer\n reg signed [18:0] phasetocalc_temp_q = 18\'b0;\n                                        ^~~~~\n%Error: data/full_repos/permissive/165514176/message_printer.v:163: Cannot find file containing module: \'cossin\'\n cossin trig (\n ^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/165514176,data/full_repos/permissive/165514176/cossin\n             data/full_repos/permissive/165514176,data/full_repos/permissive/165514176/cossin.v\n             data/full_repos/permissive/165514176,data/full_repos/permissive/165514176/cossin.sv\n             cossin\n             cossin.v\n             cossin.sv\n             obj_dir/cossin\n             obj_dir/cossin.v\n             obj_dir/cossin.sv\n%Error: data/full_repos/permissive/165514176/message_printer.v:180: Cannot find file containing module: \'mult\'\n   mult multiplier (\n   ^~~~\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:187: Operator ASSIGN expects 16 bits on the Assign RHS, but Assign RHS\'s CONST \'32\'h0\' generates 32 bits.\n                                                                          : ... In instance message_printer\n reg signed [15 : 0] norm_to_calc_d = 32\'b0;\n                                      ^~~~~\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:188: Operator ASSIGN expects 16 bits on the Assign RHS, but Assign RHS\'s CONST \'32\'h0\' generates 32 bits.\n                                                                          : ... In instance message_printer\n reg signed [15 : 0] norm_to_calc_q = 32\'b0;\n                                      ^~~~~\n%Error: data/full_repos/permissive/165514176/message_printer.v:202: Cannot find file containing module: \'sqrt\'\n  sqrt norm (\n  ^~~~\n%Error: data/full_repos/permissive/165514176/message_printer.v:247: Cannot find file containing module: \'message_rom\'\n  message_rom message_rom (\n  ^~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:431: Bit extraction of array[3:0] requires 2 bit index, not 8 bits.\n                                                                          : ... In instance message_printer\n  numbertemp = numbers[count_q];\n                      ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:512: Operator ASSIGN expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'4\'hc\' generates 4 bits.\n                                                                          : ... In instance message_printer\n        addr_d = 4\'d12;\n               ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:513: Operator ASSIGN expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'4\'h0\' generates 4 bits.\n                                                                          : ... In instance message_printer\n    count_d = 4\'d0;\n            ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:756: Operator SUB expects 32 bits on the LHS, but LHS\'s CONST \'16\'h1\' generates 16 bits.\n                                                                          : ... In instance message_printer\n   scalevalue_d = -(16\'d1-(norm_result>>>1));\n                         ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:756: Operator SHIFTR expects 32 bits on the LHS, but LHS\'s VARREF \'norm_result\' generates 16 bits.\n                                                                          : ... In instance message_printer\n   scalevalue_d = -(16\'d1-(norm_result>>>1));\n                                      ^~~\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:766: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS\'s ADD generates 32 bits.\n                                                                          : ... In instance message_printer\n   prjdelta_d[0]= prj_q[0]*delta_q[0]+ prj_q[1]*delta_q[0];\n                ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:767: Operator ASSIGN expects 1 bits on the Assign RHS, but Assign RHS\'s ADD generates 32 bits.\n                                                                          : ... In instance message_printer\n   prjdelta_d[1] = prj_q[2]*delta_q[1]+prj_q[3]*delta_q[1];\n                 ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:904: Operator ADD expects 32 bits on the LHS, but LHS\'s VARREF \'phasetocalc_temp_q\' generates 19 bits.\n                                                                          : ... In instance message_printer\n   phasetocalc_d = trunc_32_to_18(phasetocalc_temp_q + xismall_q[4]); \n                                                     ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:942: Operator ASSIGN expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'4\'h4\' generates 4 bits.\n                                                                          : ... In instance message_printer\n   addr_d = 4\'d4; \n          ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:964: Operator ASSIGN expects 8 bits on the Assign RHS, but Assign RHS\'s CONST \'4\'h4\' generates 4 bits.\n                                                                          : ... In instance message_printer\n   addr_d = 4\'d4;\n          ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:1005: Bit extraction of array[3:0] requires 2 bit index, not 8 bits.\n                                                                           : ... In instance message_printer\n  numbers[count_q] <= numbertemp;\n         ^\n%Warning-WIDTH: data/full_repos/permissive/165514176/message_printer.v:1067: Operator ASSIGNDLY expects 24 bits on the Assign RHS, but Assign RHS\'s REPLICATE generates 23 bits.\n                                                                           : ... In instance message_printer\n  phasetocalc_real<= {4\'b0 ,phasetocalc_d};\n                  ^~\n%Error: Exiting due to 4 error(s), 18 warning(s)\n'
function [18:0] trunc_32_to_18(input [31:0] val32);
  trunc_32_to_18 = val32[18:0];
endfunction
function [18:0] trunc_32_to_18(input [31:0] val32);

  trunc_32_to_18 = val32[18:0];
endfunction