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] Multiple verilog blocks with SystemC Message Thread: Previous | Next
  • To: "James Watt" <jwatt@xxxxxxx>, "David C Black" <dcblack@xxxxxxxx>
  • From: "Stuart Swan" <stuart@xxxxxxxxxxx>
  • Date: Tue, 31 May 2005 11:12:28 -0700
  • Cc: <Systemc-forum@xxxxxxxxxxx>
Send Email to systemc-forum@osci.kavi.com:
Send new message
Reply to this message
 
James-
 
sc_start() also causes SystemC elaboration to occur if it has
not already occurred. It is quite possible that there is a bug in your
design that causes the segfault during elaboration, and that is what
you are seeing. You may want to inspect the module ctors of recently
added modules, run your design using purify, test your design on a
different
compiler/platform, etc., to try to identify
the problem.
 
-Stuart


________________________________

        From: systemc-forum-admin@xxxxxxxxxxx
[mailto:systemc-forum-admin@xxxxxxxxxxx] On Behalf Of James Watt
        Sent: Tuesday, May 31, 2005 10:18 AM
        To: David C Black; James Watt
        Cc: Systemc-forum@xxxxxxxxxxx
        Subject: RE: [Systemc-forum] Multiple verilog blocks with
SystemC
        
        

        > -----Original Message----- 
        > From: David C Black [mailto:dcblack@xxxxxxxx] 
        > Sent: Tuesday, May 31, 2005 12:56 PM 
        > To: James Watt 
        > Cc: Systemc-forum@xxxxxxxxxxx 
        > Subject: Re: [Systemc-forum] Multiple verilog blocks with
SystemC 
        > 
        > > Any ideas what the problem might be?  What does sc_start()
do that 
        > > might cause a segfault? 
        > sc_start() begins the simulation. It starts the kernel, which 
        > schedules processes (SC_METHOD's & SC_THREAD's) to run. 
        > 
        > Does it matter where in the hierarchy your models are? 

        Yes.  We have SC code at the top level that drives data into the
SC/verilog blocks. 

        > 
        > Whose simulator are you using for the Verilog part? 

        Cadence, but I have similar problems when using a
hardware/software cosimulator (time won't start because of segfault).
When using the hardware/software cosim I get the entire design in RTL
and just use the SystemC top level to drive the data in and check the
data as it comes out. 

        James. 

        > 
        > David C Black 
        > Your innovative SystemC design professional 
        > http://www.ESLX.com 
        > Voice/FAX: +1888.467.4609 
        > 


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


  Mail converted by the most-excellent MHonArc 2.6.10