data/full_repos/permissive/524509242/FSM Vending Machine/FSMoore_tb.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/FSMoore_tb.v\n%Error: Exiting due to 4 error(s)\n'
module FSMoore_tb;


	reg clk;
	reg reset;
	reg nickel;
	reg dime;
	reg qtr;
	reg soda;
	reg diet;


	wire change;
	wire status;
	wire GiveDiet;
	wire GiveSoda;


	Moore uut (
		.clk(clk), 
		.reset(reset), 
		.nickel(nickel), 
		.dime(dime), 
		.qtr(qtr), 
		.change(change), 
		.status(status), 
		.soda(soda), 
		.diet(diet), 
		.GiveDiet(GiveDiet), 
		.GiveSoda(GiveSoda)
	);

	always begin
	clk = 1'b0;
	#50;
	clk = 1'b1;
	#50;
	end
	
	initial begin






		  clk = 0;
        reset = 0;
        nickel = 0;
        dime = 0;
        qtr = 0;
        soda = 0;
        diet = 0;




        #50;
        reset=1;
        #50;
        reset=0;
        #50;
		  
		  diet=1;
        qtr=0;
        dime=0;
        nickel=0;
        
		  #100;
        qtr=0;
        dime=1;
        nickel=0;
        
		  #100;
        qtr=0;
        dime=1;
        nickel=0;
        
		  #100;
        dime=1;
        nickel=0;
        qtr=0;
        
		  #100;
        dime=0;
        nickel=0;
        qtr=1;
        
		  #100;
        dime=0;
        nickel=0;
        qtr=0;

    end

endmodule
module FSMoore_tb;



	reg clk;
	reg reset;
	reg nickel;
	reg dime;
	reg qtr;
	reg soda;
	reg diet;


	wire change;
	wire status;
	wire GiveDiet;
	wire GiveSoda;


	Moore uut (
		.clk(clk), 
		.reset(reset), 
		.nickel(nickel), 
		.dime(dime), 
		.qtr(qtr), 
		.change(change), 
		.status(status), 
		.soda(soda), 
		.diet(diet), 
		.GiveDiet(GiveDiet), 
		.GiveSoda(GiveSoda)
	);

	always begin
	clk = 1'b0;
	#50;
	clk = 1'b1;
	#50;
	end
	
	initial begin






		  clk = 0;
        reset = 0;
        nickel = 0;
        dime = 0;
        qtr = 0;
        soda = 0;
        diet = 0;




        #50;
        reset=1;
        #50;
        reset=0;
        #50;
		  
		  diet=1;
        qtr=0;
        dime=0;
        nickel=0;
        
		  #100;
        qtr=0;
        dime=1;
        nickel=0;
        
		  #100;
        qtr=0;
        dime=1;
        nickel=0;
        
		  #100;
        dime=1;
        nickel=0;
        qtr=0;
        
		  #100;
        dime=0;
        nickel=0;
        qtr=1;
        
		  #100;
        dime=0;
        nickel=0;
        qtr=0;

    end

endmodule