Generic emulation and simulation environment.