FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6356 Discussions

Convert from unsigned to signed

Altera_Forum
Honored Contributor II
993 Views

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.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
275 Views

Use an AltBus block from the IO & Bus library in Altera DSP Builder Blockset.

0 Kudos
Reply