data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv
1: b'%Warning-STMTDLY: data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv:16: Unsupported: Ignoring delay on this delayed statement.\n forever #(0.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/456528918/RTL/tb_vcs/tb_soc.sv:25: Unsupported: Ignoring delay on this delayed statement.\n #2.5;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv:27: Unsupported: Ignoring delay on this delayed statement.\n #2;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv:35: Unsupported: Ignoring delay on this delayed statement.\n #1;\n ^\n%Warning-STMTDLY: data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv:37: Unsupported: Ignoring delay on this delayed statement.\n #50;\n ^\n%Error: data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv:55: Unsupported or unknown PLI call: $fsdbDumpfile\n $fsdbDumpfile("tb.fsdb");\n ^~~~~~~~~~~~~\n%Error: data/full_repos/permissive/456528918/RTL/tb_vcs/tb_soc.sv:56: Unsupported or unknown PLI call: $fsdbDumpvars\n $fsdbDumpvars;\n ^~~~~~~~~~~~~\n%Error: Exiting due to 2 error(s), 5 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module tb_soc();

parameter DW=16;
parameter RAM_AW=7;
parameter ROM_AW=7;


logic clk,rst;
logic [DW-1:0]gpio_in,gpio_out;



initial begin
	clk = '0;
	forever #(0.5) clk = ~clk;
end


task sysrst;
	input rstb;
begin
	rst = rstb;
	gpio_in = 0;
	#2.5;
	rst = ~rstb;
	#2;
end
endtask : sysrst



initial begin
	sysrst(1);
	#1;
	gpio_in=16'hFA1C;
	#50;
	$display("|-----------Yduck pass------------|");
	Yduckdisp();
	$finish;
end

SoC #(
		.RAM_AW(RAM_AW),
		.ROM_AW(ROM_AW)
	) test (
		.clk      (clk),
		.rst      (rst),
		.gpio_in  (gpio_in),
		.gpio_out (gpio_out)
	);


initial begin
	$fsdbDumpfile("tb.fsdb");
	$fsdbDumpvars;
end

task Yduckdisp;
begin
$display("                                                                                        `");
$display("                           '&@@@&$$$$&&&@########$'                                     `");
$display("                      .;|!;....................;&####$`                                 `");
$display("                   .|;.............................!$###|                               `");
$display("                `!!...................................!&#@;                             `");
$display("               ;!.......................................|@#&.                           `");
$display("             .|..........................................;&@@&.                         `");
$display("            '!.............................................!$@&'                        `");
$display("           '|&&!.............................................&@@;                       `");
$display("          .!&.';..............................................|&@;                      `");
$display("          .$$&&|...............................................!&@;                     `");
$display("          .&&&|;................................................|@&'                    `");
$display("         `;...................;&@@@@&|..........................;&@!                    `");
$display("         ';..................!$;   !@@$!.........................|&|.                   `");
$display("         .;;;|&&&&;.........;$$`   .&@@&;........................!&&.                   `");
$display(" .``   `;&&$|!!!!|&!........!$#@|;&@@@#$;........................!&|.                   `");
$display("'$&|!;!!!!!!!!!!!!||;........|@@@@$&&@&|.........................|&;    `'`             `");
$display(" .|$!..!!!!!!!!!!!!||;........!&@@$|$$!.........................;$$$@##@&&&@@;          `");
$display("    '&$!.;!!!!!!!!!!!&|;..........;.............................&##&!.......!$&.        `");
$display("       '|||;;!!!!!!!!!!|&$|;...................................|&&............&&;       `");
$display("      .|&@@@@&!;!!!!!!!!!!!!!!!!!!|&|;........................&@&..............&&.      `");
$display("     .;!&@#@&$$$&|!!!!!!!!!!!!!!!!!!||;.....................;$@|...............;$|.     `");
$display("      `!!|$@@&$$&&$$&!!!!!!!!!!!!!!!&|....................;&@$;.................|&.     `");
$display("        `!!!!||&&&&&|||!!!!!!!!!!!|&!...................;$@$;...................!&;     `");
$display("           ;@&&$&&&&|||&$$&&&&$|!;...................;|&@&;.....................!$!     `");
$display("         `&$;........;&$|;.......................;!$@&|;........................!$!     `");
$display("        '$|..............;!&$$&$$$&|;.....;!|$&@$|;.............................!&!     `");
$display("       '$|......................................................................|$.     `");
$display("      .&&;......................................................................&&`     `");
$display("      .&|..............................................................;;......!$;      `");
$display("      ;&|............................................................!$$$&!....&|.      `");
$display("      .&|.......................................................;|&$&!..|&|...||`       `");
$display("      `&&;..............................................................&&|..!&'        `");
$display("       .$|.............................................................!$&;.!&'         `");
$display("        ;$!........................................;;.................;$$;.|&`          `");
$display("         '$|.......................................;;................!$&;;&!            `");
$display("           !|......................................;!;.............;&$!.|&`             `");
$display("            .;;.....................................!!...........;$$!.|&`               `");
$display("               ';....................................;|&|!;!!&$$|;.;&!                  `");
$display("                 ..;............................................!$&`                    `");
$display("                    .!|!...................................;!$&|`                       `");
$display("                         '|$&!;......................;!&&&|'                            `");
$display("                                `.!&$$$$$$$$$$$$&!;'.                                   `");
$display("                                                                                        `");
end
endtask : Yduckdisp
endmodule
module tb_soc();


parameter DW=16;
parameter RAM_AW=7;
parameter ROM_AW=7;


logic clk,rst;
logic [DW-1:0]gpio_in,gpio_out;



initial begin
	clk = '0;
	forever #(0.5) clk = ~clk;
end


task sysrst;
	input rstb;
begin
	rst = rstb;
	gpio_in = 0;
	#2.5;
	rst = ~rstb;
	#2;
end
endtask : sysrst



initial begin
	sysrst(1);
	#1;
	gpio_in=16'hFA1C;
	#50;
	$display("|-----------Yduck pass------------|");
	Yduckdisp();
	$finish;
end

SoC #(
		.RAM_AW(RAM_AW),
		.ROM_AW(ROM_AW)
	) test (
		.clk      (clk),
		.rst      (rst),
		.gpio_in  (gpio_in),
		.gpio_out (gpio_out)
	);


initial begin
	$fsdbDumpfile("tb.fsdb");
	$fsdbDumpvars;
end

task Yduckdisp;
begin
$display("                                                                                        `");
$display("                           '&@@@&$$$$&&&@########$'                                     `");
$display("                      .;|!;....................;&####$`                                 `");
$display("                   .|;.............................!$###|                               `");
$display("                `!!...................................!&#@;                             `");
$display("               ;!.......................................|@#&.                           `");
$display("             .|..........................................;&@@&.                         `");
$display("            '!.............................................!$@&'                        `");
$display("           '|&&!.............................................&@@;                       `");
$display("          .!&.';..............................................|&@;                      `");
$display("          .$$&&|...............................................!&@;                     `");
$display("          .&&&|;................................................|@&'                    `");
$display("         `;...................;&@@@@&|..........................;&@!                    `");
$display("         ';..................!$;   !@@$!.........................|&|.                   `");
$display("         .;;;|&&&&;.........;$$`   .&@@&;........................!&&.                   `");
$display(" .``   `;&&$|!!!!|&!........!$#@|;&@@@#$;........................!&|.                   `");
$display("'$&|!;!!!!!!!!!!!!||;........|@@@@$&&@&|.........................|&;    `'`             `");
$display(" .|$!..!!!!!!!!!!!!||;........!&@@$|$$!.........................;$$$@##@&&&@@;          `");
$display("    '&$!.;!!!!!!!!!!!&|;..........;.............................&##&!.......!$&.        `");
$display("       '|||;;!!!!!!!!!!|&$|;...................................|&&............&&;       `");
$display("      .|&@@@@&!;!!!!!!!!!!!!!!!!!!|&|;........................&@&..............&&.      `");
$display("     .;!&@#@&$$$&|!!!!!!!!!!!!!!!!!!||;.....................;$@|...............;$|.     `");
$display("      `!!|$@@&$$&&$$&!!!!!!!!!!!!!!!&|....................;&@$;.................|&.     `");
$display("        `!!!!||&&&&&|||!!!!!!!!!!!|&!...................;$@$;...................!&;     `");
$display("           ;@&&$&&&&|||&$$&&&&$|!;...................;|&@&;.....................!$!     `");
$display("         `&$;........;&$|;.......................;!$@&|;........................!$!     `");
$display("        '$|..............;!&$$&$$$&|;.....;!|$&@$|;.............................!&!     `");
$display("       '$|......................................................................|$.     `");
$display("      .&&;......................................................................&&`     `");
$display("      .&|..............................................................;;......!$;      `");
$display("      ;&|............................................................!$$$&!....&|.      `");
$display("      .&|.......................................................;|&$&!..|&|...||`       `");
$display("      `&&;..............................................................&&|..!&'        `");
$display("       .$|.............................................................!$&;.!&'         `");
$display("        ;$!........................................;;.................;$$;.|&`          `");
$display("         '$|.......................................;;................!$&;;&!            `");
$display("           !|......................................;!;.............;&$!.|&`             `");
$display("            .;;.....................................!!...........;$$!.|&`               `");
$display("               ';....................................;|&|!;!!&$$|;.;&!                  `");
$display("                 ..;............................................!$&`                    `");
$display("                    .!|!...................................;!$&|`                       `");
$display("                         '|$&!;......................;!&&&|'                            `");
$display("                                `.!&$$$$$$$$$$$$&!;'.                                   `");
$display("                                                                                        `");
end
endtask : Yduckdisp
endmodule