data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v
1: b"%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:50: Cannot find file containing module: 'button'\nbutton u_button(\n^~~~~~\n        ... Looked in:\n             data/full_repos/permissive/115487336/mycode/Whac-A-Mole,data/full_repos/permissive/115487336/button\n             data/full_repos/permissive/115487336/mycode/Whac-A-Mole,data/full_repos/permissive/115487336/button.v\n             data/full_repos/permissive/115487336/mycode/Whac-A-Mole,data/full_repos/permissive/115487336/button.sv\n             button\n             button.v\n             button.sv\n             obj_dir/button\n             obj_dir/button.v\n             obj_dir/button.sv\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:57: Cannot find file containing module: 'state'\nstate u_state(\n^~~~~\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:67: Cannot find file containing module: 'gamelogic'\ngamelogic u_gamelogic(\n^~~~~~~~~\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:77: Cannot find file containing module: 'delay'\ndelay u_delay(\n^~~~~\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:85: Cannot find file containing module: 'timer'\ntimer u_timer(\n^~~~~\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:94: Cannot find file containing module: 'hex_8421BCD'\nhex_8421BCD u_hex_8421BCD(\n^~~~~~~~~~~\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:100: Cannot find file containing module: 'muxer'\nmuxer u_muxer(\n^~~~~\n%Error: data/full_repos/permissive/115487336/mycode/Whac-A-Mole/top.v:110: Cannot find file containing module: 'code'\ncode u_code(\n^~~~\n%Error: Exiting due to 8 error(s)\n"
module top(
	input clk,
	input rst_n,
	input [7:0] sw,
	input buttonset,
	
	output [7:0] led,
	output [7:0] smg,
	output [3:0] sel
);

wire buttonpress;

wire [15:0] data;

wire [4:0] state;

wire [15:0] delay;

wire delayover;

wire [7:0] resttime;

wire [7:0] score;
wire [7:0] scoreBCD;

wire timeover;
wire scorezero;

button u_button(
.clk(clk),
.rst_n(rst_n),
.button(buttonset),
.buttonpress(buttonpress)
);

state u_state(
.clk(clk),
.rst_n(rst_n),
.buttonpress(buttonpress),
.delayover(delayover),
.timeover(timeover),
.scorezero(scorezero),
.state(state)
);

gamelogic u_gamelogic(
.clk(clk),
.rst_n(rst_n),
.state(state),
.sw(sw),
.score(score),
.scorezero(scorezero),
.led(led)
);

delay u_delay(
.clk(clk),
.rst_n(rst_n),
.state(state),
.data(delay),
.delayover(delayover)
);

timer u_timer(
.clk(clk),
.rst_n(rst_n),
.sw(sw),
.state(state),
.timeover(timeover),
.resttime(resttime)
);

hex_8421BCD u_hex_8421BCD(
.hex(score),
.BCD(scoreBCD)
);


muxer u_muxer(
.state(state),
.delay(delay),
.resttime(resttime),
.score(scoreBCD),
.timeover(timeover),
.scorezero(scorezero),
.data(data)
);

code u_code(
.clk(clk),
.rst_n(rst_n),
.data(data),
.smg(smg),
.sel(sel)
);

endmodule
module top(
	input clk,
	input rst_n,
	input [7:0] sw,
	input buttonset,
	
	output [7:0] led,
	output [7:0] smg,
	output [3:0] sel
);


wire buttonpress;

wire [15:0] data;

wire [4:0] state;

wire [15:0] delay;

wire delayover;

wire [7:0] resttime;

wire [7:0] score;
wire [7:0] scoreBCD;

wire timeover;
wire scorezero;

button u_button(
.clk(clk),
.rst_n(rst_n),
.button(buttonset),
.buttonpress(buttonpress)
);

state u_state(
.clk(clk),
.rst_n(rst_n),
.buttonpress(buttonpress),
.delayover(delayover),
.timeover(timeover),
.scorezero(scorezero),
.state(state)
);

gamelogic u_gamelogic(
.clk(clk),
.rst_n(rst_n),
.state(state),
.sw(sw),
.score(score),
.scorezero(scorezero),
.led(led)
);

delay u_delay(
.clk(clk),
.rst_n(rst_n),
.state(state),
.data(delay),
.delayover(delayover)
);

timer u_timer(
.clk(clk),
.rst_n(rst_n),
.sw(sw),
.state(state),
.timeover(timeover),
.resttime(resttime)
);

hex_8421BCD u_hex_8421BCD(
.hex(score),
.BCD(scoreBCD)
);


muxer u_muxer(
.state(state),
.delay(delay),
.resttime(resttime),
.score(scoreBCD),
.timeover(timeover),
.scorezero(scorezero),
.data(data)
);

code u_code(
.clk(clk),
.rst_n(rst_n),
.data(data),
.smg(smg),
.sel(sel)
);

endmodule