data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v
 line:60: before: "integer"
1: b'%Error: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:217: Cannot find file containing module: \'ram\'\n ram # (.ADDRBITS(ADDRBITS)) ram1_blk (rd_addr1, wr_addr1, ram_clk, ram1_din, ram_wren, ram1_dout);\n ^~~\n        ... Looked in:\n             data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A,data/full_repos/permissive/11584509/ram\n             data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A,data/full_repos/permissive/11584509/ram.v\n             data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A,data/full_repos/permissive/11584509/ram.sv\n             ram\n             ram.v\n             ram.sv\n             obj_dir/ram\n             obj_dir/ram.v\n             obj_dir/ram.sv\n%Error: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:218: Cannot find file containing module: \'ram\'\n ram # (.ADDRBITS(ADDRBITS)) ram2_blk (rd_addr2, wr_addr2, ram_clk, ram2_din, ram_wren, ram2_dout);\n ^~~\n%Error: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:219: Cannot find file containing module: \'ram\'\n ram # (.ADDRBITS(ADDRBITS)) ram3_blk (rd_addr3, wr_addr3, ram_clk, ram3_din, ram_wren, ram3_dout);\n ^~~\n%Error: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:220: Cannot find file containing module: \'ram\'\n ram # (.ADDRBITS(ADDRBITS)) ram4_blk (rd_addr4, wr_addr4, ram_clk, ram4_din, ram_wren, ram4_dout);\n ^~~\n%Error: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:228: Cannot find file containing module: \'salsa\'\n salsa salsa_blk (hash_clk, X0, X1, Xmix, X0out, Xaddr);\n ^~~~~\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:245: Bit extraction of array[63:0] requires 6 bit index, not 7 bits.\n                                                                                                    : ... In instance salsaengine\n    (phase == THREADS ) ? 0 : sstate[phase]; \n                                    ^\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:283: Bit extraction of array[63:0] requires 6 bit index, not 7 bits.\n                                                                                                    : ... In instance salsaengine\n   sstate[phase_d] <= fsmreset ? 0 : { mstate, writeaddr, cycle, doneROM, addrwriteMix, addrreadInit, addrreadSave, intcycles };\n         ^\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:335: Bit extraction of array[63:0] requires 6 bit index, not 7 bits.\n                                                                                                    : ... In instance salsaengine\n   nonce_sr <= snonce[phase_d];   \n                     ^\n%Warning-WIDTH: data/full_repos/permissive/11584509/experimental/LX150-SIXTYFOUR-A/salsaengine.v:336: Bit extraction of array[63:0] requires 6 bit index, not 7 bits.\n                                                                                                    : ... In instance salsaengine\n   snonce[phase_d] <= nonce_sr;\n         ^\n%Error: Exiting due to 5 error(s), 4 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