Effect of having different timescale/precision values

If there are two sv files, one having timescale/precision specified as 1ns/1ps and the other as 1ns/1fs, what is the resulting timescale/precision for the simulation? Does it depend on the order in which these two files are compiled?

In reply to tpan:

The global time precision is the smallest locally declared precision anywhere in the design.

There is no global timescale. Literal time values get scaled and truncated by the local timescale/timeprecision to the global time precision.

In reply to dave_59:

Thanks. Does the timescale have any effect on the total run time of a test? I have found conflicting answers on the web. Are there any circumstances when the timescale matters for the total run time?

In reply to tpan:

In reply to dave_59:
Thanks. Does the timescale have any effect on the total run time of a test? I have found conflicting answers on the web. Are there any circumstances when the timescale matters for the total run time?

Please refer to this thread with Dave’s explanation