change setClockFrequency to use Directory fpga_fd