data/full_repos/permissive/472097485/Chu04/HeartBt_04/HeartBeat.v
1: b"%Error: data/full_repos/permissive/472097485/Chu04/HeartBt_04/HeartBeat.v:13: Cannot find file containing module: 'ModMCounter'\n ModMCounter #( 3, 2 ) counter ( clk, reset, enable, count );\n ^~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/472097485/Chu04/HeartBt_04,data/full_repos/permissive/472097485/ModMCounter\n             data/full_repos/permissive/472097485/Chu04/HeartBt_04,data/full_repos/permissive/472097485/ModMCounter.v\n             data/full_repos/permissive/472097485/Chu04/HeartBt_04,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 HeartBeat( input clk, input reset, input enable, output [4:0] hex2, output [4:0] hex1, output [4:0] hex0 );

	localparam [4:0] rightOne = 5'b00001;
	localparam [4:0] leftOne = 5'b10110;
	localparam [4:0] DoubleEl = 5'b10111;
	localparam [4:0] blank = 5'b10010;

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

	assign hex2 = count == 2'b01 ? rightOne : count == 2'b10 ? leftOne : blank;
	assign hex1 = count == 2'b00 ? DoubleEl : blank;
	assign hex0 = count == 2'b01 ? leftOne : count == 2'b10 ? rightOne : blank;

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


	localparam [4:0] rightOne = 5'b00001;
	localparam [4:0] leftOne = 5'b10110;
	localparam [4:0] DoubleEl = 5'b10111;
	localparam [4:0] blank = 5'b10010;

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

	assign hex2 = count == 2'b01 ? rightOne : count == 2'b10 ? leftOne : blank;
	assign hex1 = count == 2'b00 ? DoubleEl : blank;
	assign hex0 = count == 2'b01 ? leftOne : count == 2'b10 ? rightOne : blank;

endmodule