2024-04-06 20:43:06 +00:00
|
|
|
# Run TestFloat simulation
|
2022-07-14 18:16:00 +00:00
|
|
|
|
2022-05-19 16:32:30 +00:00
|
|
|
# cvtint - test integer conversion unit (fcvtint)
|
|
|
|
# cvtfp - test floating-point conversion unit (fcvtfp)
|
|
|
|
# cmp - test comparison unit's LT, LE, EQ opperations (fcmp)
|
|
|
|
# add - test addition
|
2022-07-14 18:16:00 +00:00
|
|
|
# fma - test fma
|
2023-04-12 03:35:04 +00:00
|
|
|
# mul - test mult with fma
|
2022-05-19 16:32:30 +00:00
|
|
|
# sub - test subtraction
|
|
|
|
# div - test division
|
|
|
|
# sqrt - test square root
|
|
|
|
# all - test everything
|
|
|
|
|
2024-04-06 20:43:06 +00:00
|
|
|
#vsim -c -do "do testfloat.do fdqh_ieee_rv64gc $1"
|
|
|
|
wsim fdqh_ieee_rv64gc $1 --tb testbench_fp
|
|
|
|
#wsim fdqh_ieee_rv64gc $1 --tb testbench_fp --gui
|
|
|
|
|