data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_戴宏穎_Lab8/Lab8.v
[Errno 2] No such file or directory: 'preprocess.output'
1: b"%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:23: Cannot find file containing module: 'Timer'\n Timer timer(\n ^~~~~\n        ... Looked in:\n             data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8,data/full_repos/permissive/18921956/Timer\n             data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8,data/full_repos/permissive/18921956/Timer.v\n             data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8,data/full_repos/permissive/18921956/Timer.sv\n             Timer\n             Timer.v\n             Timer.sv\n             obj_dir/Timer\n             obj_dir/Timer.v\n             obj_dir/Timer.sv\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:31: Cannot find file containing module: 'CLK_DIV'\n CLK_DIV CD1(clk_LCD, clk_7seg, clk_1s, clk_500ms, clk_1us, clk);\n ^~~~~~~\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:32: Cannot find file containing module: 'debounce'\n debounce db(db_rst_n, rst_n, clk);\n ^~~~~~~~\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:33: Cannot find file containing module: 'KeyBoard_ctrl'\n KeyBoard_ctrl kbc(ROW, KEY_IN, COLUMN, clk, rst_n);\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:34: Cannot find file containing module: 'LED7SEG'\n LED7SEG led (DIGIT, DISPLAY, TTen, TOne, STen, SOne, 0, 0, 0, clk_7seg);\n ^~~~~~~\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:35: Cannot find file containing module: 'LCD_DISPLAY_CTRL'\n LCD_DISPLAY_CTRL LCDDC1(PATTERN, CLEAR, CALLFORPATTERN, mole16bit, rst_n, clk_LCD);\n ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:36: Cannot find file containing module: 'LCD_DISPLAY'\n LCD_DISPLAY LCDD1(LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST, LCD_DATA, CLEAR, CALLFORPATTERN, PATTERN, rst_n, clk_LCD);\n ^~~~~~~~~~~\n%Error: data/full_repos/permissive/18921956/HardwareLab/Upload/101062124_\xe6\x88\xb4\xe5\xae\x8f\xe7\xa9\x8e_Lab8/Lab8.v:38: Cannot find file containing module: 'GameCtr'\n GameCtr gtr(\n ^~~~~~~\n%Error: Exiting due to 8 error(s)\n"
module Lab8(LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST, LCD_DATA, rst_n, clk, DIGIT, DISPLAY, ROW, COLUMN);

	input  clk, rst_n;
	output [3:0] DIGIT;
	output [8:0] DISPLAY;
	output [3:0] ROW;
	input [3:0] COLUMN;
	output LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST;
	output [7:0] LCD_DATA;
	
	wire clk_LCD, clk_7seg, clk_1s, clk_500ms, clk_1us;
	wire [15:0] mole16bit;

	wire [255:0] PATTERN;
	wire CLEAR, CALLFORPATTERN;
	wire PRESS_VALID;
	
	wire db_rst_n;
	wire [3:0]TTen, TOne, STen, SOne, KEY_IN;
	
	wire isFinished;
	Timer timer(
		TTen,
		TOne,
		isFinished,
		clk_1s,
		db_rst_n
    );

	CLK_DIV CD1(clk_LCD, clk_7seg, clk_1s, clk_500ms, clk_1us, clk);
	debounce db(db_rst_n, rst_n, clk);
	KeyBoard_ctrl kbc(ROW, KEY_IN, COLUMN, clk, rst_n);
	LED7SEG led (DIGIT, DISPLAY, TTen, TOne, STen, SOne, 0, 0, 0, clk_7seg);
	LCD_DISPLAY_CTRL LCDDC1(PATTERN, CLEAR, CALLFORPATTERN, mole16bit, rst_n, clk_LCD);
	LCD_DISPLAY LCDD1(LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST, LCD_DATA, CLEAR, CALLFORPATTERN, PATTERN, rst_n, clk_LCD);
	
	GameCtr gtr(
			STen,
			SOne,
			mole16bit,
			KEY_IN,
			PRESS_VALID,
			isFinished,
			clk_1s,
			clk_1us,
			db_rst_n
    );

endmodule
module Lab8(LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST, LCD_DATA, rst_n, clk, DIGIT, DISPLAY, ROW, COLUMN);


	input  clk, rst_n;
	output [3:0] DIGIT;
	output [8:0] DISPLAY;
	output [3:0] ROW;
	input [3:0] COLUMN;
	output LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST;
	output [7:0] LCD_DATA;
	
	wire clk_LCD, clk_7seg, clk_1s, clk_500ms, clk_1us;
	wire [15:0] mole16bit;

	wire [255:0] PATTERN;
	wire CLEAR, CALLFORPATTERN;
	wire PRESS_VALID;
	
	wire db_rst_n;
	wire [3:0]TTen, TOne, STen, SOne, KEY_IN;
	
	wire isFinished;
	Timer timer(
		TTen,
		TOne,
		isFinished,
		clk_1s,
		db_rst_n
    );

	CLK_DIV CD1(clk_LCD, clk_7seg, clk_1s, clk_500ms, clk_1us, clk);
	debounce db(db_rst_n, rst_n, clk);
	KeyBoard_ctrl kbc(ROW, KEY_IN, COLUMN, clk, rst_n);
	LED7SEG led (DIGIT, DISPLAY, TTen, TOne, STen, SOne, 0, 0, 0, clk_7seg);
	LCD_DISPLAY_CTRL LCDDC1(PATTERN, CLEAR, CALLFORPATTERN, mole16bit, rst_n, clk_LCD);
	LCD_DISPLAY LCDD1(LCD_ENABLE, LCD_RW, LCD_DI, LCD_CS1, LCD_CS2, LCD_RST, LCD_DATA, CLEAR, CALLFORPATTERN, PATTERN, rst_n, clk_LCD);
	
	GameCtr gtr(
			STen,
			SOne,
			mole16bit,
			KEY_IN,
			PRESS_VALID,
			isFinished,
			clk_1s,
			clk_1us,
			db_rst_n
    );

endmodule