MSAKARIM
Full Member level 3
I'm working on SHA-512 VHDL implementation and i need to perform (addition mod 2^64)
How can i make the following addition as (modulo 2^64 addition)
How can i make the following addition as (modulo 2^64 addition)
Code:
a(i) <= std_logic_vector(unsigned(h(i-1)) +unsigned(f3(i)) + unsigned(f0(i)) +unsigned(k(i)) + unsigned(w(i)) + unsigned(f2(i)) + unsigned(f1(i)));