Digital logic block