We found this circuit in an Electronic Engineering from the 90s. It applies to any logical family.