UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor max88
Visitor
2,581 Views
Registered: ‎07-25-2012

need help with scaling the simultaneous input data streams

I have 4 stream of input data in my design, named A (A1; A2;A3;A4). All these 4 stream data are  between [a,b]. These data are then multiplied in another stream named (L1;L2;L3;L4), which makes them to become within [c,d], as  (c>a) and  (d>b). I need to scale the the multiplied data in a way, to take it back in [a,b]. how should I do that?

Some considerations are:

These 4 stream input data are not in the equal to each other, and after multiplication with stream L, are in different range, like

A1 :  [c1:d1]

A2 : [c2:d2]

A3 : [c3:d3]

A4 : [c4:d5]

 A1 to A4 are comming simultaneously from 4 lookup table, and must be processed simultaneously when they are scaled to [a,b].

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
2,577 Views
Registered: ‎11-28-2007

Re: need help with scaling the simultaneous input data streams

It depends on what the input data formats are. If you're dealing with fixed point numbers, you just need to line up the binary points.


@max88 wrote:

I have 4 stream of input data in my design, named A (A1; A2;A3;A4). All these 4 stream data are  between [a,b]. These data are then multiplied in another stream named (L1;L2;L3;L4), which makes them to become within [c,d], as  (c>a) and  (d>b). I need to scale the the multiplied data in a way, to take it back in [a,b]. how should I do that?

Some considerations are:

These 4 stream input data are not in the equal to each other, and after multiplication with stream L, are in different range, like

A1 :  [c1:d1]

A2 : [c2:d2]

A3 : [c3:d3]

A4 : [c4:d5]

 A1 to A4 are comming simultaneously from 4 lookup table, and must be processed simultaneously when they are scaled to [a,b].




Cheers,
Jim
0 Kudos