data/full_repos/permissive/524509242/FSM Vending Machine/L4_boardtest.v
1: b'%Error: Cannot find file containing module: Vending\n        ... Looked in:\n             data/full_repos/permissive/524509242/FSM/Vending\n             data/full_repos/permissive/524509242/FSM/Vending.v\n             data/full_repos/permissive/524509242/FSM/Vending.sv\n             Vending\n             Vending.v\n             Vending.sv\n             obj_dir/Vending\n             obj_dir/Vending.v\n             obj_dir/Vending.sv\n%Error: Cannot find file containing module: Machine,data/full_repos/permissive/524509242\n%Error: Cannot find file containing module: data/full_repos/permissive/524509242/FSM\n%Error: Cannot find file containing module: Machine/L4_boardtest.v\n%Error: Exiting due to 4 error(s)\n'
module L4_boardtest(SW, BTN, clk, LED);
	
	input [7:0] SW;		
	output [7:0] LED;
	input [3:0] BTN;
	input clk;

	

	wire slow_clk;
	wire n, d, qt;
	
	
	clock_divider cd (.clk(clk), .rst(SW[0]), .clk_div(slow_clk));
	
	debouncer 	d1 (.clk(clk), .clock_div(slow_clk), .in(BTN[1]), .out(n));
	debouncer 	d2 (.clk(clk), .clock_div(slow_clk), .in(BTN[2]), .out(d));
	debouncer 	d3 (.clk(clk), .clock_div(slow_clk), .in(BTN[3]), .out(qt));
	
	assign LED[2:0] = SW[2:0];
	
	Moore FSM_vending (.clk(slow_clk), .reset(SW[0]), .nickel(n), .dime(d), .qtr(qt), .soda(SW[1]), .diet(SW[2]),
							 .change(LED[4]), .status(LED[5]), .GiveSoda(LED[6]), .GiveDiet(LED[7]));

endmodule
module L4_boardtest(SW, BTN, clk, LED);

	
	input [7:0] SW;		
	output [7:0] LED;
	input [3:0] BTN;
	input clk;

	

	wire slow_clk;
	wire n, d, qt;
	
	
	clock_divider cd (.clk(clk), .rst(SW[0]), .clk_div(slow_clk));
	
	debouncer 	d1 (.clk(clk), .clock_div(slow_clk), .in(BTN[1]), .out(n));
	debouncer 	d2 (.clk(clk), .clock_div(slow_clk), .in(BTN[2]), .out(d));
	debouncer 	d3 (.clk(clk), .clock_div(slow_clk), .in(BTN[3]), .out(qt));
	
	assign LED[2:0] = SW[2:0];
	
	Moore FSM_vending (.clk(slow_clk), .reset(SW[0]), .nickel(n), .dime(d), .qtr(qt), .soda(SW[1]), .diet(SW[2]),
							 .change(LED[4]), .status(LED[5]), .GiveSoda(LED[6]), .GiveDiet(LED[7]));

endmodule