data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v
1: b'%Warning-MULTITOP: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:155: Multiple top level modules\n                                                                                                                          : ... Suggest see manual; fix the duplicates, or use --top-module to select top.\n                   ... Use "/* verilator lint_off MULTITOP */" and lint_on around source to disable this message.\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x18x1024\'\nmodule BRAM_SDP_SPLIT_2x18x1024 (\n       ^~~~~~~~~~~~~~~~~~~~~~~~\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x16x1024\'\nmodule BRAM_SDP_SPLIT_2x16x1024 (\n       ^~~~~~~~~~~~~~~~~~~~~~~~\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x9x2048\'\nmodule BRAM_SDP_SPLIT_2x9x2048 (\n       ^~~~~~~~~~~~~~~~~~~~~~~\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x8x2048\'\nmodule BRAM_SDP_SPLIT_2x8x2048 (\n       ^~~~~~~~~~~~~~~~~~~~~~~\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x4x4096\'\nmodule BRAM_SDP_SPLIT_2x4x4096 (\n       ^~~~~~~~~~~~~~~~~~~~~~~\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x2x8192\'\nmodule BRAM_SDP_SPLIT_2x2x8192 (\n       ^~~~~~~~~~~~~~~~~~~~~~~\n                                                                                                                          : ... Top module \'BRAM_SDP_SPLIT_2x1x16384\'\nmodule BRAM_SDP_SPLIT_2x1x16384 (\n       ^~~~~~~~~~~~~~~~~~~~~~~~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:84: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_0\' generates 16 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x16x1024.BRAM_SDP_SPLIT_2x16x1024\n   .rq(rq_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:87: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_0\' generates 16 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x16x1024.BRAM_SDP_SPLIT_2x16x1024\n   .wd(wd_0));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:93: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_1\' generates 16 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x16x1024.BRAM_SDP_SPLIT_2x16x1024\n   .rq(rq_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:96: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_1\' generates 16 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x16x1024.BRAM_SDP_SPLIT_2x16x1024\n   .wd(wd_1));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:83: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_0\' generates 11 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .ra(ra_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:84: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_0\' generates 9 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .rq(rq_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:86: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_0\' generates 11 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .wa(wa_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:87: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_0\' generates 9 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .wd(wd_0));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:92: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_1\' generates 11 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .ra(ra_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:93: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_1\' generates 9 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .rq(rq_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:95: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_1\' generates 11 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .wa(wa_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:96: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_1\' generates 9 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x9x2048.BRAM_SDP_SPLIT_2x9x2048\n   .wd(wd_1));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:84: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_0\' generates 8 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x8x2048.BRAM_SDP_SPLIT_2x8x2048\n   .rq(rq_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:87: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_0\' generates 8 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x8x2048.BRAM_SDP_SPLIT_2x8x2048\n   .wd(wd_0));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:93: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_1\' generates 8 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x8x2048.BRAM_SDP_SPLIT_2x8x2048\n   .rq(rq_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:96: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_1\' generates 8 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x8x2048.BRAM_SDP_SPLIT_2x8x2048\n   .wd(wd_1));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:83: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_0\' generates 12 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .ra(ra_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:84: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_0\' generates 4 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .rq(rq_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:86: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_0\' generates 12 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .wa(wa_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:87: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_0\' generates 4 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .wd(wd_0));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:92: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_1\' generates 12 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .ra(ra_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:93: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_1\' generates 4 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .rq(rq_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:95: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_1\' generates 12 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .wa(wa_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:96: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_1\' generates 4 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x4x4096.BRAM_SDP_SPLIT_2x4x4096\n   .wd(wd_1));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:83: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_0\' generates 13 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .ra(ra_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:84: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_0\' generates 2 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .rq(rq_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:86: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_0\' generates 13 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .wa(wa_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:87: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_0\' generates 2 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .wd(wd_0));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:92: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_1\' generates 13 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .ra(ra_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:93: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_1\' generates 2 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .rq(rq_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:95: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_1\' generates 13 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .wa(wa_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:96: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_1\' generates 2 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x2x8192.BRAM_SDP_SPLIT_2x2x8192\n   .wd(wd_1));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:83: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_0\' generates 14 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .ra(ra_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:84: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_0\' generates 1 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .rq(rq_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:86: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_0\' generates 14 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .wa(wa_0),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:87: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_0\' generates 1 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .wd(wd_0));\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:92: Input port connection \'ra\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'ra_1\' generates 14 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .ra(ra_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:93: Output port connection \'rq\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'rq_1\' generates 1 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .rq(rq_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:95: Input port connection \'wa\' expects 10 bits on the pin connection, but pin connection\'s VARREF \'wa_1\' generates 14 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .wa(wa_1),\n    ^~\n%Warning-WIDTH: data/full_repos/permissive/220229160/ql-qlf-plugin/tests/qlf_k6n10f/bram_sdp_split/bram_sdp_split.v:96: Input port connection \'wd\' expects 18 bits on the pin connection, but pin connection\'s VARREF \'wd_1\' generates 1 bits.\n                                                                                                                      : ... In instance BRAM_SDP_SPLIT_2x1x16384.BRAM_SDP_SPLIT_2x1x16384\n   .wd(wd_1));\n    ^~\n%Error: Exiting due to 41 warning(s)\n'
module BRAM_SDP_SPLIT #(parameter AWIDTH = 9,
parameter DWIDTH = 32)(
	clk,
	rce,
	ra,
	rq,
	wce,
	wa,
	wd
);

	input			clk;
	input                   rce;
	input      [AWIDTH-1:0] ra;
	output reg [DWIDTH-1:0] rq;
	input                   wce;
	input      [AWIDTH-1:0] wa;
	input      [DWIDTH-1:0] wd;

	reg        [DWIDTH-1:0] memory[0:(1<<AWIDTH)-1];

	always @(posedge clk) begin
		if (rce)
			rq <= memory[ra];

		if (wce)
			memory[wa] <= wd;
	end

	integer i;
	initial
	begin
		for(i = 0; i < (1<<AWIDTH)-1; i = i + 1)
			memory[i] = 0;
	end

endmodule
module BRAM_SDP_SPLIT #(parameter AWIDTH = 9,
parameter DWIDTH = 32)(
	clk,
	rce,
	ra,
	rq,
	wce,
	wa,
	wd
);


	input			clk;
	input                   rce;
	input      [AWIDTH-1:0] ra;
	output reg [DWIDTH-1:0] rq;
	input                   wce;
	input      [AWIDTH-1:0] wa;
	input      [DWIDTH-1:0] wd;

	reg        [DWIDTH-1:0] memory[0:(1<<AWIDTH)-1];

	always @(posedge clk) begin
		if (rce)
			rq <= memory[ra];

		if (wce)
			memory[wa] <= wd;
	end

	integer i;
	initial
	begin
		for(i = 0; i < (1<<AWIDTH)-1; i = i + 1)
			memory[i] = 0;
	end

endmodule