data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v
 line:560: before: "$"
1: b'%Error: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:26: Cannot find include file: ee577bHw2q1a.v\n`include "ee577bHw2q1a.v" \n         ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/20688874/coding_theory,data/full_repos/permissive/20688874/ee577bHw2q1a.v\n             data/full_repos/permissive/20688874/coding_theory,data/full_repos/permissive/20688874/ee577bHw2q1a.v.v\n             data/full_repos/permissive/20688874/coding_theory,data/full_repos/permissive/20688874/ee577bHw2q1a.v.sv\n             ee577bHw2q1a.v\n             ee577bHw2q1a.v.v\n             ee577bHw2q1a.v.sv\n             obj_dir/ee577bHw2q1a.v\n             obj_dir/ee577bHw2q1a.v.v\n             obj_dir/ee577bHw2q1a.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:61: Unsupported: Ignoring delay on this delayed statement.\n     #10 clk = 0;\n     ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:62: Unsupported: Ignoring delay on this delayed statement.\n     #10 clk = 1;\n     ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:101: Unsupported: Ignoring delay on this delayed statement.\n  #60\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:108: Unsupported: Ignoring delay on this delayed statement.\n  #40\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:114: Unsupported: Ignoring delay on this delayed statement.\n  #200\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:120: Unsupported: Ignoring delay on this delayed statement.\n  #40\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:125: Unsupported: Ignoring delay on this delayed statement.\n  #40\n  ^\n%Error: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:124: Unsupported: wait statements\n  wait (done)\n  ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:131: Unsupported: Ignoring delay on this delayed statement.\n  #40\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:136: Unsupported: Ignoring delay on this delayed statement.\n  #40\n  ^\n%Error: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:135: Unsupported: wait statements\n  wait (done)\n  ^~~~\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:142: Unsupported: Ignoring delay on this delayed statement.\n  #40\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/20688874/coding_theory/ee577bHw2q1atb.v:146: Unsupported: Ignoring delay on this delayed statement.\n  #200\n  ^\n%Error: Exiting due to 3 error(s), 11 warning(s)\n'
module tbfsm();

	

	wire disp_Q,disp_D,disp_N,disp_P,done;
	

	reg [6:0] money,price;
	reg start,clk,reset;
	
	
	

	always begin

    	#10 clk = 0;
    	#10 clk = 1;
    end	
	
	

	fsmVendingMachine fsm (


		disp_Q,disp_D,disp_N,disp_P,done,money,price,start,clk,reset);
	
	
	
	

	initial
	begin

		$display($time, " << Starting the simulation >>");
		money = 7'd75;
		price = 7'd64;
		#60

		money = 7'd75;
		price = 7'd64;
		reset = 0;
		start = 1;

		#40
		start = 0;
		
		
		

		#200
		money = 7'd100;
		price = 7'd54;
		reset = 0;
		start = 1;

		#40
		start = 0;
		

		wait (done)
		#40
		money = 7'd50;
		price = 7'd27;
		reset = 0;
		start = 1;

		#40
		start = 0;
		

		wait (done)
		#40
		money = 7'd55;
		price = 7'd63;
		reset = 0;
		start = 1;

		#40
		start = 0;
		

		#200
		
		$display($time, " << Finishing the simulation >>");
		$finish;
	end

endmodule
module tbfsm();


	

	wire disp_Q,disp_D,disp_N,disp_P,done;
	

	reg [6:0] money,price;
	reg start,clk,reset;
	
	
	

	always begin

    	#10 clk = 0;
    	#10 clk = 1;
    end	
	
	

	fsmVendingMachine fsm (


		disp_Q,disp_D,disp_N,disp_P,done,money,price,start,clk,reset);
	
	
	
	

	initial
	begin

		$display($time, " << Starting the simulation >>");
		money = 7'd75;
		price = 7'd64;
		#60

		money = 7'd75;
		price = 7'd64;
		reset = 0;
		start = 1;

		#40
		start = 0;
		
		
		

		#200
		money = 7'd100;
		price = 7'd54;
		reset = 0;
		start = 1;

		#40
		start = 0;
		

		wait (done)
		#40
		money = 7'd50;
		price = 7'd27;
		reset = 0;
		start = 1;

		#40
		start = 0;
		

		wait (done)
		#40
		money = 7'd55;
		price = 7'd63;
		reset = 0;
		start = 1;

		#40
		start = 0;
		

		#200
		
		$display($time, " << Finishing the simulation >>");
		$finish;
	end

endmodule