• Assuming you're talking about running on physical infrastructure on the same host, I'm fairly sure you'd need to license all of the physical cores on the box for Enterprise Edition regardless.

    Processor affinity has nothing to do with licensing requirements. You'd need to virtualise the environment and assign virtual cores to two different hosts in order to license them individually.