Added REFDAT_FN define to testbench/scripts/check.v