Now I have difficulty in setup and hold time calculation in standard cell characterizing definition. I need to compare the sequential cell delay step by step so I wish I can have program calculation in Hspice like 'for...if..'.

Or I have to use the bisection command in spice? I feel the bisection command has some problem or conflicts on the setup and hold characterition.

Anyone have the experience or some reference? Please help me. Thanks.