Text this: Threshold logic: a synthesis approach