Skip to content

Latest commit

 

History

History

nsl_math

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mathematical

Mathematic library includes:

  • Integer extensions with integer vector and related operations,
  • Arithmentic utilities Various operators and functions around integer values (log2, min, max, gcdm lcm, power-of-two alignment tools, convertor to unsigned with implicit size calculation),
  • Gray encoding tools and components,
  • GF(2) definitions,
  • Fixed point library, with careful usage of type ranges as value extents,
  • Fader blocks, able to scale two values according to a third, in a complementary way,
  • Real extensions with real vector, various functions (min, max, erf, frac),
  • Timing calculus with conversion from VHDL time units to cycles, seconds, etc.