The latency setting circuit of dairy 2, wherein the dock s driving circuit includes:
- a control signal generating circuit suitable for generating a plurality of control signals based on the plurality of mode selection signals;
- an interval defining circuit suitable for generating an interval signal for defining a first operation interval and a first output control signal for defining an interval during which the first internal command is output, in a group mode;
- and
- a dock driver suitable for generating a plurality of division docks by dividing the first operating clock by certain multiples, and is outputting the first trigger signal by inverting or non-inverting one of the division clocks according to the mode selection signals and the first output control signal, during an active interval of the interval signal.