+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Advanced Member level 4
    Points: 10,814, Level: 24
    omara007's Avatar
    Join Date
    Jan 2003
    Location
    Cairo/Egypt
    Posts
    1,238
    Helped
    56 / 56
    Points
    10,814
    Level
    24

    Function for a square root of a generic-length std_logic_vector in VHDL

    Hi guys ..
    Anyone knows a function/module that performs a square root of a generic-length std_logic_vector ?
    Preferabbly written in VHDL.

    •   AltAdvertisement

        
       

  2. #2
    Full Member level 6
    Points: 4,408, Level: 15

    Join Date
    Aug 2005
    Location
    China
    Posts
    345
    Helped
    26 / 26
    Points
    4,408
    Level
    15

    vhdl sqrt

    it is similiar with divider, maybe you can reference some divider module



  3. #3
    Advanced Member level 4
    Points: 10,814, Level: 24
    omara007's Avatar
    Join Date
    Jan 2003
    Location
    Cairo/Egypt
    Posts
    1,238
    Helped
    56 / 56
    Points
    10,814
    Level
    24

    square root in vhdl

    Quote Originally Posted by tarkyss
    it is similiar with divider, maybe you can reference some divider module
    can u explain how it's like the Divider ?



    •   AltAdvertisement

        
       

  4. #4
    Newbie level 2
    Points: 1,406, Level: 8

    Join Date
    Feb 2005
    Location
    Austin, TX
    Posts
    2
    Helped
    1 / 1
    Points
    1,406
    Level
    8

    square root vhdl

    There are a couple of VHDL square root examples at:

    http://www.csee.umbc.edu/help/VHDL/s.../samples.shtml

    Hope this helps.


    1 members found this post helpful.

  5. #5
    Member level 5
    Points: 2,224, Level: 10

    Join Date
    Feb 2005
    Posts
    93
    Helped
    12 / 12
    Points
    2,224
    Level
    10

    sqrt vhdl

    You can have a look at the following paper:

    http://cis.k.hosei.ac.jp/~yamin/papers/ACAC2000.pdf

    It describes a square root algorithm and its implementation



  6. #6
    Full Member level 6
    Points: 3,477, Level: 13
    Achievements:
    7 years registered
    vipinlal's Avatar
    Join Date
    Mar 2010
    Location
    India
    Posts
    354
    Helped
    76 / 76
    Points
    3,477
    Level
    13

    Square Root in VHDL




    •   AltAdvertisement

        
       

  7. #7
    Newbie level 1
    Points: 367, Level: 4

    Join Date
    Dec 2010
    Posts
    1
    Helped
    0 / 0
    Points
    367
    Level
    4

    Re: Square Root in VHDL

    it is simplest method: "An Optimized Square Root Algorithm for Implementation in FPGA Hardware". This paper has published in TELKOMNIKA Journal



  8. #8
    Member level 1
    Points: 2,038, Level: 10

    Join Date
    Apr 2006
    Posts
    32
    Helped
    66 / 66
    Points
    2,038
    Level
    10

    Re: Square Root in VHDL

    hello u can compute square root using CORDIC algorithm by just using adders and shifters only. but it requires few clock cycles to give output. number of cycles depends on the precision and accuracy.


    1 members found this post helpful.

--[[ ]]--