Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Contributor
2010stone
Posts: 40
Registered: ‎10-16-2010
0

How to get a vector adder block in a fast way

Hello, I´m would like to know how to get a vector adder block only using one addsub block.vectoradder.JPG

 

I would like to create two vectors from the sets of outputs of the respectives '1ex10c1'  and '1ex10c2' blocks to sum them into one AddSub block. I don´t want to add a AddSub block for every outputs pairs.

I attached my file.

Thank you so much for your help!

Contributor
2010stone
Posts: 40
Registered: ‎10-16-2010
0

Re: How to get a vector adder block in a fast way

For clarification:

Every one of the outputs of the two blocks I put (Every one of them has 10 outputs) represent real numbers (not boolean), so I want to make a vector of ten real numbers. I want two vectors, every one of them from one 'ex10c' block to make a sum of them in the Add block.

Xilinx Employee
Xilinx Employee
ywu
Posts: 2,861
Registered: ‎11-28-2007
0

Re: How to get a vector adder block in a fast way

In general, if you want to share logic resources, your system sampling clock has to be faster than the input sampling clock. In your particular case, the system clock needs to be 10x faster than the input sampling clock. You model doesn't have a System Generator token (by the way, the SysGen token is required for all SysGen models), I can't tell what your system clock rate is. So what's your system clock frequency and the input samping clock frequency?

 

 

 


2010stone wrote:

Hello, I´m would like to know how to get a vector adder block only using one addsub block.vectoradder.JPG

 

I would like to create two vectors from the sets of outputs of the respectives '1ex10c1'  and '1ex10c2' blocks to sum them into one AddSub block. I don´t want to add a AddSub block for every outputs pairs.

I attached my file.

Thank you so much for your help!


 

 

Cheers,
Jim