Demo entry 6356724

s

   

Submitted by s on Apr 20, 2017 at 09:45
Language: verilog. Code size: 265 Bytes.

module  desf(fin,K,fout);//F函数
input  [1:32]  fin;
input  [1:48]  K;
output [1:32]  fout;
wire [1:48] m,n;
  E_box  E_box(.in(fin),.out(m));
  assign  n=m^K;
wire  [1:32]  c;
  S_box  S_box (.in(n),.out(c));
  P      P     (.in(c),.out(fout));
endmodule

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).