LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cores > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Taho Dorta<taho82@g...>
    Date: Thu Mar 13 09:56:20 CET 2008
    Subject: [oc] FPU core
    Top
    Hi all,

    In my VHDL design I need to operate using float. I think I am going to use
    FPU core of opencores. The problem is that I need to multiply unsigned
    integer (16 bits) with float (32 bits single precision floating point), so I
    suppose I have first to convert integer into float. What is the simplest way
    to do this conversion?Is there some library or core?

    The whole operation is: (it is use to calibrate Power received in a SFP)

    a_4(32 bit float) * rxPwr^4(16 bit unsigned integer) + a_3(32 bit float) *
    rxPwr^3(16 bit unsigned integer) + a_2(32 bit float) * rxPwr^2(16 bit
    unsigned integer) + a_1(32 bit float) * rxPwr(16 bit unsigned integer) +
    a_0(32 bit float)

    Thanks in advance

    --
    Taho Dorta
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: attachment.htm

    Follow upAuthor
    [oc] FPU coreAndrew mulcock

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.