data/full_repos/permissive/472097485/Chu04/RotSq_03/RotSq.v
1: b"%Error: data/full_repos/permissive/472097485/Chu04/RotSq_03/RotSq.v:13: Cannot find file containing module: 'ModMCounter'\n ModMCounter #( 6, 3 ) counter ( clk, reset, enable, count );\n ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/472097485/Chu04/RotSq_03,data/full_repos/permissive/472097485/ModMCounter\n             data/full_repos/permissive/472097485/Chu04/RotSq_03,data/full_repos/permissive/472097485/ModMCounter.v\n             data/full_repos/permissive/472097485/Chu04/RotSq_03,data/full_repos/permissive/472097485/ModMCounter.sv\n             ModMCounter\n             ModMCounter.v\n             ModMCounter.sv\n             obj_dir/ModMCounter\n             obj_dir/ModMCounter.v\n             obj_dir/ModMCounter.sv\n%Error: Exiting due to 1 error(s)\n"
module RotSq( input clk, input reset, input enable, output [4:0] hex2, output [4:0] hex1, output [4:0] hex0 );

	localparam [4:0] blank = 5'b10010;
	localparam [4:0] upperO = 5'b10101;
	localparam [4:0] lowerO = 5'b10100;

	wire [2:0] count;
	 
	ModMCounter #( 6, 3 ) counter ( clk, reset, enable, count );

	assign hex2 = count == 3'b011 ? upperO : count == 3'b100 ? lowerO : blank;
	assign hex1 = count == 3'b010 ? upperO : count == 3'b101 ? lowerO : blank;
	assign hex0 = count == 3'b001 ? upperO : count == 3'b000 ? lowerO : blank;

endmodule
module RotSq( input clk, input reset, input enable, output [4:0] hex2, output [4:0] hex1, output [4:0] hex0 );


	localparam [4:0] blank = 5'b10010;
	localparam [4:0] upperO = 5'b10101;
	localparam [4:0] lowerO = 5'b10100;

	wire [2:0] count;
	 
	ModMCounter #( 6, 3 ) counter ( clk, reset, enable, count );

	assign hex2 = count == 3'b011 ? upperO : count == 3'b100 ? lowerO : blank;
	assign hex1 = count == 3'b010 ? upperO : count == 3'b101 ? lowerO : blank;
	assign hex0 = count == 3'b001 ? upperO : count == 3'b000 ? lowerO : blank;

endmodule