added generator for binary chip