Skip to content

.cpp src to gen some floating point values for testing hardware implementation

Notifications You must be signed in to change notification settings

ksaifahmed/FPA_TEST_CASE_GEN

Repository files navigation

  1. DECIMAL_FLOAT_TO_IEEE754_FP.cpp

    converts decimal float to IEEE754 format 16-bit floating point: 1-bit sign | 4-bit exponent | 11-bit fraction/mantissa

    in-line comments added as a doc

  2. FPA_TC_GEN.cpp

    same as above, but generates random floats between macros HI and LO

    check main()

  3. FPA_TC_GEN_JSON.cpp

    generates random floats and prints output in a JSON file

    Usefull for Logisim Circuit Tester

    added my mahdihasnat

  4. bin_to_dec.py

    converts 16-bit floating point decimal in IEEE754 format

    added by NazmulTakbir

About

.cpp src to gen some floating point values for testing hardware implementation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published