anusha vasanta
Member level 1
- Joined
- Sep 23, 2014
- Messages
- 34
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 6
- Activity points
- 251
Code:
genvar n;
generate
begin
Top_PipelinedCipher ROM1(clk,reset,data_valid_in,key_valid_in,key,mic_iv,valid_out,mic_iv_result);
assign mic_h1_out= (mic_iv_result^mic_h1);
Top_PipelinedCipher ROM2(clk,reset,data_valid_in,key_valid_in,key,mic_h1_out,valid_out,mic_h1_result);
assign mic_h2_out=(mic_h1_result^mic_h2);
Top_PipelinedCipher ROM3(clk,reset,data_valid_in,key_valid_in,key,mic_h2_out,valid_out,mic_h2_result);
end
endgenerate
Last edited by a moderator: