when scan chain inserting, set edge merge enable.
Why the tool groups all trailing edge clock scan cells first and then groups all the positive edge clock scan cells?
what is the exactly reason?
For a scan chain to work properly, flops which receive the clock later should be placed first in the chain or else a lock-up lach should be inserted to avoid hold violation. For a 0-1-0 transition, NEGEDGE flop (TE) followed by POSEDGE flop (LE)case, does not need a lock-up latch since NEG flop receives the clock later and POS flop gets earlier. Hope this helps.