data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v
 line:43: before: "integer"
1: b'%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:66: Cannot find file containing module: \'main_pll\'\n  main_pll #(.SPEED_MHZ(SPEED_MHZ)) pll_blk (osc_clk, hash_clk);\n  ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN,data/full_repos/permissive/11584509/main_pll\n             data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN,data/full_repos/permissive/11584509/main_pll.v\n             data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN,data/full_repos/permissive/11584509/main_pll.sv\n             main_pll\n             main_pll.v\n             main_pll.sv\n             obj_dir/main_pll\n             obj_dir/main_pll.v\n             obj_dir/main_pll.sv\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:87: Operator ASSIGN expects 32 bits on the Assign RHS, but Assign RHS\'s CONST \'31\'h7ff\' generates 31 bits.\n                                                                                                  : ... In instance ltcminer\n reg [31:0] target = 31\'h000007ff;  \n                     ^~~~~~~~~~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:111: Cannot find file containing module: \'pbkdfengine\'\n   pbkdfengine #(.SBITS(SBITS)) P\n   ^~~~~~~~~~~\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:118: Cannot find file containing module: \'salsaengine\'\n   salsaengine #(.ADDRBITS(ADDRBITS), .SBITS(SBITS)) S\n   ^~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:159: Bit extraction of var[0:0] requires 1 bit index, not 2 bits.\n                                                                                                   : ... In instance ltcminer\n   clear_nonces[port_counter] <= 1;\n               ^\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:156: Bit extraction of var[0:0] requires 1 bit index, not 2 bits.\n                                                                                                   : ... In instance ltcminer\n  if (new_nonces_flag[port_counter])\n                     ^\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:177: Cannot find file containing module: \'virtual_wire\'\n virtual_wire # (.PROBE_WIDTH(0), .WIDTH(256), .INSTANCE_ID("DAT1")) data1_vw_blk(.probe(), .source(data1_vw));\n ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:178: Cannot find file containing module: \'virtual_wire\'\n virtual_wire # (.PROBE_WIDTH(0), .WIDTH(256), .INSTANCE_ID("DAT2")) data2_vw_blk(.probe(), .source(data2_vw));\n ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:179: Cannot find file containing module: \'virtual_wire\'\n virtual_wire # (.PROBE_WIDTH(0), .WIDTH(128), .INSTANCE_ID("DAT3")) data3_vw_blk(.probe(), .source(data3_vw));\n ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:180: Cannot find file containing module: \'virtual_wire\'\n virtual_wire # (.PROBE_WIDTH(0), .WIDTH(32), .INSTANCE_ID("TARG")) target_vw_blk(.probe(), .source(target_vw));\n ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:192: Cannot find file containing module: \'virtual_wire\'\n virtual_wire # (.PROBE_WIDTH(32), .WIDTH(0), .INSTANCE_ID("GNON")) golden_nonce_vw_blk (.probe(golden_nonce_out), .source());\n ^~~~~~~~~~~~\n%Error: data/full_repos/permissive/11584509/experimental/DE2-115-SLOWSIXTEEN/ltcminer.v:193: Cannot find file containing module: \'virtual_wire\'\n virtual_wire # (.PROBE_WIDTH(32), .WIDTH(0), .INSTANCE_ID("NONC")) nonce_vw_blk (.probe(nonce_out), .source());\n ^~~~~~~~~~~~\n%Error: Exiting due to 9 error(s), 3 warning(s)\n'
function integer clog2;
		input integer value;
		begin
		value = value-1;
		for (clog2=0; value>0; clog2=clog2+1)
		value = value>>1;
		end
	endfunction
function integer clog2;

		input integer value;
		begin
		value = value-1;
		for (clog2=0; value>0; clog2=clog2+1)
		value = value>>1;
		end
	endfunction