implement 8-way Or chip