Forum Discussion
Altera_Forum
Honored Contributor
16 years agoConvert from unsigned to signed
How can I cast a signal from an unsigned to a signed in DSP builder in simulink?
I have an unsigned inputs, which I difference (with positive or negative results. How can I either cast both of these inputs to a signed value easily without doing silly bus concatenations so I can input them into the subtractor? Thanks for any help.1 Reply
- Altera_Forum
Honored Contributor
Use an AltBus block from the IO & Bus library in Altera DSP Builder Blockset.