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 feistelRound(cipher,plain,key);
  input [63:0]plain;
  input [47:0]key;
  output [63:0]cipher;
  wire [31:0]inExp,s,out;
  wire [47:0]x,perm;
  
  assign  cipher[63:32]=plain[31:0];
  plainExpPermutation pEP0(perm,plain[31:0]);
  assign x=perm^key;
  
  s1_box s1(s[31:28],x[47:42]);
  s2_box s2(s[27:24],x[41:36]);
  s3_box s3(s[23:20],x[35:30]);
  s4_box s4(s[19:16],x[29:24]);
  s5_box s5(s[15:12],x[23:18]);
  s6_box s6(s[11:8],x[17:12]);
  s7_box s7(s[7:4],x[11:6]);
  s8_box s8(s[3:0],x[5:0]);
  plainRightPermutation pRP(out,s);
  assign cipher[31:0]=out^plain[63:32];
 
endmodule
module feistelRound(cipher,plain,key);

  input [63:0]plain;
  input [47:0]key;
  output [63:0]cipher;
  wire [31:0]inExp,s,out;
  wire [47:0]x,perm;
  
  assign  cipher[63:32]=plain[31:0];
  plainExpPermutation pEP0(perm,plain[31:0]);
  assign x=perm^key;
  
  s1_box s1(s[31:28],x[47:42]);
  s2_box s2(s[27:24],x[41:36]);
  s3_box s3(s[23:20],x[35:30]);
  s4_box s4(s[19:16],x[29:24]);
  s5_box s5(s[15:12],x[23:18]);
  s6_box s6(s[11:8],x[17:12]);
  s7_box s7(s[7:4],x[11:6]);
  s8_box s8(s[3:0],x[5:0]);
  plainRightPermutation pRP(out,s);
  assign cipher[31:0]=out^plain[63:32];
 
endmodule