data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v
1: b'%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:95: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:97: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:105: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:107: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:109: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:111: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:112: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:114: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:116: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:120: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:122: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:124: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:126: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:127: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:129: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:131: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:135: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:137: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:139: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:141: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:142: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:144: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:146: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:151: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:153: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:155: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:157: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:158: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:160: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:162: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:167: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:169: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:171: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:173: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:174: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:176: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:178: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:183: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:185: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:187: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:189: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:190: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:192: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:194: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:199: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:201: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:203: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:205: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:206: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:208: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:210: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:215: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:217: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:219: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:221: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:222: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:224: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:226: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:231: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:233: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:235: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:237: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:238: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:240: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:242: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:247: Unsupported: Ignoring delay on this delayed statement.\n  while(busy == 0) #10;\n                   ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:249: Unsupported: Ignoring delay on this delayed statement.\n  #100;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:251: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:253: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 0 ) #10;\n                      ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:254: Unsupported: Ignoring delay on this delayed statement.\n  #300;  \n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:256: Unsupported: Ignoring delay on this delayed statement.\n  while(en_cnt == 1) #10;\n                     ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:261: Unsupported: Ignoring delay on this delayed statement.\n  #100;\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:258: Unsupported: Ignoring delay on this delayed statement.\n  #50\n  ^\n%Warning-STMTDLY: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:266: Unsupported: Ignoring delay on this delayed statement.\n always #5 clk = !clk;  \n        ^\n%Error: data/full_repos/permissive/43856783/j1_soc/hdl/LCD/Test_LCD.v:54: Cannot find file containing module: \'LCD\'\n LCD uut (\n ^~~\n        ... Looked in:\n             data/full_repos/permissive/43856783/j1_soc/hdl/LCD,data/full_repos/permissive/43856783/LCD\n             data/full_repos/permissive/43856783/j1_soc/hdl/LCD,data/full_repos/permissive/43856783/LCD.v\n             data/full_repos/permissive/43856783/j1_soc/hdl/LCD,data/full_repos/permissive/43856783/LCD.sv\n             LCD\n             LCD.v\n             LCD.sv\n             obj_dir/LCD\n             obj_dir/LCD.v\n             obj_dir/LCD.sv\n%Error: Exiting due to 1 error(s), 74 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module Test_LCD;


	reg clk;
	reg rst;
	
	reg en;
	reg reset;
	reg set;
	reg clear;
	reg off;
	reg on;
	reg entry_mode;
	reg cursor;
	reg w_char;
	reg int_cnt;
	reg [7:0] ascii_char;
	reg [7:0] cursor_pos;
	


	wire [15:0] limit_cnt;
	wire en_cnt;
	wire rs;
	wire e;
	wire [7:0] data;
	wire busy;


	LCD uut (
		.clk(clk), 
		.rst(rst), 
		.en(en), 
		.reset(reset), 
		.set(set), 
		.clear(clear), 
		.off(off), 
		.on(on), 
		.entry_mode(entry_mode), 
		.cursor(cursor), 
		.w_char(w_char), 
		.int_cnt(int_cnt), 
		.limit_cnt(limit_cnt), 
		.en_cnt(en_cnt), 
		.rs(rs), 
		.e(e), 
		.data(data),
		.ascii_char(ascii_char),
		.cursor_pos(cursor_pos),
		.busy(busy)
	);

	initial begin

		clk = 0;
		rst = 1;
		en = 0;
		reset = 0;
		set = 0;
		clear = 0;
		off = 0;
		on = 0;
		entry_mode = 0;
		cursor = 0;
		w_char = 0;
		int_cnt = 0;
		ascii_char = 0;
		cursor_pos = 0;


		#100;
		rst = 0;
		#100;
        

		



		reset = 1;		
		while(busy == 0) #10;
		reset = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		reset = 1;		
		while(busy == 0) #10;
		reset = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		reset = 1;		
		while(busy == 0) #10;
		reset = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		set = 1;		
		while(busy == 0) #10;
		set = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		off = 1;		
		while(busy == 0) #10;
		off = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		clear = 1;		
		while(busy == 0) #10;
		clear = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		entry_mode = 1;		
		while(busy == 0) #10;
		entry_mode = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		on	= 1;		
		while(busy == 0) #10;
		on = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		cursor = 1;
		cursor_pos = 8'h40;
		while(busy == 0) #10;
		cursor = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		w_char = 1;
		ascii_char = "J";
		while(busy == 0) #10;
		w_char = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		#100;
		reset = 0;		
		
	end
	
	always #5 clk = !clk;
      
endmodule
module Test_LCD;



	reg clk;
	reg rst;
	
	reg en;
	reg reset;
	reg set;
	reg clear;
	reg off;
	reg on;
	reg entry_mode;
	reg cursor;
	reg w_char;
	reg int_cnt;
	reg [7:0] ascii_char;
	reg [7:0] cursor_pos;
	


	wire [15:0] limit_cnt;
	wire en_cnt;
	wire rs;
	wire e;
	wire [7:0] data;
	wire busy;


	LCD uut (
		.clk(clk), 
		.rst(rst), 
		.en(en), 
		.reset(reset), 
		.set(set), 
		.clear(clear), 
		.off(off), 
		.on(on), 
		.entry_mode(entry_mode), 
		.cursor(cursor), 
		.w_char(w_char), 
		.int_cnt(int_cnt), 
		.limit_cnt(limit_cnt), 
		.en_cnt(en_cnt), 
		.rs(rs), 
		.e(e), 
		.data(data),
		.ascii_char(ascii_char),
		.cursor_pos(cursor_pos),
		.busy(busy)
	);

	initial begin

		clk = 0;
		rst = 1;
		en = 0;
		reset = 0;
		set = 0;
		clear = 0;
		off = 0;
		on = 0;
		entry_mode = 0;
		cursor = 0;
		w_char = 0;
		int_cnt = 0;
		ascii_char = 0;
		cursor_pos = 0;


		#100;
		rst = 0;
		#100;
        

		



		reset = 1;		
		while(busy == 0) #10;
		reset = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		reset = 1;		
		while(busy == 0) #10;
		reset = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		reset = 1;		
		while(busy == 0) #10;
		reset = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		set = 1;		
		while(busy == 0) #10;
		set = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		off = 1;		
		while(busy == 0) #10;
		off = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		clear = 1;		
		while(busy == 0) #10;
		clear = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		entry_mode = 1;		
		while(busy == 0) #10;
		entry_mode = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

	
		on	= 1;		
		while(busy == 0) #10;
		on = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		cursor = 1;
		cursor_pos = 8'h40;
		while(busy == 0) #10;
		cursor = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		w_char = 1;
		ascii_char = "J";
		while(busy == 0) #10;
		w_char = 0;
		#100;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		while(en_cnt == 0 ) #10;
		#300;
		int_cnt = 1;
		while(en_cnt == 1) #10;
		int_cnt = 0;
		#50
		

		#100;
		reset = 0;		
		
	end
	
	always #5 clk = !clk;
      
endmodule