data/full_repos/permissive/20401628/i2c.v
1: b"%Error: data/full_repos/permissive/20401628/i2c.v:30: syntax error, unexpected byte, expecting IDENTIFIER or do or final\nwire [7:0] byte;\n           ^~~~\n%Error: data/full_repos/permissive/20401628/i2c.v:44: syntax error, unexpected byte, expecting TYPE-IDENTIFIER\nassign byte = inst[7:0];\n       ^~~~\n%Error: data/full_repos/permissive/20401628/i2c.v:270: syntax error, unexpected byte\n .byte(byte),\n  ^~~~\n%Error: data/full_repos/permissive/20401628/i2c.v:506: syntax error, unexpected byte, expecting IDENTIFIER or '[' or do or final\n input [7:0] byte,\n             ^~~~\n%Error: data/full_repos/permissive/20401628/i2c.v:508: syntax error, unexpected inout, expecting IDENTIFIER or '=' or do or final\n inout i2c_sda,\n ^~~~~\n%Error: data/full_repos/permissive/20401628/i2c.v:515: syntax error, unexpected assign\nassign i2c_sda = sda_oe ? sda_out : 1'bz;\n^~~~~~\n%Error: data/full_repos/permissive/20401628/i2c.v:528: syntax error, unexpected always\nalways @(posedge ioclk)\n^~~~~~\n%Error: Exiting due to 7 error(s)\n"
function [7:0] addr_dict;
	input [7:0] index;
	case (index)
		8'h00: addr_dict = 8'h01;
		8'h01: addr_dict = 8'h02;
		8'h02: addr_dict = 8'h03;
		8'h03: addr_dict = 8'h0c;
		8'h04: addr_dict = 8'h0e;
		8'h05: addr_dict = 8'h0f;
		8'h06: addr_dict = 8'h15;
		8'h07: addr_dict = 8'h16;
		8'h08: addr_dict = 8'h17;
		8'h09: addr_dict = 8'h18;
		8'h0a: addr_dict = 8'h19;
		8'h0b: addr_dict = 8'h1a;
		8'h0c: addr_dict = 8'h1e;
		8'h0d: addr_dict = 8'h21;
		8'h0e: addr_dict = 8'h22;
		8'h0f: addr_dict = 8'h29;

		8'h10: addr_dict = 8'h32;
		8'h11: addr_dict = 8'h33;
		8'h12: addr_dict = 8'h34;
		8'h13: addr_dict = 8'h35;
		8'h14: addr_dict = 8'h37;
		8'h15: addr_dict = 8'h38;
		8'h16: addr_dict = 8'h39;
		8'h17: addr_dict = 8'h3b;
		8'h18: addr_dict = 8'h3c;
		8'h19: addr_dict = 8'h3d;
		8'h1a: addr_dict = 8'h3e;
		8'h1b: addr_dict = 8'h3f;
		8'h1c: addr_dict = 8'h41;
		8'h1d: addr_dict = 8'h41;
		8'h1e: addr_dict = 8'h43;
		8'h1f: addr_dict = 8'h44;

		8'h20: addr_dict = 8'h45;
		8'h21: addr_dict = 8'h46;
		8'h22: addr_dict = 8'h47;
		8'h23: addr_dict = 8'h48;
		8'h24: addr_dict = 8'h4b;
		8'h25: addr_dict = 8'h4c;
		8'h26: addr_dict = 8'h4d;
		8'h27: addr_dict = 8'h4e;
		8'h28: addr_dict = 8'h4f;
		8'h29: addr_dict = 8'h50;
		8'h2a: addr_dict = 8'h51;
		8'h2b: addr_dict = 8'h52;
		8'h2c: addr_dict = 8'h53;
		8'h2d: addr_dict = 8'h54;
		8'h2e: addr_dict = 8'h56;
		8'h2f: addr_dict = 8'h58;

		8'h30: addr_dict = 8'h59;
		8'h31: addr_dict = 8'h5a;
		8'h32: addr_dict = 8'h5b;
		8'h33: addr_dict = 8'h5c;
		8'h34: addr_dict = 8'h5d;
		8'h35: addr_dict = 8'h5e;
		8'h36: addr_dict = 8'h69;
		8'h37: addr_dict = 8'h6a;
		8'h38: addr_dict = 8'h6b;
		8'h39: addr_dict = 8'h6c;
		8'h3a: addr_dict = 8'h6d;
		8'h3b: addr_dict = 8'h6e;
		8'h3c: addr_dict = 8'h6f;
		8'h3d: addr_dict = 8'h70;
		8'h3e: addr_dict = 8'h71;
		8'h3f: addr_dict = 8'h72;

		8'h40: addr_dict = 8'h73;
		8'h41: addr_dict = 8'h74;
		8'h42: addr_dict = 8'h75;
		8'h43: addr_dict = 8'h76;
		8'h44: addr_dict = 8'h77;
		8'h45: addr_dict = 8'h78;
		8'h46: addr_dict = 8'h79;
		8'h47: addr_dict = 8'h8d;
		8'h48: addr_dict = 8'h8e;
		8'h49: addr_dict = 8'h8f;
		8'h4a: addr_dict = 8'h90;
		8'h4b: addr_dict = 8'h91;
		8'h4c: addr_dict = 8'h96;
		8'h4d: addr_dict = 8'h96;
		8'h4e: addr_dict = 8'h97;
		8'h4f: addr_dict = 8'h98;

		8'h50: addr_dict = 8'h99;
		8'h51: addr_dict = 8'h9a;
		8'h52: addr_dict = 8'h9a;
		8'h53: addr_dict = 8'h9b;
		8'h54: addr_dict = 8'h9c;
		8'h55: addr_dict = 8'h9d;
		8'h56: addr_dict = 8'h9e;
		8'h57: addr_dict = 8'ha2;
		8'h58: addr_dict = 8'ha4;
		8'h59: addr_dict = 8'hb0;
		8'h5a: addr_dict = 8'hb1;
		8'h5b: addr_dict = 8'hb2;
		8'h5c: addr_dict = 8'hb3;
		8'h5d: addr_dict = 8'hb8;
		8'h5e: addr_dict = 8'hc8;
		8'h5f: addr_dict = 8'hc9;
		8'h60: addr_dict = 8'h12;
		8'h61: addr_dict = 8'h40;


	endcase
endfunction
function [7:0] addr_dict;

	input [7:0] index;
	case (index)
		8'h00: addr_dict = 8'h01;
		8'h01: addr_dict = 8'h02;
		8'h02: addr_dict = 8'h03;
		8'h03: addr_dict = 8'h0c;
		8'h04: addr_dict = 8'h0e;
		8'h05: addr_dict = 8'h0f;
		8'h06: addr_dict = 8'h15;
		8'h07: addr_dict = 8'h16;
		8'h08: addr_dict = 8'h17;
		8'h09: addr_dict = 8'h18;
		8'h0a: addr_dict = 8'h19;
		8'h0b: addr_dict = 8'h1a;
		8'h0c: addr_dict = 8'h1e;
		8'h0d: addr_dict = 8'h21;
		8'h0e: addr_dict = 8'h22;
		8'h0f: addr_dict = 8'h29;

		8'h10: addr_dict = 8'h32;
		8'h11: addr_dict = 8'h33;
		8'h12: addr_dict = 8'h34;
		8'h13: addr_dict = 8'h35;
		8'h14: addr_dict = 8'h37;
		8'h15: addr_dict = 8'h38;
		8'h16: addr_dict = 8'h39;
		8'h17: addr_dict = 8'h3b;
		8'h18: addr_dict = 8'h3c;
		8'h19: addr_dict = 8'h3d;
		8'h1a: addr_dict = 8'h3e;
		8'h1b: addr_dict = 8'h3f;
		8'h1c: addr_dict = 8'h41;
		8'h1d: addr_dict = 8'h41;
		8'h1e: addr_dict = 8'h43;
		8'h1f: addr_dict = 8'h44;

		8'h20: addr_dict = 8'h45;
		8'h21: addr_dict = 8'h46;
		8'h22: addr_dict = 8'h47;
		8'h23: addr_dict = 8'h48;
		8'h24: addr_dict = 8'h4b;
		8'h25: addr_dict = 8'h4c;
		8'h26: addr_dict = 8'h4d;
		8'h27: addr_dict = 8'h4e;
		8'h28: addr_dict = 8'h4f;
		8'h29: addr_dict = 8'h50;
		8'h2a: addr_dict = 8'h51;
		8'h2b: addr_dict = 8'h52;
		8'h2c: addr_dict = 8'h53;
		8'h2d: addr_dict = 8'h54;
		8'h2e: addr_dict = 8'h56;
		8'h2f: addr_dict = 8'h58;

		8'h30: addr_dict = 8'h59;
		8'h31: addr_dict = 8'h5a;
		8'h32: addr_dict = 8'h5b;
		8'h33: addr_dict = 8'h5c;
		8'h34: addr_dict = 8'h5d;
		8'h35: addr_dict = 8'h5e;
		8'h36: addr_dict = 8'h69;
		8'h37: addr_dict = 8'h6a;
		8'h38: addr_dict = 8'h6b;
		8'h39: addr_dict = 8'h6c;
		8'h3a: addr_dict = 8'h6d;
		8'h3b: addr_dict = 8'h6e;
		8'h3c: addr_dict = 8'h6f;
		8'h3d: addr_dict = 8'h70;
		8'h3e: addr_dict = 8'h71;
		8'h3f: addr_dict = 8'h72;

		8'h40: addr_dict = 8'h73;
		8'h41: addr_dict = 8'h74;
		8'h42: addr_dict = 8'h75;
		8'h43: addr_dict = 8'h76;
		8'h44: addr_dict = 8'h77;
		8'h45: addr_dict = 8'h78;
		8'h46: addr_dict = 8'h79;
		8'h47: addr_dict = 8'h8d;
		8'h48: addr_dict = 8'h8e;
		8'h49: addr_dict = 8'h8f;
		8'h4a: addr_dict = 8'h90;
		8'h4b: addr_dict = 8'h91;
		8'h4c: addr_dict = 8'h96;
		8'h4d: addr_dict = 8'h96;
		8'h4e: addr_dict = 8'h97;
		8'h4f: addr_dict = 8'h98;

		8'h50: addr_dict = 8'h99;
		8'h51: addr_dict = 8'h9a;
		8'h52: addr_dict = 8'h9a;
		8'h53: addr_dict = 8'h9b;
		8'h54: addr_dict = 8'h9c;
		8'h55: addr_dict = 8'h9d;
		8'h56: addr_dict = 8'h9e;
		8'h57: addr_dict = 8'ha2;
		8'h58: addr_dict = 8'ha4;
		8'h59: addr_dict = 8'hb0;
		8'h5a: addr_dict = 8'hb1;
		8'h5b: addr_dict = 8'hb2;
		8'h5c: addr_dict = 8'hb3;
		8'h5d: addr_dict = 8'hb8;
		8'h5e: addr_dict = 8'hc8;
		8'h5f: addr_dict = 8'hc9;
		8'h60: addr_dict = 8'h12;
		8'h61: addr_dict = 8'h40;


	endcase
endfunction