data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v
1: b'%Warning-LITENDIAN: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:5: Little bit endian vector: MSB < LSB of bit range: 0:6\n output [0:6] HEX0, HEX1, HEX2, HEX3, HEX4, HEX5;\n        ^\n                    ... Use "/* verilator lint_off LITENDIAN */" and lint_on around source to disable this message.\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:13: Cannot find file containing module: \'ms_clock\'\n ms_clock #(speed_up) ms_clock1(CLOCK_50, CLOCK_100);\n ^~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper,data/full_repos/permissive/189714993/ms_clock\n             data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper,data/full_repos/permissive/189714993/ms_clock.v\n             data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper,data/full_repos/permissive/189714993/ms_clock.sv\n             ms_clock\n             ms_clock.v\n             ms_clock.sv\n             obj_dir/ms_clock\n             obj_dir/ms_clock.v\n             obj_dir/ms_clock.sv\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:15: Cannot find file containing module: \'ms_clock_switched\'\n ms_clock_switched ms_clock_switched1(CLOCK_100, KEY[0], CLOCK_SW);\n ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:17: Cannot find file containing module: \'bcd_counter\'\n bcd_counter bcd_counter_hundredths(CLOCK_SW, KEY[1], hundredths_bcd[3:0], tenths_in);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:18: Cannot find file containing module: \'bcd_counter\'\n bcd_counter bcd_counter_tenths(tenths_in, KEY[1], tenths_bcd[3:0], ones_in);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:19: Cannot find file containing module: \'bcd_counter\'\n bcd_counter bcd_counter_ones(ones_in, KEY[1], ones_bcd[3:0], tens_in);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:20: Cannot find file containing module: \'bcd_counter\'\n bcd_counter #(5) bcd_counter_tens(tens_in, KEY[1], tens_bcd[3:0], mins_in);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:21: Cannot find file containing module: \'bcd_counter\'\n bcd_counter bcd_counter_mins(mins_in, KEY[1], mins_bcd[3:0], tmins_in);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:22: Cannot find file containing module: \'bcd_counter\'\n bcd_counter bcd_counter_tmins(tmins_in, KEY[1], tmins_bcd[3:0]); \n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:24: Cannot find file containing module: \'seven_segment_decoder\'\n seven_segment_decoder seven_segment_decoder_hundredths(hundredths_bcd[3:0], HEX5[0:6]);\n ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:25: Cannot find file containing module: \'seven_segment_decoder\'\n seven_segment_decoder seven_segment_decoder_tenths(tenths_bcd[3:0], HEX4[0:6]);\n ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:26: Cannot find file containing module: \'seven_segment_decoder\'\n seven_segment_decoder seven_segment_decoder_ones(ones_bcd[3:0], HEX3[0:6]);\n ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:27: Cannot find file containing module: \'seven_segment_decoder\'\n seven_segment_decoder seven_segment_decoder_tens(tens_bcd[3:0], HEX2[0:6]);\n ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:28: Cannot find file containing module: \'seven_segment_decoder\'\n seven_segment_decoder seven_segment_decoder_mins(mins_bcd[3:0], HEX1[0:6]);\n ^~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/189714993/Stoper.srcs/sources_1/new/Stoper/stopwatch.v:29: Cannot find file containing module: \'seven_segment_decoder\'\n seven_segment_decoder seven_segment_decoder_tmins(tmins_bcd[3:0], HEX0[0:6]);\n ^~~~~~~~~~~~~~~~~~~~~\n%Error: Exiting due to 14 error(s), 1 warning(s)\n'
module stopwatch(CLOCK_50, KEY, HEX0, HEX1, HEX2, HEX3, HEX4, HEX5);

	input CLOCK_50;
	input [1:0] KEY;
	output [0:6] HEX0, HEX1, HEX2, HEX3, HEX4, HEX5;
	
	wire CLOCK_SW, CLOCK_100;
	wire tenths_in, ones_in, tens_in, mins_in, tmins_in;
	wire [3:0] hundredths_bcd, tenths_bcd, ones_bcd, tens_bcd, mins_bcd, tmins_bcd;
	
	parameter speed_up = 500000;
	
	ms_clock #(speed_up) ms_clock1(CLOCK_50, CLOCK_100);
	
	ms_clock_switched ms_clock_switched1(CLOCK_100, KEY[0], CLOCK_SW);
	
	bcd_counter bcd_counter_hundredths(CLOCK_SW, KEY[1], hundredths_bcd[3:0], tenths_in);
	bcd_counter bcd_counter_tenths(tenths_in, KEY[1], tenths_bcd[3:0], ones_in);
	bcd_counter bcd_counter_ones(ones_in, KEY[1], ones_bcd[3:0], tens_in);
	bcd_counter #(5) bcd_counter_tens(tens_in, KEY[1], tens_bcd[3:0], mins_in);
	bcd_counter bcd_counter_mins(mins_in, KEY[1], mins_bcd[3:0], tmins_in);
	bcd_counter bcd_counter_tmins(tmins_in, KEY[1], tmins_bcd[3:0]); 
	
	seven_segment_decoder seven_segment_decoder_hundredths(hundredths_bcd[3:0], HEX5[0:6]);
	seven_segment_decoder seven_segment_decoder_tenths(tenths_bcd[3:0], HEX4[0:6]);
	seven_segment_decoder seven_segment_decoder_ones(ones_bcd[3:0], HEX3[0:6]);
	seven_segment_decoder seven_segment_decoder_tens(tens_bcd[3:0], HEX2[0:6]);
	seven_segment_decoder seven_segment_decoder_mins(mins_bcd[3:0], HEX1[0:6]);
	seven_segment_decoder seven_segment_decoder_tmins(tmins_bcd[3:0], HEX0[0:6]);
	
endmodule
module stopwatch(CLOCK_50, KEY, HEX0, HEX1, HEX2, HEX3, HEX4, HEX5);


	input CLOCK_50;
	input [1:0] KEY;
	output [0:6] HEX0, HEX1, HEX2, HEX3, HEX4, HEX5;
	
	wire CLOCK_SW, CLOCK_100;
	wire tenths_in, ones_in, tens_in, mins_in, tmins_in;
	wire [3:0] hundredths_bcd, tenths_bcd, ones_bcd, tens_bcd, mins_bcd, tmins_bcd;
	
	parameter speed_up = 500000;
	
	ms_clock #(speed_up) ms_clock1(CLOCK_50, CLOCK_100);
	
	ms_clock_switched ms_clock_switched1(CLOCK_100, KEY[0], CLOCK_SW);
	
	bcd_counter bcd_counter_hundredths(CLOCK_SW, KEY[1], hundredths_bcd[3:0], tenths_in);
	bcd_counter bcd_counter_tenths(tenths_in, KEY[1], tenths_bcd[3:0], ones_in);
	bcd_counter bcd_counter_ones(ones_in, KEY[1], ones_bcd[3:0], tens_in);
	bcd_counter #(5) bcd_counter_tens(tens_in, KEY[1], tens_bcd[3:0], mins_in);
	bcd_counter bcd_counter_mins(mins_in, KEY[1], mins_bcd[3:0], tmins_in);
	bcd_counter bcd_counter_tmins(tmins_in, KEY[1], tmins_bcd[3:0]); 
	
	seven_segment_decoder seven_segment_decoder_hundredths(hundredths_bcd[3:0], HEX5[0:6]);
	seven_segment_decoder seven_segment_decoder_tenths(tenths_bcd[3:0], HEX4[0:6]);
	seven_segment_decoder seven_segment_decoder_ones(ones_bcd[3:0], HEX3[0:6]);
	seven_segment_decoder seven_segment_decoder_tens(tens_bcd[3:0], HEX2[0:6]);
	seven_segment_decoder seven_segment_decoder_mins(mins_bcd[3:0], HEX1[0:6]);
	seven_segment_decoder seven_segment_decoder_tmins(tmins_bcd[3:0], HEX0[0:6]);
	
endmodule