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
Visitor
ab12
Posts: 12
Registered: ‎01-13-2011
0

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.....

Xilinx Employee
francism
Posts: 79
Registered: ‎05-23-2008
0

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

Visitor
ab12
Posts: 12
Registered: ‎01-13-2011
0

Re: Problem Related Cordic Sin Cos Block

Hi,
how can i give the input angle to the cordic sin cos block.
Xilinx Employee
Xilinx Employee
ywu
Posts: 2,861
Registered: ‎11-28-2007
0

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
Visitor
ab12
Posts: 12
Registered: ‎01-13-2011
0

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.......

 

  

Xilinx Employee
Xilinx Employee
ywu
Posts: 2,861
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
Visitor
sheenaraghu
Posts: 2
Registered: ‎03-14-2012
0

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

 

  

Super Contributor
vlavruhin
Posts: 195
Registered: ‎12-08-2010
0

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.