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 [11:0] cameramem;
input [2:0] pc;
input [7:0] addr;
input [7:0] data;
case (pc)
	3'h0: cameramem = START;
	3'h1: cameramem = {4'h8, CAM_ADDR};
	3'h2: cameramem = TRANSMIT;
	3'h3: cameramem = {4'h8, addr};
	3'h4: cameramem = TRANSMIT;
	3'h5: cameramem = {4'h8, data};
	3'h6: cameramem = TRANSMIT;
	3'h7: cameramem = END;
endcase
endfunction
function [11:0] cameramem;

input [2:0] pc;
input [7:0] addr;
input [7:0] data;
case (pc)
	3'h0: cameramem = START;
	3'h1: cameramem = {4'h8, CAM_ADDR};
	3'h2: cameramem = TRANSMIT;
	3'h3: cameramem = {4'h8, addr};
	3'h4: cameramem = TRANSMIT;
	3'h5: cameramem = {4'h8, data};
	3'h6: cameramem = TRANSMIT;
	3'h7: cameramem = END;
endcase
endfunction