⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bk_shift1.v.bak

📁 用Verilog实现国内第一个商用密码算法SMS4的加密和解密。
💻 BAK
字号:
// synopsys translate_off
`include "timescale.v"
// synopsys translate_on

module BK_SHIFT1 (b1_out,
                  b1_in
                  );

parameter BWIDTH=32;

output [0:BWIDTH-1] b1_out;
reg    [0:BWIDTH-1] b1_out;
input  [0:BWIDTH-1] b1_in;

always @ (b1_in)
   begin : shift
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[];
     b1_out[]=b1_in[]; 
   end 
endmodule

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -