diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2018-05-21 18:02:14 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2018-05-21 18:02:14 +0200 |
commit | 1e9ed5842c3cb72226450403cf49783f2f9d8e86 (patch) | |
tree | 167710db2e297be663d1f5e6fdea4169168e4436 /src/rtl/aes_core.v | |
parent | 8d0777b9f58efdc57fe9f2caa75b0ee6e2aae7b1 (diff) |
Cleaned up redundant wires.
Diffstat (limited to 'src/rtl/aes_core.v')
-rw-r--r-- | src/rtl/aes_core.v | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/rtl/aes_core.v b/src/rtl/aes_core.v index b74fdc4..518b20f 100644 --- a/src/rtl/aes_core.v +++ b/src/rtl/aes_core.v @@ -85,8 +85,6 @@ module aes_core( //---------------------------------------------------------------- // Wires. //---------------------------------------------------------------- - reg init_state; - wire [127 : 0] round_key; wire key_ready; @@ -104,10 +102,6 @@ module aes_core( reg [3 : 0] muxed_round_nr; reg muxed_ready; - wire [31 : 0] keymem_sboxw; - - wire [31 : 0] new_sboxw; - //---------------------------------------------------------------- // Instantiations. @@ -235,7 +229,6 @@ module aes_core( //---------------------------------------------------------------- always @* begin : aes_core_ctrl - init_state = 1'b0; ready_new = 1'b0; ready_we = 1'b0; result_valid_new = 1'b0; @@ -248,7 +241,6 @@ module aes_core( begin if (init) begin - init_state = 1'b1; ready_new = 1'b0; ready_we = 1'b1; result_valid_new = 1'b0; @@ -258,7 +250,6 @@ module aes_core( end else if (next) begin - init_state = 1'b0; ready_new = 1'b0; ready_we = 1'b1; result_valid_new = 1'b0; @@ -270,8 +261,6 @@ module aes_core( CTRL_INIT: begin - init_state = 1'b1; - if (key_ready) begin ready_new = 1'b1; @@ -283,8 +272,6 @@ module aes_core( CTRL_NEXT: begin - init_state = 1'b0; - if (muxed_ready) begin ready_new = 1'b1; @@ -298,7 +285,6 @@ module aes_core( default: begin - end endcase // case (aes_core_ctrl_reg) |