data/full_repos/permissive/519759804/varification_delayslot/Computer_delayslot.v
1: b"%Error: data/full_repos/permissive/519759804/varification_delayslot/Computer_delayslot.v:10: Can't find definition of 'devicectr' in dotted scope/variable: 'cpu.devicectr'\n assign led=cpu.devicectr.LED;\n                ^~~~~~~~~\n        ... Known scopes under 'cpu': <no cells found>\n%Error: data/full_repos/permissive/519759804/varification_delayslot/Computer_delayslot.v:11: Can't find definition of 'devicectr' in dotted scope/variable: 'cpu.devicectr'\n assign digi=cpu.devicectr.DIGI;\n                 ^~~~~~~~~\n        ... Known scopes under 'cpu': <no cells found>\n%Error: Exiting due to 2 error(s)\n"
module CLK_K
#(parameter K=2,parameter K_bit=1)
(clkin,clkout);
	input clkin;
	output clkout;
	reg [K_bit-1:0] cnt;
	reg clkout;
	always @(posedge clkin)begin
		if(cnt==K-1)begin
			cnt<=0;
			clkout<=1;
		end
		else begin
			cnt<=cnt+1;
			clkout<=0;
		end
	end
endmodule
module CLK_K
#(parameter K=2,parameter K_bit=1)
(clkin,clkout);

	input clkin;
	output clkout;
	reg [K_bit-1:0] cnt;
	reg clkout;
	always @(posedge clkin)begin
		if(cnt==K-1)begin
			cnt<=0;
			clkout<=1;
		end
		else begin
			cnt<=cnt+1;
			clkout<=0;
		end
	end
endmodule