function to logic circuit converter - Search