author : brian98077
two_comp_to_decimal.py
convert fixed-point 2's complement number to decimal
usage :
input total bits of number and bits for fraction
then input 2's complement number
*note that the input should be negative (<0)
dec_to_two_comp.py
convert fixed-point 2's complement number to decimal
usage :
input total bits of number and bits for fraction
then input decimal number
*note that the input should be negative (<0)
fixed_point_to_dec.py
convert positive binary fixed point (<1) to decimal
dec_point_to_binary.py
convert decimal floating point (<1) to binary (16 bits fraction)