Сombinational and sequential logic