History log of /gem5/ext/systemc/src/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
12563:8d59ed22ae79 06-Mar-2018 Gabe Black <gabeblack@google.com>

scons: Switch from the print statement to the print function.

Starting with version 3, scons imposes using the print function instead
of the print statement in code it processes. To get things building
again, this change moves all python code within gem5 to use the
function version. Another change by another author separately made this
same change to the site_tools and site_init.py files.

Change-Id: I2de7dc3b1be756baad6f60574c47c8b7e80ea3b0
Reviewed-on: https://gem5-review.googlesource.com/8761
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>

12046:35899b7da75f 19-May-2017 Gabe Black <gabeblack@google.com>

ext: Revamp the systemc SConscripts.

The existing scripts were including pthread code and QT code at the same
time, and also insisting on an having a set of architecture specific
source files for whatever the current architecture is.

This change selects using either QT or pthreads based on the host
architecture, distributes accumulating source files, list source files
explicitly (to avoid including redundant coroutine libraries) and makes
scons insist on an architecture specific QT implementation only if QT is
being used. It also defines a preprocessor symbol which tells some headers
whether or not pthreads are being used, and also clones the scons
environment to avoid leaking flags into the main environment used to
compile gem5 itself.

If the host architecture isn't supported by systemc, a warning will be
printed, and the various build products and SConscript files will be
skipped over.

Change-Id: I1a40123a11e49e02922a054f093246cf197087bf
Reviewed-on: https://gem5-review.googlesource.com/3461
Reviewed-by: Matthias Jung <jungma@eit.uni-kl.de>
Reviewed-by: Christian Menard <christian.menard@tu-dresden.de>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>

12027:1eb7dc7aa10b 01-Mar-2017 Matthias Jung <jungma@eit.uni-kl.de>

ext: Include SystemC 2.3.1 into gem5

In the past it happened several times that some changes in gem5 broke the
SystemC coupling. Recently Accelera has changed the licence for SystemC
from their own licence to Apache2.0, which is compatible with gem5.
However, SystemC usually relies on the Boost library, but I was able to
exchange the boost calls by c++11 alternatives. The recent SystemC version
is placed into /ext and is integrated into gem5's build system. The goal is
to integrate some SystemC tests for the CI in some following patches.

Change-Id: I4b66ec806b5e3cffc1d7c85d3735ff4fa5b31fd0
Reviewed-on: https://gem5-review.googlesource.com/2240
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>


/gem5/ext/systemc/AUTHORS
/gem5/ext/systemc/ChangeLog
/gem5/ext/systemc/INSTALL
/gem5/ext/systemc/LICENSE
/gem5/ext/systemc/NEWS
/gem5/ext/systemc/NOTICE
/gem5/ext/systemc/README.gem5.md
/gem5/ext/systemc/README.md
/gem5/ext/systemc/README.sysc
/gem5/ext/systemc/RELEASENOTES
/gem5/ext/systemc/SConscript
README_TLM.txt
sysc/communication/sc_buffer.h
sysc/communication/sc_clock.cpp
sysc/communication/sc_clock.h
sysc/communication/sc_clock_ports.h
sysc/communication/sc_communication_ids.h
sysc/communication/sc_event_finder.cpp
sysc/communication/sc_event_finder.h
sysc/communication/sc_event_queue.cpp
sysc/communication/sc_event_queue.h
sysc/communication/sc_export.cpp
sysc/communication/sc_export.h
sysc/communication/sc_fifo.h
sysc/communication/sc_fifo_ifs.h
sysc/communication/sc_fifo_ports.h
sysc/communication/sc_host_mutex.h
sysc/communication/sc_interface.cpp
sysc/communication/sc_interface.h
sysc/communication/sc_mutex.cpp
sysc/communication/sc_mutex.h
sysc/communication/sc_mutex_if.h
sysc/communication/sc_port.cpp
sysc/communication/sc_port.h
sysc/communication/sc_prim_channel.cpp
sysc/communication/sc_prim_channel.h
sysc/communication/sc_semaphore.cpp
sysc/communication/sc_semaphore.h
sysc/communication/sc_semaphore_if.h
sysc/communication/sc_signal.cpp
sysc/communication/sc_signal.h
sysc/communication/sc_signal_ifs.h
sysc/communication/sc_signal_ports.cpp
sysc/communication/sc_signal_ports.h
sysc/communication/sc_signal_resolved.cpp
sysc/communication/sc_signal_resolved.h
sysc/communication/sc_signal_resolved_ports.cpp
sysc/communication/sc_signal_resolved_ports.h
sysc/communication/sc_signal_rv.h
sysc/communication/sc_signal_rv_ports.h
sysc/communication/sc_writer_policy.h
sysc/datatypes/bit/sc_bit.cpp
sysc/datatypes/bit/sc_bit.h
sysc/datatypes/bit/sc_bit_ids.h
sysc/datatypes/bit/sc_bit_proxies.h
sysc/datatypes/bit/sc_bv.h
sysc/datatypes/bit/sc_bv_base.cpp
sysc/datatypes/bit/sc_bv_base.h
sysc/datatypes/bit/sc_logic.cpp
sysc/datatypes/bit/sc_logic.h
sysc/datatypes/bit/sc_lv.h
sysc/datatypes/bit/sc_lv_base.cpp
sysc/datatypes/bit/sc_lv_base.h
sysc/datatypes/bit/sc_proxy.h
sysc/datatypes/fx/fx.h
sysc/datatypes/fx/sc_context.h
sysc/datatypes/fx/sc_fix.h
sysc/datatypes/fx/sc_fixed.h
sysc/datatypes/fx/sc_fx_ids.h
sysc/datatypes/fx/sc_fxcast_switch.cpp
sysc/datatypes/fx/sc_fxcast_switch.h
sysc/datatypes/fx/sc_fxdefs.cpp
sysc/datatypes/fx/sc_fxdefs.h
sysc/datatypes/fx/sc_fxnum.cpp
sysc/datatypes/fx/sc_fxnum.h
sysc/datatypes/fx/sc_fxnum_observer.cpp
sysc/datatypes/fx/sc_fxnum_observer.h
sysc/datatypes/fx/sc_fxtype_params.cpp
sysc/datatypes/fx/sc_fxtype_params.h
sysc/datatypes/fx/sc_fxval.cpp
sysc/datatypes/fx/sc_fxval.h
sysc/datatypes/fx/sc_fxval_observer.cpp
sysc/datatypes/fx/sc_fxval_observer.h
sysc/datatypes/fx/sc_ufix.h
sysc/datatypes/fx/sc_ufixed.h
sysc/datatypes/fx/scfx_ieee.h
sysc/datatypes/fx/scfx_mant.cpp
sysc/datatypes/fx/scfx_mant.h
sysc/datatypes/fx/scfx_other_defs.h
sysc/datatypes/fx/scfx_params.h
sysc/datatypes/fx/scfx_pow10.cpp
sysc/datatypes/fx/scfx_pow10.h
sysc/datatypes/fx/scfx_rep.cpp
sysc/datatypes/fx/scfx_rep.h
sysc/datatypes/fx/scfx_string.h
sysc/datatypes/fx/scfx_utils.cpp
sysc/datatypes/fx/scfx_utils.h
sysc/datatypes/int/sc_bigint.h
sysc/datatypes/int/sc_biguint.h
sysc/datatypes/int/sc_int.h
sysc/datatypes/int/sc_int32_mask.cpp
sysc/datatypes/int/sc_int64_io.cpp
sysc/datatypes/int/sc_int64_mask.cpp
sysc/datatypes/int/sc_int_base.cpp
sysc/datatypes/int/sc_int_base.h
sysc/datatypes/int/sc_int_ids.h
sysc/datatypes/int/sc_length_param.cpp
sysc/datatypes/int/sc_length_param.h
sysc/datatypes/int/sc_nbcommon.inc
sysc/datatypes/int/sc_nbdefs.cpp
sysc/datatypes/int/sc_nbdefs.h
sysc/datatypes/int/sc_nbexterns.cpp
sysc/datatypes/int/sc_nbexterns.h
sysc/datatypes/int/sc_nbfriends.inc
sysc/datatypes/int/sc_nbutils.cpp
sysc/datatypes/int/sc_nbutils.h
sysc/datatypes/int/sc_signed.cpp
sysc/datatypes/int/sc_signed.h
sysc/datatypes/int/sc_signed_bitref.inc
sysc/datatypes/int/sc_signed_subref.inc
sysc/datatypes/int/sc_uint.h
sysc/datatypes/int/sc_uint_base.cpp
sysc/datatypes/int/sc_uint_base.h
sysc/datatypes/int/sc_unsigned.cpp
sysc/datatypes/int/sc_unsigned.h
sysc/datatypes/int/sc_unsigned_bitref.inc
sysc/datatypes/int/sc_unsigned_subref.inc
sysc/datatypes/misc/sc_concatref.cpp
sysc/datatypes/misc/sc_concatref.h
sysc/datatypes/misc/sc_value_base.cpp
sysc/datatypes/misc/sc_value_base.h
sysc/kernel/sc_attribute.cpp
sysc/kernel/sc_attribute.h
sysc/kernel/sc_boost.h
sysc/kernel/sc_cmnhdr.h
sysc/kernel/sc_constants.h
sysc/kernel/sc_cor.h
sysc/kernel/sc_cor_fiber.cpp
sysc/kernel/sc_cor_fiber.h
sysc/kernel/sc_cor_pthread.cpp
sysc/kernel/sc_cor_pthread.h
sysc/kernel/sc_cor_qt.cpp
sysc/kernel/sc_cor_qt.h
sysc/kernel/sc_cthread_process.cpp
sysc/kernel/sc_cthread_process.h
sysc/kernel/sc_dynamic_processes.h
sysc/kernel/sc_event.cpp
sysc/kernel/sc_event.h
sysc/kernel/sc_except.cpp
sysc/kernel/sc_except.h
sysc/kernel/sc_externs.h
sysc/kernel/sc_join.cpp
sysc/kernel/sc_join.h
sysc/kernel/sc_kernel_ids.h
sysc/kernel/sc_macros.h
sysc/kernel/sc_main.cpp
sysc/kernel/sc_main_main.cpp
sysc/kernel/sc_method_process.cpp
sysc/kernel/sc_method_process.h
sysc/kernel/sc_module.cpp
sysc/kernel/sc_module.h
sysc/kernel/sc_module_name.cpp
sysc/kernel/sc_module_name.h
sysc/kernel/sc_module_registry.cpp
sysc/kernel/sc_module_registry.h
sysc/kernel/sc_name_gen.cpp
sysc/kernel/sc_name_gen.h
sysc/kernel/sc_object.cpp
sysc/kernel/sc_object.h
sysc/kernel/sc_object_int.h
sysc/kernel/sc_object_manager.cpp
sysc/kernel/sc_object_manager.h
sysc/kernel/sc_phase_callback_registry.cpp
sysc/kernel/sc_phase_callback_registry.h
sysc/kernel/sc_process.cpp
sysc/kernel/sc_process.h
sysc/kernel/sc_process_handle.h
sysc/kernel/sc_reset.cpp
sysc/kernel/sc_reset.h
sysc/kernel/sc_runnable.h
sysc/kernel/sc_runnable_int.h
sysc/kernel/sc_sensitive.cpp
sysc/kernel/sc_sensitive.h
sysc/kernel/sc_simcontext.cpp
sysc/kernel/sc_simcontext.h
sysc/kernel/sc_simcontext_int.h
sysc/kernel/sc_spawn.h
sysc/kernel/sc_spawn_options.cpp
sysc/kernel/sc_spawn_options.h
sysc/kernel/sc_status.h
sysc/kernel/sc_thread_process.cpp
sysc/kernel/sc_thread_process.h
sysc/kernel/sc_time.cpp
sysc/kernel/sc_time.h
sysc/kernel/sc_ver.cpp
sysc/kernel/sc_ver.h
sysc/kernel/sc_wait.cpp
sysc/kernel/sc_wait.h
sysc/kernel/sc_wait_cthread.cpp
sysc/kernel/sc_wait_cthread.h
sysc/qt/CHANGES
sysc/qt/INSTALL
sysc/qt/README
sysc/qt/README.MISC
sysc/qt/README.PORT
sysc/qt/b.h
sysc/qt/config
sysc/qt/copyright.h
sysc/qt/md/axp.1.Makefile
sysc/qt/md/axp.2.Makefile
sysc/qt/md/axp.Makefile
sysc/qt/md/axp.README
sysc/qt/md/axp.c
sysc/qt/md/axp.h
sysc/qt/md/axp.s
sysc/qt/md/axp_b.s
sysc/qt/md/default.Makefile
sysc/qt/md/hppa-cnx.Makefile
sysc/qt/md/hppa.Makefile
sysc/qt/md/hppa.h
sysc/qt/md/hppa.s
sysc/qt/md/hppa_b.s
sysc/qt/md/i386.README
sysc/qt/md/i386.h
sysc/qt/md/i386.s
sysc/qt/md/i386_b.s
sysc/qt/md/iX86_64.h
sysc/qt/md/iX86_64.s
sysc/qt/md/ksr1.Makefile
sysc/qt/md/ksr1.h
sysc/qt/md/ksr1.s
sysc/qt/md/ksr1_b.s
sysc/qt/md/m88k.Makefile
sysc/qt/md/m88k.c
sysc/qt/md/m88k.h
sysc/qt/md/m88k.s
sysc/qt/md/m88k_b.s
sysc/qt/md/mips-irix5.s
sysc/qt/md/mips.h
sysc/qt/md/mips.s
sysc/qt/md/mips_b.s
sysc/qt/md/null.README
sysc/qt/md/null.c
sysc/qt/md/null.s
sysc/qt/md/powerpc.README
sysc/qt/md/powerpc.c
sysc/qt/md/powerpc_mach.h
sysc/qt/md/powerpc_mach.s
sysc/qt/md/powerpc_mach_b.s
sysc/qt/md/powerpc_sys5.h
sysc/qt/md/powerpc_sys5.s
sysc/qt/md/powerpc_sys5_b.s
sysc/qt/md/pthreads.Makefile
sysc/qt/md/solaris.README
sysc/qt/md/sparc.h
sysc/qt/md/sparc.s
sysc/qt/md/sparc_b.s
sysc/qt/md/vax.h
sysc/qt/md/vax.s
sysc/qt/md/vax_b.s
sysc/qt/meas.c
sysc/qt/qt.c
sysc/qt/qt.h
sysc/qt/qtmd.h
sysc/qt/stp.c
sysc/qt/stp.h
sysc/qt/time/README.time
sysc/qt/time/assim
sysc/qt/time/cswap
sysc/qt/time/go
sysc/qt/time/init
sysc/qt/time/prim
sysc/qt/time/raw
sysc/systemc.pc.in
sysc/tracing/sc_trace.cpp
sysc/tracing/sc_trace.h
sysc/tracing/sc_trace_file_base.cpp
sysc/tracing/sc_trace_file_base.h
sysc/tracing/sc_tracing_ids.h
sysc/tracing/sc_vcd_trace.cpp
sysc/tracing/sc_vcd_trace.h
sysc/tracing/sc_wif_trace.cpp
sysc/tracing/sc_wif_trace.h
sysc/utils/sc_hash.cpp
sysc/utils/sc_hash.h
sysc/utils/sc_iostream.h
sysc/utils/sc_list.cpp
sysc/utils/sc_list.h
sysc/utils/sc_machine.h
sysc/utils/sc_mempool.cpp
sysc/utils/sc_mempool.h
sysc/utils/sc_pq.cpp
sysc/utils/sc_pq.h
sysc/utils/sc_pvector.h
sysc/utils/sc_report.cpp
sysc/utils/sc_report.h
sysc/utils/sc_report_handler.cpp
sysc/utils/sc_report_handler.h
sysc/utils/sc_stop_here.cpp
sysc/utils/sc_stop_here.h
sysc/utils/sc_string.cpp
sysc/utils/sc_string.h
sysc/utils/sc_temporary.h
sysc/utils/sc_utils_ids.cpp
sysc/utils/sc_utils_ids.h
sysc/utils/sc_vector.cpp
sysc/utils/sc_vector.h
systemc
systemc.h
tlm
tlm.h
tlm_core/tlm.pc.in
tlm_core/tlm_1/README.txt
tlm_core/tlm_1/tlm_analysis/tlm_analysis.h
tlm_core/tlm_1/tlm_analysis/tlm_analysis_fifo.h
tlm_core/tlm_1/tlm_analysis/tlm_analysis_if.h
tlm_core/tlm_1/tlm_analysis/tlm_analysis_port.h
tlm_core/tlm_1/tlm_analysis/tlm_analysis_triple.h
tlm_core/tlm_1/tlm_analysis/tlm_write_if.h
tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_core_ifs.h
tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_fifo_ifs.h
tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_master_slave_ifs.h
tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_tag.h
tlm_core/tlm_1/tlm_req_rsp/tlm_adapters/tlm_adapters.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/circular_buffer.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_peek.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_put_get.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_resize.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_put_get_imp.h
tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_req_rsp_channels.h
tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h
tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_nonblocking_port.h
tlm_core/tlm_1/tlm_req_rsp/tlm_req_rsp.h
tlm_core/tlm_2/README.txt
tlm_core/tlm_2/tlm_2_interfaces/tlm_2_interfaces.h
tlm_core/tlm_2/tlm_2_interfaces/tlm_dmi.h
tlm_core/tlm_2/tlm_2_interfaces/tlm_fw_bw_ifs.h
tlm_core/tlm_2/tlm_generic_payload/tlm_array.h
tlm_core/tlm_2/tlm_generic_payload/tlm_endian_conv.h
tlm_core/tlm_2/tlm_generic_payload/tlm_generic_payload.h
tlm_core/tlm_2/tlm_generic_payload/tlm_gp.h
tlm_core/tlm_2/tlm_generic_payload/tlm_helpers.h
tlm_core/tlm_2/tlm_generic_payload/tlm_phase.h
tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.h
tlm_core/tlm_2/tlm_quantum/tlm_quantum.h
tlm_core/tlm_2/tlm_sockets/tlm_initiator_socket.h
tlm_core/tlm_2/tlm_sockets/tlm_sockets.h
tlm_core/tlm_2/tlm_sockets/tlm_target_socket.h
tlm_core/tlm_2/tlm_version.h
tlm_utils/README.txt
tlm_utils/instance_specific_extensions.h
tlm_utils/multi_passthrough_initiator_socket.h
tlm_utils/multi_passthrough_target_socket.h
tlm_utils/multi_socket_bases.h
tlm_utils/passthrough_target_socket.h
tlm_utils/peq_with_cb_and_phase.h
tlm_utils/peq_with_get.h
tlm_utils/simple_initiator_socket.h
tlm_utils/simple_target_socket.h
tlm_utils/tlm2_base_protocol_checker.h
tlm_utils/tlm_quantumkeeper.h