data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v
1: b'%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:251: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah, data[3:0], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:252: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+1, data[7:4], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:253: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+2, data[11:8], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:254: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+3, data[15:12], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:255: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+4, data[19:16], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:256: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+5, data[23:20], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:257: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+6, data[27:24], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:258: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+7, data[31:28], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:259: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+8, data[35:32], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:260: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+9, data[39:36], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:261: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+10, data[43:40], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:262: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+11, data[47:44], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:263: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+12, data[51:48], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:264: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+13, data[55:52], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:265: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+14, data[59:56], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:266: Unsupported or unknown PLI call: $read_mem\n $read_mem(datah+15, data[63:60], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:267: Unsupported or unknown PLI call: $read_mem\n $read_mem(ecch,  data[67:64], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:268: Unsupported or unknown PLI call: $read_mem\n $read_mem(ecch+1, data[71:68], faddr, cs_sel);\n ^~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:287: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah, data[3:0], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:288: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+1, data[7:4], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:289: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+2, data[11:8], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:290: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+3, data[15:12], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:291: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+4, data[19:16], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:292: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+5, data[23:20], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:293: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+6, data[27:24], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:294: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+7, data[31:28], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:295: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+8, data[35:32], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:296: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+9, data[39:36], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:297: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+10, data[43:40], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:298: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+11, data[47:44], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:299: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+12, data[51:48], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:300: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+13, data[55:52], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:301: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+14, data[59:56], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:302: Unsupported or unknown PLI call: $write_mem\n $write_mem(datah+15, data[63:60], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:303: Unsupported or unknown PLI call: $write_mem\n $write_mem(ecch, data[67:64], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: data/full_repos/permissive/458737381/src/verilog-parser/tests/dimm.v:304: Unsupported or unknown PLI call: $write_mem\n $write_mem(ecch+1, data[71:68], faddr, cs_sel);\n ^~~~~~~~~~\n%Error: Exiting due to 36 error(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
function [71:0] Read_mem;

     input [(total_width-1):0] faddr;
     reg [71:0] data;

     begin
	$read_mem(datah,	data[3:0],	faddr, cs_sel);
	$read_mem(datah+1,	data[7:4],	faddr, cs_sel);
	$read_mem(datah+2,	data[11:8],	faddr, cs_sel);
	$read_mem(datah+3,	data[15:12],	faddr, cs_sel);
	$read_mem(datah+4,	data[19:16],	faddr, cs_sel);
	$read_mem(datah+5,	data[23:20],	faddr, cs_sel);
	$read_mem(datah+6,	data[27:24],	faddr, cs_sel);
	$read_mem(datah+7,	data[31:28],	faddr, cs_sel);
	$read_mem(datah+8,	data[35:32],	faddr, cs_sel);
	$read_mem(datah+9,	data[39:36],	faddr, cs_sel);
	$read_mem(datah+10,	data[43:40],	faddr, cs_sel);
	$read_mem(datah+11,	data[47:44],	faddr, cs_sel);
	$read_mem(datah+12,	data[51:48],	faddr, cs_sel);
	$read_mem(datah+13,	data[55:52],	faddr, cs_sel);
	$read_mem(datah+14,	data[59:56],	faddr, cs_sel);
	$read_mem(datah+15,	data[63:60],	faddr, cs_sel);
	$read_mem(ecch,		data[67:64],	faddr, cs_sel);
	$read_mem(ecch+1,	data[71:68],	faddr, cs_sel);

        Read_mem = data;
`ifdef DIMM_DEB
	$display("%d: %m dimm Read_mem addr %x Data %x \n",$time,faddr,data);
`endif
     end

   endfunction
function [71:0] Read_mem;


     input [(total_width-1):0] faddr;
     reg [71:0] data;

     begin
	$read_mem(datah,	data[3:0],	faddr, cs_sel);
	$read_mem(datah+1,	data[7:4],	faddr, cs_sel);
	$read_mem(datah+2,	data[11:8],	faddr, cs_sel);
	$read_mem(datah+3,	data[15:12],	faddr, cs_sel);
	$read_mem(datah+4,	data[19:16],	faddr, cs_sel);
	$read_mem(datah+5,	data[23:20],	faddr, cs_sel);
	$read_mem(datah+6,	data[27:24],	faddr, cs_sel);
	$read_mem(datah+7,	data[31:28],	faddr, cs_sel);
	$read_mem(datah+8,	data[35:32],	faddr, cs_sel);
	$read_mem(datah+9,	data[39:36],	faddr, cs_sel);
	$read_mem(datah+10,	data[43:40],	faddr, cs_sel);
	$read_mem(datah+11,	data[47:44],	faddr, cs_sel);
	$read_mem(datah+12,	data[51:48],	faddr, cs_sel);
	$read_mem(datah+13,	data[55:52],	faddr, cs_sel);
	$read_mem(datah+14,	data[59:56],	faddr, cs_sel);
	$read_mem(datah+15,	data[63:60],	faddr, cs_sel);
	$read_mem(ecch,		data[67:64],	faddr, cs_sel);
	$read_mem(ecch+1,	data[71:68],	faddr, cs_sel);

        Read_mem = data;
`ifdef DIMM_DEB
	$display("%d: %m dimm Read_mem addr %x Data %x \n",$time,faddr,data);
`endif
     end

   endfunction