Add SimpleCPU device and fix value computation