Why are ADC's output in 2'complement

Status
Not open for further replies.

sid_27

Junior Member level 2
Joined
Aug 14, 2013
Messages
21
Helped
6
Reputation
12
Reaction score
6
Trophy points
3
Visit site
Activity points
139
My quesion is why are all ADC's output are in 2'complement. I am using LTC2294 ADC it gives output in offset binary or 2'complement, what is the reason behind this. Can I use 2'complement data stright away in my VHDL code or I have to convert it back to simple binary and then use it in my code, please help.
 

It's not true that all ADCs have two's complement output coding, some have offset binary only.

But you can easily convert between both codes by inverting the MSB. Two's complement maps directly to signed format, in so far it's preferable in most cases.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…