Browse Source

beauty care

master
T. Meissner 12 years ago
parent
commit
f76ae71dd3
1 changed files with 12 additions and 11 deletions
  1. +12
    -11
      cbcdes/rtl/verilog/cbcdes.v

+ 12
- 11
cbcdes/rtl/verilog/cbcdes.v View File

@ -24,17 +24,17 @@
module cbcdes
(
input reset_i, // async reset
input clk_i, // clock
input start_i, // start cbc
input mode_i, // des-mode: 0 = encrypt, 1 = decrypt
input [0:63] key_i, // key input
input [0:63] iv_i, // iv input
input [0:63] data_i, // data input
input valid_i, // input key/data valid flag
output reg ready_o, // ready to encrypt/decrypt
output reg [0:63] data_o, // data output
output valid_o // output data valid flag
input reset_i, // async reset
input clk_i, // clock
input start_i, // start cbc
input mode_i, // des-mode: 0 = encrypt, 1 = decrypt
input [0:63] key_i, // key input
input [0:63] iv_i, // iv input
input [0:63] data_i, // data input
input valid_i, // input key/data valid flag
output reg ready_o, // ready to encrypt/decrypt
output reg [0:63] data_o, // data output
output valid_o // output data valid flag
);
@ -85,6 +85,7 @@ module cbcdes
end
end
// input register
always @(posedge clk_i, negedge reset_i) begin
if (~reset_i) begin


Loading…
Cancel
Save