more debugging support for FPGA implementation