Skip Nav
Home » Forums » SystemC Forum

Icon - KMLM List KMLM List

View email archives for the history of this mailing list.

List Home All Archives Dates Threads Authors Subjects
systemc-forum - RE: [Systemc-forum] warnings....... Message Thread: Previous | Next
  • To: Stéphane Guntz <guntz@xxxxxxxxxxxx>
  • From: Bernard Deadman <bdeadman@xxxxxxxxxx>
  • Date: Wed, 03 Apr 2002 10:37:56 -0600
  • Cc: "Asif CN" <asifcn@xxxxxxxxx>,<systemc-forum@xxxxxxxxxxx>
Send Email to systemc-forum@osci.kavi.com:
Send new message
Reply to this message
Hi,

I think the type conversion errors could be important. Because you only have a small number of warnings, my guess would be you have an initialization problem. You are probably trying to assign values during or shortly after the reset period that have not been initialized to '0' or '1'. If you rely on this behavior you *MIGHT* have a risk that the design will start up in the wrong state because the silicon will not necessarily make the same default assumptions as SystemC.

Bernard


At 05:34 PM 4/3/2002 +0200, Stéphane Guntz wrote:
Hi,
sc_logic can have four different values: X, Z, 0 or 1. If you're trying
to convert an sc_logic, which has a value of X or Z, into a boolean, you
will have an error, and that is why you have a warning, telling you that
you could possibly encounter problems during your conversion.

In your  case, your program executes well because your sc_logic values
are certainly always 0 or 1. Have a look at the user guide for more
informations about systemC data types.

For the last warning ("Default VCD time step"), check on previous mails
on the forum (look at the "trace timescale" thread), for the
"sc_set_vcd_time_unit" function, to select default vcd time.

Hope this helps,


------------------------------------------------------- Stéphane GUNTZ PROSILOG 8 rue Traversière 95000 Cergy Préfecture FRANCE www.prosilog.com

Tel: 00 33 (0)1 34 25 54 54
Fax: 00 33 (0)1 34 25 54 55
-------------------------------------------------------

-----Message d'origine-----
De : Asif CN [mailto:asifcn@xxxxxxxxx]
Envoyé : mercredi 3 avril 2002 15:22
À : systemc-forum@xxxxxxxxxxx
Objet : [Systemc-forum] warnings.......



 hi all,

while i am executing the .exe file i could get the following
"warnings"...

will these make any problem with my design?? but i'm getting the output
as desired...

kindly comment on this please...

thanks in advance

asif

=============================

              SystemC 2.0 --- Mar 11 2002 11:18:42
        Copyright (c) 1996-2001 by all Contributors
                    ALL RIGHTS RESERVED

WARNING: (E9005) SC_ERR_SC_LOGIC : sc_logic value `X' cannot be
converted to bool
 - c:\systemc\systemc-2.0\src\systemc\datatypes\bit\sc_logic.cpp: 49

WARNING: (E9005) SC_ERR_SC_LOGIC : sc_logic value `X' cannot be
converted to bool
 - c:\systemc\systemc-2.0\src\systemc\datatypes\bit\sc_logic.cpp: 49

WARNING: (E9005) SC_ERR_SC_LOGIC : sc_logic value `X' cannot be
converted to bool
 - c:\systemc\systemc-2.0\src\systemc\datatypes\bit\sc_logic.cpp: 49

WARNING: (E9005) SC_ERR_SC_LOGIC : sc_logic value `X' cannot be
converted to bool
 - c:\systemc\systemc-2.0\src\systemc\datatypes\bit\sc_logic.cpp: 49

WARNING: (E9005) SC_ERR_SC_LOGIC : sc_logic value `X' cannot be
converted to bool
 - c:\systemc\systemc-2.0\src\systemc\datatypes\bit\sc_logic.cpp: 49
WARNING: Default time step is used for VCD tracing.
Press any key to continue

===================




_____

Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax


_______________________________________________ Systemc-forum mailing list Systemc-forum@xxxxxxxxxxxxxxxxxxx https://server2.systemc.org/mailman/listinfo/systemc-forum

====================================================================
SDV Inc. 9111 Jollyville Rd, Suite 102, Austin, TX 78759 USA
Phone: (512) 231-9806 xt 101 FAX: (512) 231-9807 Mobile: (512) 431-5126
Email: bdeadman@xxxxxxxxxx Website: www.sdvinc.com





By Date: Previous | Next Current Thread By Thread: Previous | Next


  Mail converted by the most-excellent MHonArc 2.6.10