data/full_repos/permissive/145992955/DES64.v
 line:108: before: ","
1: b'%Error: data/full_repos/permissive/145992955/DES64.v:108: Unsupported: for loop initialization after the first comma\n      for(i=57,k=0;i<=63;i=i+2)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:110: Unsupported: for loop step after the first comma\n          for(j=i;j>=i-56;j=j-8,k=k+1)\n                          ^\n%Error: data/full_repos/permissive/145992955/DES64.v:117: Unsupported: for loop step after the first comma\n          for(j=i;j>=i-56;j=j-8,k=k+1)\n                          ^\n%Error: data/full_repos/permissive/145992955/DES64.v:133: Unsupported: for loop initialization after the first comma\n      for(i=39,c=0;i>=32;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:133: Unsupported: for loop step after the first comma\n      for(i=39,c=0;i>=32;i=i-1,c=c+1)\n                         ^\n%Error: data/full_repos/permissive/145992955/DES64.v:136: Unsupported: for loop initialization after the first comma\n      for(i=7,c=0;i>=0;i=i-1,c=c+1)\n             ^\n%Error: data/full_repos/permissive/145992955/DES64.v:136: Unsupported: for loop step after the first comma\n      for(i=7,c=0;i>=0;i=i-1,c=c+1)\n                       ^\n%Error: data/full_repos/permissive/145992955/DES64.v:139: Unsupported: for loop initialization after the first comma\n      for(i=47,c=0;i>=40;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:139: Unsupported: for loop step after the first comma\n      for(i=47,c=0;i>=40;i=i-1,c=c+1)\n                         ^\n%Error: data/full_repos/permissive/145992955/DES64.v:142: Unsupported: for loop initialization after the first comma\n      for(i=15,c=0;i>=8;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:142: Unsupported: for loop step after the first comma\n      for(i=15,c=0;i>=8;i=i-1,c=c+1)\n                        ^\n%Error: data/full_repos/permissive/145992955/DES64.v:145: Unsupported: for loop initialization after the first comma\n      for(i=55,c=0;i>=48;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:145: Unsupported: for loop step after the first comma\n      for(i=55,c=0;i>=48;i=i-1,c=c+1)\n                         ^\n%Error: data/full_repos/permissive/145992955/DES64.v:148: Unsupported: for loop initialization after the first comma\n      for(i=24,c=0;i>=16;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:148: Unsupported: for loop step after the first comma\n      for(i=24,c=0;i>=16;i=i-1,c=c+1)\n                         ^\n%Error: data/full_repos/permissive/145992955/DES64.v:151: Unsupported: for loop initialization after the first comma\n      for(i=63,c=0;i>=56;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:151: Unsupported: for loop step after the first comma\n      for(i=63,c=0;i>=56;i=i-1,c=c+1)\n                         ^\n%Error: data/full_repos/permissive/145992955/DES64.v:154: Unsupported: for loop initialization after the first comma\n      for(i=31,c=0;i>=24;i=i-1,c=c+1)\n              ^\n%Error: data/full_repos/permissive/145992955/DES64.v:154: Unsupported: for loop step after the first comma\n      for(i=31,c=0;i>=24;i=i-1,c=c+1)\n                         ^\n%Error: data/full_repos/permissive/145992955/DES64.v:176: syntax error, unexpected ++, expecting \')\'\n      for(i=1;i<=7;i=i++)\n                      ^~\n%Error: data/full_repos/permissive/145992955/DES64.v:182: syntax error, unexpected \'[\', expecting IDENTIFIER\n          out[5+i*6]=rightBits[4+i*4];\n             ^\n%Error: data/full_repos/permissive/145992955/DES64.v:184: syntax error, unexpected \'[\', expecting IDENTIFIER\n      out[47]=rightBits[0];\n         ^\n%Warning-STMTDLY: data/full_repos/permissive/145992955/DES64.v:257: Unsupported: Ignoring delay on this delayed statement.\n      #1 $display("%b",{C_out,D_out});\n      ^\n                  ... Use "/* verilator lint_off STMTDLY */" and lint_on around source to disable this message.\n%Warning-STMTDLY: data/full_repos/permissive/145992955/DES64.v:293: Unsupported: Ignoring delay on this delayed statement.\n      #1 $display("%b",keyOut);\n      ^\n%Error: Exiting due to 22 error(s), 2 warning(s)\n        ... See the manual and https://verilator.org for more assistance.\n'
module initialKeyPermutation(keyOut,keyIn);
  output reg [55:0]keyOut;
  input [63:0]keyIn;
  integer pTable[0:55];
  integer i;
  
  assign pTable={57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4};
  
  always@(*)
    begin
      for(i=0;i<56;i++)
        keyOut[i]=keyIn[pTable[i]-1];
    end
endmodule
module initialKeyPermutation(keyOut,keyIn);

  output reg [55:0]keyOut;
  input [63:0]keyIn;
  integer pTable[0:55];
  integer i;
  
  assign pTable={57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4};
  
  always@(*)
    begin
      for(i=0;i<56;i++)
        keyOut[i]=keyIn[pTable[i]-1];
    end
endmodule