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 ab12
Visitor
6,704 Views
Registered: ‎01-13-2011

Problem Related Cordic Sin Cos Block

Hi

    I am working on System generator 11. 

   I want to implement ECg signal in FPGA using system generator.

 

 I want to know that how we can give vectorized input to cordic sin cos block.

 

 The  file is also attached.....

0 Kudos
7 Replies
Xilinx Employee
Xilinx Employee
6,673 Views
Registered: ‎05-23-2008

Re: Problem Related Cordic Sin Cos Block

Hi,

sorry what do you mean by vectorise input. Would this just be an address to the sin/cos Lookuptable?

My advice is to change your data so that it follows the format required for the block you are using.

 

regards

Mike

0 Kudos
Visitor ab12
Visitor
6,637 Views
Registered: ‎01-13-2011

Re: Problem Related Cordic Sin Cos Block

Hi,
how can i give the input angle to the cordic sin cos block.
0 Kudos
Xilinx Employee
Xilinx Employee
6,619 Views
Registered: ‎11-28-2007

Re: Problem Related Cordic Sin Cos Block

Increae the simuation time (currently set to 10) to be longer (for example 100) than the latency of the Cordic block (currently 11 as noted by z-11 on the block). If you do that, you will get the correct result. Also, as Mike suggested, you should also change the input format to match the Cordic block (currently 16.13 in your model).

Cheers,
Jim
0 Kudos
Visitor ab12
Visitor
6,608 Views
Registered: ‎01-13-2011

Re: Problem Related Cordic Sin Cos Block

Hi,

     I am not getting proper output. Whatever values i am giving to the constant block, i am getting the same output.

     please help.... i am stuck at this point for a month now... I need to generate the sin and cosine value of  2*pi*n/2( where n= 1:1:100)...... What should i do........

 

  Please have a look at my attachment.......

 

  

0 Kudos
Xilinx Employee
Xilinx Employee
6,603 Views
Registered: ‎11-28-2007

Re: Problem Related Cordic Sin Cos Block

As I already said, there is nothing wrong with the model attached to your original post. You just need to run the simulation longer than 10 seconds (for example, try put 100 in the sim time entry box the one next to the simulation start/stop button).

 


@ab12 wrote:

Hi,

     I am not getting proper output. Whatever values i am giving to the constant block, i am getting the same output.

     please help.... i am stuck at this point for a month now... I need to generate the sin and cosine value of  2*pi*n/2( where n= 1:1:100)...... What should i do........

 

  Please have a look at my attachment.......

 

 


 

Cheers,
Jim
Highlighted
Visitor sheenaraghu
Visitor
5,984 Views
Registered: ‎03-14-2012

Re: Problem Related Cordic Sin Cos Block

Hi,

   I am working on System generator 11. 

   I want to implement EEGsignal in FPGA for source localization using system generator.

   Can you pls tell me how it can be done using XSG.

 

 

hopefully,

Sheena

 

  

0 Kudos
Explorer
Explorer
5,976 Views
Registered: ‎12-08-2010

Re: Problem Related Cordic Sin Cos Block

Hi, Sheena.

 

If you have question, please start new thread.

What is EEG signal? Electroencephalography signal?

Would you like to simulate this signal? Or to create implementaion of signal processing system?

 

Best Regards,
Vitaly.
0 Kudos