Design Partitioning For Custom Hardware Emulation