Kathan Shah
Newbie level 6
- Joined
- Jun 15, 2012
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,359
I am new to test benches. I need to test the FP adder, with operand a and b. Input I give to them is IEEE 754 single precision floating point number, but the problem is I need to test them on a large range on floating point numbers.(probably in for loop)
Since test bench need not to be synthesisable I can use float as a type. Can anybody please help me providing with the example or some for declaring and using the float numbers for single precision 32 bit?
Thank you.
Since test bench need not to be synthesisable I can use float as a type. Can anybody please help me providing with the example or some for declaring and using the float numbers for single precision 32 bit?
Thank you.