sequential circuit
A logic device whose output values, at any given instant, depend upon the input values and the internal state at that instant, and whose internal state depends upon the immediately preceding input values and the preceding internal state.