data/full_repos/permissive/171756809/lattice_ice40/ringoscillator.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/171756809/lattice_ice40/ringoscillator.v:41: Cannot find file containing module: 'SB_LUT4'\n   SB_LUT4 #(.LUT_INIT((i==0)?16'd1:16'd2))\n   ^~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/171756809/lattice_ice40,data/full_repos/permissive/171756809/SB_LUT4\n             data/full_repos/permissive/171756809/lattice_ice40,data/full_repos/permissive/171756809/SB_LUT4.v\n             data/full_repos/permissive/171756809/lattice_ice40,data/full_repos/permissive/171756809/SB_LUT4.sv\n             SB_LUT4\n             SB_LUT4.v\n             SB_LUT4.sv\n             obj_dir/SB_LUT4\n             obj_dir/SB_LUT4.v\n             obj_dir/SB_LUT4.sv\n%Error: Exiting due to 1 error(s)\n"
module ringoscillator(output wire chain_out);
	parameter DELAY_LUTS = 1;

	wire chain_wire[DELAY_LUTS+1:0];
	assign chain_wire[0] = chain_wire[DELAY_LUTS+1];
	assign chain_out = chain_wire[1];



	generate
		genvar i;
		for(i=0; i<=DELAY_LUTS; i=i+1) begin: delayline
			(* keep *) (* noglobal *)
			SB_LUT4 #(.LUT_INIT((i==0)?16'd1:16'd2))
				chain_lut(.O(chain_wire[i+1]), .I0(chain_wire[i]), .I1(1'b0), .I2(1'b0), .I3(1'b0));
		end
	endgenerate
endmodule
module ringoscillator(output wire chain_out);

	parameter DELAY_LUTS = 1;

	wire chain_wire[DELAY_LUTS+1:0];
	assign chain_wire[0] = chain_wire[DELAY_LUTS+1];
	assign chain_out = chain_wire[1];



	generate
		genvar i;
		for(i=0; i<=DELAY_LUTS; i=i+1) begin: delayline
			(* keep *) (* noglobal *)
			SB_LUT4 #(.LUT_INIT((i==0)?16'd1:16'd2))
				chain_lut(.O(chain_wire[i+1]), .I0(chain_wire[i]), .I1(1'b0), .I2(1'b0), .I3(1'b0));
		end
	endgenerate
endmodule