Generate .coe