Giter Site home page Giter Site logo

fpu_new's Introduction

Performance (KCU105)

  • fadd (fadd.v) 100MHz 1clock

  • fsub (fsub.v) 100MHz 1clock

  • fmul: 100MHz 1clock (Maximum operating frequency = 160MHz)

  • fdiv (fdiv.v): 100MHz 3clock

  • fsqrt: 100MHz 2clock (Pipeline) (Maximum operating frequency = 160MHz)

  • itof: 100MHz 1clock (Maximum operating frequency = 150MHz)

  • ftoi: 100MHz 1clock

  • floor: 100MHz 1clock

  • fless: 100MHz 1clock

  • fadd_200 215MHz 2clock

  • fmul 207MHz 2clock

  • fdiv_200 210MHz 4clock

  • fsqrt_200 250MHz 3clock

  • ftoi 226MHz 1clock

  • itof 206MHz 1clock

  • floor 225MHz 1clock

Utilization (KCU105)

  • fadd (fadd.v) LUT 303, FF 96
  • fsub (fsub.v) LUT 577, FF 96
  • fmul: LUT 53, FF 96, DSP 2
  • fdiv (fdiv.v): LUT 103, FF 167, DSP 3
  • itof: LUT 246, FF 64
  • ftoi: LUT 264, FF 64
  • floor LUT 210, FF 64

Dependency

  • fdiv (fdiv.v)
    • fmul_for_fdiv (fmul_for_fdiv.v)
    • finv (finv.v)
      • finv_const_table (finv_table.v)
      • finv_grad_table (finv_table.v)
  • fsqrt (fsqrt.v)
    • fsqrt_const_table (fsqrt_table.v)
    • fsqrt_grad_table (fsqrt_table.v)

Notes

  • fmul, fdiv and fsqrt only support normalized numbers.
    • if the exponent is 0, then the mantissa is set to 0 and the number is regarded as 0.
    • if the exponent is 255, then the mantissa is set to 0 and the number is regarded as infinity.
  • fsqrt
    • If you enter negative number in fsqrt, 0 will be returned.
  • ftoi
    • If you enter more than 2^31, 0x7fffffff will be returned.
    • If you enter less than -2^31, 0x80000001 will be returned.

fpu_new's People

Contributors

yutapic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.