data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v
1: b'%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:3: Cannot find include file: inc/Defines.vh\n`include "inc/Defines.vh" \n         ^~~~~~~~~~~~~~~~\n        ... Looked in:\n             data/full_repos/permissive/521867481/testbench,data/full_repos/permissive/521867481/inc/Defines.vh\n             data/full_repos/permissive/521867481/testbench,data/full_repos/permissive/521867481/inc/Defines.vh.v\n             data/full_repos/permissive/521867481/testbench,data/full_repos/permissive/521867481/inc/Defines.vh.sv\n             inc/Defines.vh\n             inc/Defines.vh.v\n             inc/Defines.vh.sv\n             obj_dir/inc/Defines.vh\n             obj_dir/inc/Defines.vh.v\n             obj_dir/inc/Defines.vh.sv\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:4: Cannot find include file: src/BaudRateGenerator.v\n`include "src/BaudRateGenerator.v" \n         ^~~~~~~~~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:8: Define or directive not defined: \'`CLOCK_RATE_100MHZ\'\n parameter CLOCK_RATE = `CLOCK_RATE_100MHZ;\n                        ^~~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:8: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n parameter CLOCK_RATE = `CLOCK_RATE_100MHZ;\n                                          ^\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:9: Define or directive not defined: \'`BAUD_RATE_115200\'\n parameter BAUD_RATE  = `BAUD_RATE_115200;\n                        ^~~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:9: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n parameter BAUD_RATE  = `BAUD_RATE_115200;\n                                         ^\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:10: Define or directive not defined: \'`OVERSAMPLING_16\'\n parameter OVERSAMPLING = `OVERSAMPLING_16;\n                          ^~~~~~~~~~~~~~~~\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:10: syntax error, unexpected \';\', expecting TYPE-IDENTIFIER\n parameter OVERSAMPLING = `OVERSAMPLING_16;\n                                          ^\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:28: Unsupported or unknown PLI call: $dumpfile\n  $dumpfile("test.vcd");\n  ^~~~~~~~~\n%Error: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:29: Unsupported or unknown PLI call: $dumpvars\n  $dumpvars(-1, test);\n  ^~~~~~~~~\n%Warning-STMTDLY: data/full_repos/permissive/521867481/testbench/BaudRateGenerator_tb.v:33: Unsupported: Ignoring delay on this delayed statement.\n  #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/521867481/testbench/BaudRateGenerator_tb.v:37: Unsupported: Ignoring delay on this delayed statement.\n  #1000 $finish;\n  ^\n%Error: Exiting due to 10 error(s), 2 warning(s)\n'
module tbBaudRateGenerator();

	parameter CLOCK_RATE	= `CLOCK_RATE_100MHZ;
	parameter BAUD_RATE		= `BAUD_RATE_115200;
	parameter OVERSAMPLING	= `OVERSAMPLING_16;

	reg clk = 0;

    wire rxClk;
    wire txClk;

    BaudRateGenerator #(
        .CLOCK_RATE(CLOCK_RATE),
        .BAUD_RATE(BAUD_RATE),
        .OVERSAMPLING(OVERSAMPLING)
    ) test (
        .clk(clk),
        .rxClk(rxClk),
        .txClk(txClk)
    );

	initial begin
		$dumpfile("test.vcd");
		$dumpvars(-1, test);
    end

	always begin
		#0.5 clk = ~clk;
	end

	initial begin
		#1000 $finish;
	end

endmodule
module tbBaudRateGenerator();


	parameter CLOCK_RATE	= `CLOCK_RATE_100MHZ;
	parameter BAUD_RATE		= `BAUD_RATE_115200;
	parameter OVERSAMPLING	= `OVERSAMPLING_16;

	reg clk = 0;

    wire rxClk;
    wire txClk;

    BaudRateGenerator #(
        .CLOCK_RATE(CLOCK_RATE),
        .BAUD_RATE(BAUD_RATE),
        .OVERSAMPLING(OVERSAMPLING)
    ) test (
        .clk(clk),
        .rxClk(rxClk),
        .txClk(txClk)
    );

	initial begin
		$dumpfile("test.vcd");
		$dumpvars(-1, test);
    end

	always begin
		#0.5 clk = ~clk;
	end

	initial begin
		#1000 $finish;
	end

endmodule