Review Board 2.0.15


Gem5 with SystemC support.

Review Request #1928 - Created June 17, 2013 and discarded

Information
Frédéric Konrad
gem5
Reviewers
Default
This allows Gem5 to be build with SystemC kernel when build with 'scons sysc_build/*'.

NOTE: There is a small bug with SystemC 2.3.0 which is the following:

    systemc-2.3.0/include/sysc/communication/sc_interface.h:72: error: "__SUNPRO_CC" is not defined

and can be fixed by replacing

private:
	static sc_event m_never_notified;
#if __SUNPRO_CC == 0x520
	// Workaround for a bug in the Sun WorkShop 6 update 2 compiler.
	// An empty virtual base class can cause the optimizer to
	// generate wrong code.
	char dummy;
#endif
};

by

private:
	static sc_event m_never_notified;
#if defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x520)
	// Workaround for a bug in the Sun WorkShop 6 update 2 compiler.
	// An empty virtual base class can cause the optimizer to
	// generate wrong code.
	char dummy;
#endif
};

   

Issue Summary

2 2 0 0
Review request changed
Updated (Oct. 21, 2014, 9:08 a.m.)

Status: Discarded