Hi, thanks for the reply! You're totally right, 40k is no big deal. I am way more concerned with the clock tree for the 10k flip-flops indeed.
Let me go over your points:
1. Not so indeed, sorry.
2. I have only one scan clock domain, it should be no big deal I hope.
3. Yes, this is a critical point indeed. To be honest, I haven't decided how to proceed regarding this issue. Ideally they should be separated, but in practice it is not so easy, especially with a digital-on-top design flow. Most of sensitive analog circuits uses 3.3V power supply, so they will be indeed isolated from the digital 1.8V. Perhaps the groud line will be shared on chip. Anyway, many people says to separate the ground between analog and digital, but the thuth is I don't understand how people manage the return-path of fast signals going from one domain to another (if grounds are not connected on-chip). Off chip and come back? Maybe I will post another thread on this issue...
4. Yes, I will do that. Try to figure out the worst-case peak current then determine the number of pads, if I succeed an accurate full chip simulation (using ultrasim). As an alternative, I could make a fake schematic with 10k flops and simulate just that, what do you think?
5. Good to hear that. Thanks.