Forum Discussion
Altera_Forum
Honored Contributor
14 years agooffset binary to signed converter for ADC
Hello I’m neebie in VHDL. I’m trying to build a simple radio receiver: CAN , mult, filter, I Q demod in Cyclone III , with quartus . I ‘m sorry for this question here, be I don’t found solution...
Altera_Forum
Honored Contributor
14 years agoAs most problems, it can be solved in one line. VHDL-wise, the conversion can be most easily done as a XOR operation with an inversion mask.
data2 <= data1 XOR x"800"; -- for 12 Bit data