C++ Model For FPGA Emulator