data/full_repos/permissive/21051978/processor/seq_detectortb2.v
 line:672: before: "$"
1: b'%Error: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:26: Cannot find include file: seq_detector.v\n`include "seq_detector.v" \n         ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/21051978/processor,data/full_repos/permissive/21051978/seq_detector.v\n             data/full_repos/permissive/21051978/processor,data/full_repos/permissive/21051978/seq_detector.v.v\n             data/full_repos/permissive/21051978/processor,data/full_repos/permissive/21051978/seq_detector.v.sv\n             seq_detector.v\n             seq_detector.v.v\n             seq_detector.v.sv\n             obj_dir/seq_detector.v\n             obj_dir/seq_detector.v.v\n             obj_dir/seq_detector.v.sv\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:91: Unsupported: Ignoring delay on this delayed statement.\n     #5 clock = 0;\n     ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:92: Unsupported: Ignoring delay on this delayed statement.\n     #5 clock = 1;\n     ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:148: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:154: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:160: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:166: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:172: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:178: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:184: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:190: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:196: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:202: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:208: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:214: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:220: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:228: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:234: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:240: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:246: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:252: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:258: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:264: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:272: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:278: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:284: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:290: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:296: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:302: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:308: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:314: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:320: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:326: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:332: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:338: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:344: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:350: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:356: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:362: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:368: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:374: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:380: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:386: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:395: Unsupported: Ignoring delay on this delayed statement.\n   #10\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:404: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:410: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:416: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:422: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:428: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:434: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:440: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:446: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:452: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:458: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:464: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:470: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:476: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:482: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:488: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:494: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:505: Unsupported: Ignoring delay on this delayed statement.\n   #10\n   ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:515: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:521: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:527: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:533: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:539: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:545: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:551: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:558: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:564: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:570: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:576: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:582: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:588: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:594: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:600: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:607: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:613: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:619: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:625: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:631: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:637: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:643: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:649: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:656: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:661: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:666: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:672: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:678: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:684: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:690: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:696: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:703: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:709: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:715: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:721: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:727: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:733: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:739: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:745: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:752: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:758: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:764: Unsupported: Ignoring delay on this delayed statement.\n  #10\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/21051978/processor/seq_detectortb2.v:772: Unsupported: Ignoring delay on this delayed statement.\n  #30\n  ^\n%Error: Exiting due to 1 error(s), 103 warning(s)\n'
module tb_seq_detect();

	

	wire error,match_op;
	
	
	
	
	
	
	

	

	reg inp,clock,reset;
	
	
	
	
	
	
	
	
	


	integer count;
	
	
	
	
	
	
	
	
	
	
	
	

	

	always begin

    	#5 clock = 0;
    	#5 clock = 1;
    end	
	
	
	
	
	
	
	
	
	

	

	seq_detect sqd (


		inp,clock,reset,error,match_op);
	
	
	
	
	
	

	

	initial
	begin

		$display($time, " << Starting the simulation >>");

		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd1;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'dz;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
				

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10

$display($time, " << Start of correct sequence >>");
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		$display($time, " << End of correct sequence >>");
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd1;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'dz;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

	
		for(count=0;count<5'd24;count=count+1)
		begin
			#10
			$display("Next");
			inp=$random;
			reset=1'd0;
		end
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		


		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		
		
		

	
		for(count=0;count<3'd5;count=count+1)
		begin
			#10
			$display("Next");
			inp=$random;
			reset=1'd0;
		end
		

		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		
		
		

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

endmodule
module tb_seq_detect();


	

	wire error,match_op;
	
	
	
	
	
	
	

	

	reg inp,clock,reset;
	
	
	
	
	
	
	
	
	


	integer count;
	
	
	
	
	
	
	
	
	
	
	
	

	

	always begin

    	#5 clock = 0;
    	#5 clock = 1;
    end	
	
	
	
	
	
	
	
	
	

	

	seq_detect sqd (


		inp,clock,reset,error,match_op);
	
	
	
	
	
	

	

	initial
	begin

		$display($time, " << Starting the simulation >>");

		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd1;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'dz;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
				

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10

$display($time, " << Start of correct sequence >>");
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		$display($time, " << End of correct sequence >>");
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd1;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'dx;
		reset = 1'd0;
		
		

		#10
		inp = 1'dz;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

	
		for(count=0;count<5'd24;count=count+1)
		begin
			#10
			$display("Next");
			inp=$random;
			reset=1'd0;
		end
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		


		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		
		
		

	
		for(count=0;count<3'd5;count=count+1)
		begin
			#10
			$display("Next");
			inp=$random;
			reset=1'd0;
		end
		

		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		
		

		#10
		inp = 1'd1;
		reset = 1'd0;
		

		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		

		#10
		inp = 1'd0;
		reset = 1'd0;
		
		
		
		

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

endmodule