History log of /gem5/src/systemc/tlm_core/2/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
13723:c4e71f81c09b 15-Feb-2019 Gabe Black <gabeblack@google.com>

systemc: Export the tlm::tlm_global_quantum class to python.

This way the python code can set up the global quantum without having
an sc_main function to do it.

Change-Id: I96df4dea0f1bfe9e3e86d4784bbda8f5b6b74d0b
Reviewed-on: https://gem5-review.googlesource.com/c/16503
Maintainer: Gabe Black <gabeblack@google.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>

13586:008fe87c1ad4 22-Jan-2019 Gabe Black <gabeblack@google.com>

systemc: Fix TLM related includes.

There are a couple things this CL fixes related to the TLM #includes.

1. Removes #includes of <systemc> and <tlm>. These bring in a header
file from boost which shouldn't be necessary but which some of the
tests (and likely some external code) depends on. We avoid including
those in files built into gem5 itself so that gem5 isn't dependent on
boost.

2. All includes in ext should be relative. That way those headers can
be removed from gem5 and still build, allowing them to be moved over
to or referenced from a foreign codebase which isn't part of gem5.

Change-Id: I76e267385b48cb4fe93aea89ec8319c76465a0a4
Reviewed-on: https://gem5-review.googlesource.com/c/15796
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>


/gem5/src/systemc/ext/tlm_core/1/analysis/analysis.hh
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_fifo.hh
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_if.hh
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_port.hh
/gem5/src/systemc/ext/tlm_core/1/analysis/write_if.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/adapters/adapters.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/core_ifs.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/fifo_ifs.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/master_slave_ifs.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/ports/nonblocking_port.hh
/gem5/src/systemc/ext/tlm_core/1/req_rsp/req_rsp.hh
/gem5/src/systemc/ext/tlm_core/2/generic_payload/endian_conv.hh
/gem5/src/systemc/ext/tlm_core/2/generic_payload/generic_payload.hh
/gem5/src/systemc/ext/tlm_core/2/generic_payload/gp.hh
/gem5/src/systemc/ext/tlm_core/2/interfaces/dmi.hh
/gem5/src/systemc/ext/tlm_core/2/interfaces/fw_bw_ifs.hh
/gem5/src/systemc/ext/tlm_core/2/interfaces/interfaces.hh
/gem5/src/systemc/ext/tlm_core/2/quantum/global_quantum.hh
/gem5/src/systemc/ext/tlm_core/2/quantum/quantum.hh
/gem5/src/systemc/ext/tlm_core/2/sockets/base_socket_if.hh
/gem5/src/systemc/ext/tlm_core/2/sockets/initiator_socket.hh
/gem5/src/systemc/ext/tlm_core/2/sockets/sockets.hh
/gem5/src/systemc/ext/tlm_core/2/sockets/target_socket.hh
/gem5/src/systemc/ext/tlm_utils/convenience_socket_bases.h
/gem5/src/systemc/ext/tlm_utils/instance_specific_extensions.h
/gem5/src/systemc/ext/tlm_utils/instance_specific_extensions_int.h
/gem5/src/systemc/ext/tlm_utils/multi_passthrough_target_socket.h
/gem5/src/systemc/ext/tlm_utils/multi_socket_bases.h
/gem5/src/systemc/ext/tlm_utils/passthrough_target_socket.h
/gem5/src/systemc/ext/tlm_utils/peq_with_cb_and_phase.h
/gem5/src/systemc/ext/tlm_utils/peq_with_get.h
/gem5/src/systemc/ext/tlm_utils/simple_initiator_socket.h
/gem5/src/systemc/ext/tlm_utils/simple_target_socket.h
/gem5/src/systemc/ext/tlm_utils/tlm_quantumkeeper.h
generic_payload/gp.cc
generic_payload/phase.cc
quantum/global_quantum.cc
/gem5/src/systemc/tlm_utils/convenience_socket_bases.cc
/gem5/src/systemc/tlm_utils/instance_specific_extensions.cc
13524:7f0950094a4f 03-Jan-2019 Gabe Black <gabeblack@google.com>

systemc: Stop using the sc_string_view type.

It doesn't seem to provide anything more that std::string, and comes
with extra dependencies/baggage.

Change-Id: I2c599bcc93fa4a944ff249410d24e8f8be981afe
Reviewed-on: https://gem5-review.googlesource.com/c/15298
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>

13523:de27641700bb 03-Jan-2019 Gabe Black <gabeblack@google.com>

systemc: Replace sc_core::sc_type_index with std::type_index.

The former is either the same as the later, or a custom wrapper if
C++11 isn't supported. Since we generally expect C++11 support, we can
skip the indirection.

Change-Id: I9a45e3854bb7cc56d094e3fe2773fe4b5c94403b
Reviewed-on: https://gem5-review.googlesource.com/c/15297
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>

13519:4de99619b070 11-Dec-2018 Gabe Black <gabeblack@google.com>

systemc: Stop using the non-standard sc_time % in TLM.

The TLM headers were using the non-standard % operator on sc_time.
This change replaces that with % applied to the result of
sc_time::value().

Change-Id: Ic381eb1ada2c994d04e65896db178f58446944ae
Reviewed-on: https://gem5-review.googlesource.com/c/15062
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>

13516:315f10e2567b 11-Dec-2018 Gabe Black <gabeblack@google.com>

systemc: Remove redundant tlm_ prefixes from file names.

We already know those files belong to tlm because of the directory
they're in. Removing the prefix makes the paths of the headers less
enormously long.

Change-Id: I869e58fae904162f353bb31f4c0919fba08dffa6
Reviewed-on: https://gem5-review.googlesource.com/c/15059
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>


/gem5/src/systemc/ext/tlm
/gem5/src/systemc/ext/tlm_core/1/README.txt
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis.h
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_fifo.h
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_if.h
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_port.h
/gem5/src/systemc/ext/tlm_core/1/analysis/analysis_triple.h
/gem5/src/systemc/ext/tlm_core/1/analysis/write_if.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/adapters/adapters.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/circular_buffer.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_peek.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_put_get.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/fifo/fifo_resize.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/put_get_imp.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/channels/req_rsp_channels/req_rsp_channels.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/core_ifs.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/fifo_ifs.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/master_slave_ifs.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/interfaces/tag.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/ports/event_finder.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/ports/nonblocking_port.h
/gem5/src/systemc/ext/tlm_core/1/req_rsp/req_rsp.h
/gem5/src/systemc/ext/tlm_core/2/README.txt
/gem5/src/systemc/ext/tlm_core/2/generic_payload/array.h
/gem5/src/systemc/ext/tlm_core/2/generic_payload/endian_conv.h
/gem5/src/systemc/ext/tlm_core/2/generic_payload/generic_payload.h
/gem5/src/systemc/ext/tlm_core/2/generic_payload/gp.h
/gem5/src/systemc/ext/tlm_core/2/generic_payload/helpers.h
/gem5/src/systemc/ext/tlm_core/2/generic_payload/phase.h
/gem5/src/systemc/ext/tlm_core/2/interfaces/dmi.h
/gem5/src/systemc/ext/tlm_core/2/interfaces/fw_bw_ifs.h
/gem5/src/systemc/ext/tlm_core/2/interfaces/interfaces.h
/gem5/src/systemc/ext/tlm_core/2/quantum/global_quantum.h
/gem5/src/systemc/ext/tlm_core/2/quantum/quantum.h
/gem5/src/systemc/ext/tlm_core/2/sockets/base_socket_if.h
/gem5/src/systemc/ext/tlm_core/2/sockets/initiator_socket.h
/gem5/src/systemc/ext/tlm_core/2/sockets/sockets.h
/gem5/src/systemc/ext/tlm_core/2/sockets/target_socket.h
/gem5/src/systemc/ext/tlm_core/2/version.h
/gem5/src/systemc/ext/tlm_core/tlm_1/README.txt
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_analysis/tlm_analysis.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_analysis/tlm_analysis_fifo.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_analysis/tlm_analysis_if.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_analysis/tlm_analysis_port.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_analysis/tlm_analysis_triple.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_analysis/tlm_write_if.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_core_ifs.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_fifo_ifs.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_master_slave_ifs.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_1_interfaces/tlm_tag.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_adapters/tlm_adapters.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/circular_buffer.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_peek.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_put_get.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_fifo/tlm_fifo_resize.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_put_get_imp.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_channels/tlm_req_rsp_channels/tlm_req_rsp_channels.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_event_finder.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_ports/tlm_nonblocking_port.h
/gem5/src/systemc/ext/tlm_core/tlm_1/tlm_req_rsp/tlm_req_rsp.h
/gem5/src/systemc/ext/tlm_core/tlm_2/README.txt
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_2_interfaces/tlm_2_interfaces.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_2_interfaces/tlm_dmi.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_2_interfaces/tlm_fw_bw_ifs.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_generic_payload/tlm_array.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_generic_payload/tlm_endian_conv.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_generic_payload/tlm_generic_payload.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_generic_payload/tlm_helpers.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_quantum/tlm_quantum.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_sockets/tlm_base_socket_if.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_sockets/tlm_initiator_socket.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_sockets/tlm_sockets.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_sockets/tlm_target_socket.h
/gem5/src/systemc/ext/tlm_core/tlm_2/tlm_version.h
/gem5/src/systemc/ext/tlm_utils/tlm_quantumkeeper.h
generic_payload/SConscript
generic_payload/gp.cc
generic_payload/phase.cc
quantum/SConscript
quantum/global_quantum.cc
/gem5/src/systemc/tlm_core/tlm_2/tlm_generic_payload/SConscript
/gem5/src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_gp.cc
/gem5/src/systemc/tlm_core/tlm_2/tlm_generic_payload/tlm_phase.cc
/gem5/src/systemc/tlm_core/tlm_2/tlm_quantum/SConscript
/gem5/src/systemc/tlm_core/tlm_2/tlm_quantum/tlm_global_quantum.cc