ln Testbench
The testbench calculates the natural log values for 1.3498588, 1.64872127,
2.22554092, 99.142, and 30000. The testbench outputs the
following:
# Loading sv_std.std
# Loading work.tb_ln(fast)
# time=157 i_data= 88464( 1.3498588) o_ln= 19666(0.300079)
# time=215 i_data= 108051(1.64872127) o_ln= 32770(0.500031)
# time=275 i_data= 145853(2.22554092) o_ln= 52436(0.800110)
# time=345 i_data= 6497370( 99.142) o_ln= 301242(4.596588)
# time=431 i_data= 1966080000( 30000) o_ln= 675610(10.308990)
# ---PASSED---Note: The output values in
parentheses are in floating-point format.