Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > rtl

Reply
 
 
teamgda
Guest
Posts: n/a
 
      07-15-2004
i need details about RTL coding
 
Reply With Quote
 
 
 
 
Mike Treseler
Guest
Posts: n/a
 
      07-15-2004
(teamgda) wrote in message news:< om>...
> i need details about RTL coding


http://groups.google.com/groups?q=rt...s_ugroup=*vhdl

-- Mike Treseler
 
Reply With Quote
 
 
 
 
Patrice
Guest
Posts: n/a
 
      07-31-2004
Helo
I use quartus web edition, and made me some routines but
sundely a saw that there is no math_real library in quarus !
Does it mean what mathematical operation on real cannot be made
with this board ?? (i'm interrested in sqrt function)

Thanks for reply


 
Reply With Quote
 
Allan Herriman
Guest
Posts: n/a
 
      07-31-2004
On Sat, 31 Jul 2004 12:41:03 +0200, "Patrice" <>
wrote:

>Helo
>I use quartus web edition, and made me some routines but
>sundely a saw that there is no math_real library in quarus !
>Does it mean what mathematical operation on real cannot be made
>with this board ?? (i'm interrested in sqrt function)


Synthesisers don't support real numbers for general use (AFAIK), so
this will be a problem with any board.

You have several options:
- recode your design to use fixed point
- implement your own floating point
- use some sort of hybrid approach, e.g. block floating point.

Also reconsider your "need" for a square root. Are you performing a
cartesian to polar conversion? There are several ways of doing that
which are more efficient that the canonical schemes.

Regards,
Allan.
 
Reply With Quote
 
Anthony J Bybell
Guest
Posts: n/a
 
      08-02-2004
"Patrice" <> wrote in message news:<cefsvq$2cbb$>...
> Helo
> I use quartus web edition, and made me some routines but
> sundely a saw that there is no math_real library in quarus !
> Does it mean what mathematical operation on real cannot be made
> with this board ?? (i'm interrested in sqrt function)
>
> Thanks for reply


As a side note (this has nothing to do with Quartus or even VHDL), for
some applications calculating the inverse square root may prove more
useful or be faster. (e.g., if you have to divide by the square root
of something, it's faster to multiply by its inverse.)

http://www.finesse.demon.co.uk/steven/invsqrt.html

-t
 
Reply With Quote
 
Ken Smith
Guest
Posts: n/a
 
      08-02-2004
In article <cefsvq$2cbb$>,
Patrice <> wrote:
>Helo
>I use quartus web edition, and made me some routines but
>sundely a saw that there is no math_real library in quarus !
>Does it mean what mathematical operation on real cannot be made
>with this board ?? (i'm interrested in sqrt function)


real=sqrt(real) Forget it

integer=sqrt(integer) Yes in more than one clock

fixedpoint=sqrt(fixedpoint) same as integer

If you can take more than one clock cycle to do it, you can make an
integer or fixedpoint SQRT. The trick is to use Booths[1] method.

[1] At least I think it was Booth, Gauss may be the real father of this.


Basic rule:

N^2 = the sum of the first N odd numbers.

Stupid method = subtract 1,3,5,7.. until it crosses zero.

Optimization:
If you multiply N by 2, you multiply N^2 by 4. As a result, you can get
there quicker if you include some shifting.




--
--
forging knowledge

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Realtek RTL 8180 Can't Connect to Netgear WGR 614 manish Wireless Networking 1 07-17-2005 10:24 AM
Synthesis of VHDL RTL including recursive functions gpi5 VHDL 1 11-09-2004 02:44 PM
ASIC RTL and FPGA RTL Anand P Paralkar VHDL 1 04-26-2004 01:09 PM
VHDL RTL description Zyd VHDL 1 04-14-2004 10:59 AM
parameters for Routability estimation and analysis during RTL stages of the design. santhosh VHDL 1 08-21-2003 04:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57