Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Round 1, Step 1
- Inst_func1: func1 GENERIC MAP(
- rotate_left_bits => 7
- )
- PORT MAP(
- a_i => buf0,
- b_i => buf1,
- c_i => buf2,
- d_i => buf3,
- x_i => input(0),
- ac_i => x"D76AA478",
- result_o => step1
- );
- -- Round 1, Step 2
- Inst_func2: func1 GENERIC MAP(
- rotate_left_bits => 12
- )
- PORT MAP(
- a_i => buf3,
- b_i => step1,
- c_i => buf1,
- d_i => buf2,
- x_i => input(1),
- ac_i => x"E8C7B756",
- result_o => step2
- );
- -- Round 1, Step 3
- -- step1 buf1 buf2 step2
- Inst_func3: func1 GENERIC MAP(
- rotate_left_bits => 17
- )
- PORT MAP(
- a_i => buf2,
- b_i => step2,
- c_i => step1,
- d_i => buf1,
- x_i => input(2),
- ac_i => x"242070DB",
- result_o => step3
- );
- -- Round 1, Step 4
- -- step1 buf1 step3 step2
- Inst_func4: func1opt GENERIC MAP(
- rotate_left_bits => 22
- )
- PORT MAP(
- a_i => buf1,
- b_i => step3,
- c_i => step2,
- d_i => step1,
- ac_i => x"C1BDCEEE",
- result_o => step4
- );
- -- Round 1, Step 5
- -- step1 step4 step3 step2
- Inst_func5: func1opt GENERIC MAP(
- rotate_left_bits => 7
- )
- PORT MAP(
- a_i => step1,
- b_i => step4,
- c_i => step3,
- d_i => step2,
- ac_i => x"F57C0FAF",
- result_o => step5
- );
- -- Round 1, Step 6
- -- step5 step4 step3 step2
- Inst_func6: func1opt GENERIC MAP(
- rotate_left_bits => 12
- )
- PORT MAP(
- a_i => step2,
- b_i => step5,
- c_i => step4,
- d_i => step3,
- ac_i => x"4787c62a",
- result_o => step6
- );
- -- Round 1, Step 7
- -- step5 step4 step3 step2
- Inst_func7: func1opt GENERIC MAP(
- rotate_left_bits => 17
- )
- PORT MAP(
- a_i => step3,
- b_i => step6,
- c_i => step5,
- d_i => step4,
- ac_i => x"a8304613",
- result_o => step7
- );
- -- Round 1, Step 8
- -- step5 step4 step3 step2
- Inst_func8: func1opt GENERIC MAP(
- rotate_left_bits => 22
- )
- PORT MAP(
- a_i => step4,
- b_i => step7,
- c_i => step6,
- d_i => step5,
- ac_i => x"fd469501",
- result_o => step8
- );
- -- Round 1, Step 9
- -- step5 step4 step3 step2
- Inst_func9: func1opt GENERIC MAP(
- rotate_left_bits => 7
- )
- PORT MAP(
- a_i => step5,
- b_i => step8,
- c_i => step7,
- d_i => step6,
- ac_i => x"698098d8",
- result_o => step9
- );
- -- Round 1, Step 10
- -- step5 step4 step3 step2
- Inst_func10: func1opt GENERIC MAP(
- rotate_left_bits => 12
- )
- PORT MAP(
- a_i => step6,
- b_i => step9,
- c_i => step8,
- d_i => step7,
- ac_i => x"8b44f7af",
- result_o => step10
- );
- -- Round 1, Step 11
- -- step5 step4 step3 step2
- Inst_func11: func1opt GENERIC MAP(
- rotate_left_bits => 17
- )
- PORT MAP(
- a_i => step7,
- b_i => step10,
- c_i => step9,
- d_i => step8,
- ac_i => x"ffff5bb1",
- result_o => step11
- );
- -- Round 1, Step 12
- -- step5 step4 step3 step2
- Inst_func12: func1opt GENERIC MAP(
- rotate_left_bits => 22
- )
- PORT MAP(
- a_i => step8,
- b_i => step11,
- c_i => step10,
- d_i => step9,
- ac_i => x"895cd7be",
- result_o => step12
- );
- -- Round 1, Step 13
- -- step5 step4 step3 step2
- Inst_func13: func1opt GENERIC MAP(
- rotate_left_bits => 7
- )
- PORT MAP(
- a_i => step9,
- b_i => step12,
- c_i => step11,
- d_i => step10,
- ac_i => x"6b901122",
- result_o => step13
- );
- -- Round 1, Step 14
- -- step5 step4 step3 step2
- Inst_func14: func1opt GENERIC MAP(
- rotate_left_bits => 12
- )
- PORT MAP(
- a_i => step10,
- b_i => step13,
- c_i => step12,
- d_i => step11,
- ac_i => x"fd987193",
- result_o => step14
- );
- -- Round 1, Step 15
- -- step5 step4 step3 step2
- Inst_func15: func1 GENERIC MAP(
- rotate_left_bits => 17
- )
- PORT MAP(
- a_i => step11,
- b_i => step14,
- c_i => step13,
- d_i => step12,
- x_i => input(14),
- ac_i => x"a679438e",
- result_o => step15
- );
- -- Round 1, Step 16
- -- step5 step4 step3 step2
- Inst_func16: func1 GENERIC MAP(
- rotate_left_bits => 22
- )
- PORT MAP(
- a_i => step12,
- b_i => step15,
- c_i => step14,
- d_i => step13,
- x_i => input(15),
- ac_i => x"49b40821",
- result_o => step16
- );
Add Comment
Please, Sign In to add comment