data/full_repos/permissive/138243369/TB_vgadriver.v
1: b'%Error: data/full_repos/permissive/138243369/TB_vgadriver.v:40: Unsupported or unknown PLI call: $dumpfile\n $dumpfile("TB_vgadriver.vcd");\n ^~~~~~~~~\n%Error: data/full_repos/permissive/138243369/TB_vgadriver.v:41: Unsupported or unknown PLI call: $dumpvars\n $dumpvars(3, TB_vgadriver);\n ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:44: Unsupported: Ignoring delay on this delayed statement.\n #1 clk_50 = ~clk_50;  \n ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:61: Unsupported: Ignoring delay on this delayed statement.\n #2; change_button = 0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:62: Unsupported: Ignoring delay on this delayed statement.\n #3; change_button = 1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:63: Unsupported: Ignoring delay on this delayed statement.\n #1520; change_button = 0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:66: Unsupported: Ignoring delay on this delayed statement.\n #5; North=1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:67: Unsupported: Ignoring delay on this delayed statement.\n #5; South=1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:68: Unsupported: Ignoring delay on this delayed statement.\n #2; South=0;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/138243369/TB_vgadriver.v:69: Unsupported: Ignoring delay on this delayed statement.\n #3000; $finish;   \n ^\n%Error: Exiting due to 2 error(s), 8 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module TB_vgadriver;



   reg change_button;

   reg East, West, North, South;
   reg SW0, SW1, SW2, SW3;

   wire VGA_R;
   wire VGA_G;
   wire VGA_B;
   wire VGA_HS;
   wire VGA_VS;

   reg clk_50;


   vgadriver UUT(
		.East(East),
		.West(West),
		.North(North),
		.South(South),
		.SW0(SW0),
		.SW1(SW1),
		.SW2(SW2),
		.SW3(SW3),
		.func_switch(change_button),
		.sysclk(clk_50),
		.VGA_R(VGA_R),
		.VGA_G(VGA_G),
		.VGA_B(VGA_B),
		.VGA_HS(VGA_HS),
		.VGA_VS(VGA_VS));


initial begin
	$dumpfile("TB_vgadriver.vcd");
	$dumpvars(3, TB_vgadriver);
	clk_50=0;
forever 
	#1 clk_50 = ~clk_50;
end

initial begin
	change_button = 0;
	East = 0;
	West = 0;
	North = 0;
	South = 0;
	SW0 = 0;
	SW1 = 0;
	SW2 = 0;
	SW3 = 0;
end


initial begin
	#2; change_button = 0;
	#3; change_button = 1;
	#1520; change_button = 0;


	#5; North=1;
	#5; South=1;
	#2; South=0;
	#3000; $finish;
end

endmodule
module TB_vgadriver;




   reg change_button;

   reg East, West, North, South;
   reg SW0, SW1, SW2, SW3;

   wire VGA_R;
   wire VGA_G;
   wire VGA_B;
   wire VGA_HS;
   wire VGA_VS;

   reg clk_50;


   vgadriver UUT(
		.East(East),
		.West(West),
		.North(North),
		.South(South),
		.SW0(SW0),
		.SW1(SW1),
		.SW2(SW2),
		.SW3(SW3),
		.func_switch(change_button),
		.sysclk(clk_50),
		.VGA_R(VGA_R),
		.VGA_G(VGA_G),
		.VGA_B(VGA_B),
		.VGA_HS(VGA_HS),
		.VGA_VS(VGA_VS));


initial begin
	$dumpfile("TB_vgadriver.vcd");
	$dumpvars(3, TB_vgadriver);
	clk_50=0;
forever 
	#1 clk_50 = ~clk_50;
end

initial begin
	change_button = 0;
	East = 0;
	West = 0;
	North = 0;
	South = 0;
	SW0 = 0;
	SW1 = 0;
	SW2 = 0;
	SW3 = 0;
end


initial begin
	#2; change_button = 0;
	#3; change_button = 1;
	#1520; change_button = 0;


	#5; North=1;
	#5; South=1;
	#2; South=0;
	#3000; $finish;
end

endmodule