Forum Discussion
Altera_Forum
Honored Contributor
16 years agovhdl addition result size
Hello, maybe a dummy question: I am using arith package. If I need to add 2 signed std_logic_vector of 3 bits, The output should be a std_logic_vector of 4 bits, 3+3=6 ----->...
Altera_Forum
Honored Contributor
16 years agoHello FVM,
Yes, I mean std_logic_arith, sorry. Well I extend 7 times the sign because the result will be the addition between multiples inputs. result<=A+B+c+...; Well, maybe I will begin with the package numeric_std, to see the advantages. Thank you. dabg