DESIGNING SEQUENTIAL LOGIC CIRCUITS