chip logic