data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:31: Unsupported: Ignoring delay on this delayed statement.\n  #5; clk = ~clk;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:35: Unsupported: Ignoring delay on this delayed statement.\n  clk = 0; arst = 1; din = 0; #10\n                              ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:36: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:37: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:38: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:39: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:40: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:41: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:42: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:43: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:44: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:45: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;  \n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:46: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10; \n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:47: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10; \n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:48: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:49: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:50: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:51: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;  \n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:52: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:53: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:54: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:55: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:56: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:57: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:58: Unsupported: Ignoring delay on this delayed statement.\n  din = 1; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:59: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;\n           ^\n%Warning-STMTDLY: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:60: Unsupported: Ignoring delay on this delayed statement.\n  din = 0; #10;  \n           ^\n%Error: data/full_repos/permissive/455874613/Projects/Module02/GasEngineUtils.v:28: Cannot find file containing module: \'GasDetectorSensor\'\n GasDetectorSensor gds(arst, clk, din, dout);\n ^~~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/455874613/Projects/Module02,data/full_repos/permissive/455874613/GasDetectorSensor\n             data/full_repos/permissive/455874613/Projects/Module02,data/full_repos/permissive/455874613/GasDetectorSensor.v\n             data/full_repos/permissive/455874613/Projects/Module02,data/full_repos/permissive/455874613/GasDetectorSensor.sv\n             GasDetectorSensor\n             GasDetectorSensor.v\n             GasDetectorSensor.sv\n             obj_dir/GasDetectorSensor\n             obj_dir/GasDetectorSensor.v\n             obj_dir/GasDetectorSensor.sv\n%Error: Exiting due to 1 error(s), 27 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module GasEngineUtils();

	reg arst, clk, din;
	wire [2:0]dout;
	
	GasDetectorSensor gds(arst, clk, din, dout);
	
	always begin
		#5; clk = ~clk;
	end
		
	initial begin
		clk = 0; arst = 1; din = 0; #10
		din = 1; #10;
		din = 0; #10;
		din = 1; #10;
		din = 1; #10;
		din = 1; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10; 
		din = 1; #10; 
		din = 0; #10;
		din = 0; #10;
		din = 1; #10;
		din = 1; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10;
	end
endmodule
module GasEngineUtils();


	reg arst, clk, din;
	wire [2:0]dout;
	
	GasDetectorSensor gds(arst, clk, din, dout);
	
	always begin
		#5; clk = ~clk;
	end
		
	initial begin
		clk = 0; arst = 1; din = 0; #10
		din = 1; #10;
		din = 0; #10;
		din = 1; #10;
		din = 1; #10;
		din = 1; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10; 
		din = 1; #10; 
		din = 0; #10;
		din = 0; #10;
		din = 1; #10;
		din = 1; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10;
		din = 1; #10;
		din = 0; #10;
		din = 0; #10;
	end
endmodule