Timescale and Timeunit

In reply to SumitGoel:

You have no code in the compilation unit scope, so that LRM rule does not apply here.

This forum is not for tool specific behavior, but the default timescale is tool dependant. Also, the default behavior for whether each file on the command line becomes a separate compilation unit is also tool dependent. To be sure, use separate command lines to compile each file.