- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: CORDIC square root gives wrong output
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-02-2009 09:20 AM
Ta jimwu,
it's always the easy things that are the hardest..
http://www.ultradark.com/07anl02wisdom.htm
Re: CORDIC square root gives wrong output
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-05-2009 12:56 PM
Hello.
I have downloaded your project. Unfortunately, project is created with ISE 11. I’m using 10.1.3, CORDIC version is 4. My version is CORDIC 3. I have used your sqr_tb.vhd file. In attached file you can find some simulation pictures with corresponding test bench files. Signals of data are in hexadecimal format.
2_test.vhd is almost the same as your test bench and 2_diagram.jpeg is corresponding diagram. Please take look at this diagram. Output is changing just 4 times:
IN x0 -> OUT x0
IN x100000 -> OUT x400
IN x80040F -> OUT xB50
IN x4 -> OUT x2IN x20 -> OUT0 ????
Result by this input (2_test.vhd) is not so bad. But please look at 3_diagram.jpeg and 3_test.vhd. If input value first time is small output is zero always too!
Most interest is 5_diagram.jpeg. This diagram corresponds your send project, but value changes just one time.
Also, I attaché full project (almost the same as your just for version 10).
Please explain what I'm doing wrong?
Vytautas
Re: CORDIC square root gives wrong output
[ Edited ]- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-05-2009 01:27 PM - edited 09-05-2009 01:40 PM
Hi
can you not go to ISE 11.x ?
have you regenerate the core from scratch ?
And there is something else strange in your 'pictures', you seem to have different signals between the traces. If it's the same test , with different stimulants, then I'd expect the same traces in all.
I think you had better take big step back, delete the core you have made, make a new one under a new name, and instantiate that into your project.
Re: CORDIC square root gives wrong output
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-08-2009 01:41 PM
Does this AR http://www.xilinx.com/support/answers/32072.htm match what you were seeing?
Cheers,
Jim
vytautas wrote:Hello.
I have downloaded your project. Unfortunately, project is created with ISE 11. I’m using 10.1.3, CORDIC version is 4. My version is CORDIC 3. I have used your sqr_tb.vhd file. In attached file you can find some simulation pictures with corresponding test bench files. Signals of data are in hexadecimal format.
2_test.vhd is almost the same as your test bench and 2_diagram.jpeg is corresponding diagram. Please take look at this diagram. Output is changing just 4 times:
IN x0 -> OUT x0
IN x100000 -> OUT x400
IN x80040F -> OUT xB50
IN x4 -> OUT x2IN x20 -> OUT0 ????
Result by this input (2_test.vhd) is not so bad. But please look at 3_diagram.jpeg and 3_test.vhd. If input value first time is small output is zero always too!
Most interest is 5_diagram.jpeg. This diagram corresponds your send project, but value changes just one time.
Also, I attaché full project (almost the same as your just for version 10).
Please explain what I'm doing wrong?
Jim
Re: CORDIC square root gives wrong output
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-08-2009 01:52 PM
Vytautas











