Forum Discussion
Altera_Forum
Honored Contributor
16 years ago2's complement consideration
Hello everyone! I have some considerations about the implementation of twos complement in a filter/decimation design. The ADC used in the design is AD7401, which had also been discussed ea...
Altera_Forum
Honored Contributor
16 years agoOk, thanks to all of you!
XORing with x"8000" is actually the same as substracting 32768! Just tell me what types to use: it seems to work with std_logic_vector and the unsigned.all library. Should I switch to numeric_std? Should I make signed signals?