Your sig2 is an output from client model and hence that will win over
the local signal initialization done at top_level. Since sig2 is not
being driven by your client model, it stays at U.
Sig3 is initialized by the client model's output itself.
Does that explain?
Regards
Ajeetha, CVC
www.noveldv.com
* A Pragmatic Approach to VMM Adoption 2006 ISBN 0-9705394-9-5
h**p://www.systemverilog.us/
* SystemVerilog Assertions Handbook
* Using PSL/Sugar
Analog_Guy wrote:
> I have a really simple setup to test the initialization of signals, and
> am a little confused as to the simulator results.
>