History log of /gem5/src/systemc/dt/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
13325:86323e6cc8ec 08-Oct-2018 Gabe Black <gabeblack@google.com>

systemc: Switch to using predefined messages for datatypes.

Create and use predefined messages for datatypes which match the ones
Accellera uses.

Change-Id: I92dd52f62462b864264217bb81f3ff1dcec020bf
Reviewed-on: https://gem5-review.googlesource.com/c/13331
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13322:7391057615bd 07-Oct-2018 Gabe Black <gabeblack@google.com>

systemc: Switch to using predefined messages for utils.

Create and use predefined messages for utils which match the ones
Accellera uses.

Change-Id: I932b7206fc16181d01a0d5b7441ce617b30e5365
Reviewed-on: https://gem5-review.googlesource.com/c/13328
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13286:89bb6d42831c 03-Oct-2018 Gabe Black <gabeblack@google.com>

systemc: Add a simple implementation for sc_mempool.

This class is supposed to be a more efficient way to manage small bits
of memory. At least for now, new and delete will do the same job
functionally. Also, the heap manager may be just as efficient as
whatever custom mechanism sc_mempool would use.

Change-Id: I6fdc01a69ca017d94b14a15a196ad29b66ef9858
Reviewed-on: https://gem5-review.googlesource.com/c/13292
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13197:aeba6988033f 11-Sep-2018 Gabe Black <gabeblack@google.com>

systemc: Ensure SC_LONG_64 is defined and available.

The datatype code was checking if SC_LONG_64 was defined to determine
if a long was 64 bits. The code that would define that value was
dropped when porting over from the Accellera implementation, and so
the wrong code was being included. This change both makes those checks
look at the *value* of SC_LONG_64 to ensure that it's not missing by
accident, and assigns it a value in sc_fxdefs.hh.

Change-Id: Ie9bb1146452a3db1d9d99c0db575098bb06463ff
Reviewed-on: https://gem5-review.googlesource.com/c/12616
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13160:1e959d3afc64 05-Sep-2018 Gabe Black <gabeblack@google.com>

systemc: "Fix" some error message formatting.

These changes make the output match what Accellera outputs so that the
tests will pass.

Change-Id: I1260cec35fa39586fbef39047b9da4ff3c03b3ed
Reviewed-on: https://gem5-review.googlesource.com/c/12592
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13138:31951157e41e 30-Aug-2018 Gabe Black <gabeblack@google.com>

systemc: Adjust some error messages to match Accellera.

Those messages include an error number in the Accellera implementation.
Add those numbers to gem5 so it's easier to check against golden
reference output for the regression tests.

Change-Id: I35054dd187e86a87eb177f4695d61044c58ce262
Reviewed-on: https://gem5-review.googlesource.com/c/12450
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13071:91e07c3feb64 21-Aug-2018 Gabe Black <gabeblack@google.com>

systemc: Implement most of sc_inout.

Because sc_inout needs sc_dt::sc_logic and that probably calls
functions from dt_sc_mempool.cc and because those hadn't yet been
stubbed out. This change adds stubs for those as well.

Change-Id: I544a1669575b594d4612558b8b6f47668ac94414
Reviewed-on: https://gem5-review.googlesource.com/12221
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13032:35f2d72d73c8 28-Jul-2018 Gabe Black <gabeblack@google.com>

systemc: Adjust a warning to match Accellera.

This is to pass fix a diff in the regression tests.

Change-Id: Id1b963df647224d7a3589febe7986353a4a8e440
Reviewed-on: https://gem5-review.googlesource.com/12063
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

13011:8809582e38f6 28-Jul-2018 Gabe Black <gabeblack@google.com>

systemc: Adjust some whitespace in a print out.

This makes a test output file diff successfully.

Change-Id: Ia269b4b33f719a2559197d9296f9acc601ec65f7
Reviewed-on: https://gem5-review.googlesource.com/12062
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

12854:c95c35407325 24-May-2018 Gabe Black <gabeblack@google.com>

systemc: Add the Accellera implementation for the data type classes.

These files have been cleaned up style wise, and some macros have been
resolved like they were for the header files.

Change-Id: I447e5311961036847e7da0c5a86c0da25a633010
Reviewed-on: https://gem5-review.googlesource.com/10844
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

12837:413a7b490b1b 08-May-2018 Gabe Black <gabeblack@google.com>

systemc: Seperate the "external" header interface.

Most (but not all) of the SystemC headers are part of the "external"
interface that an existing, standard compliant module would include
through <systemc.h> or <systemc>. Since those follow slightly different
rules (relative includes, no gem5 includes), this change separates them
out so that they're easier to identify.

Also, this change moves the other files into a "core" subdirectory,
with the intention to add a "dt", aka data type, directory some time in
the future when those standard defined types are implemented.

Change-Id: Ida63f9cc0bc0431024d4dd691cc5b22b944a99a8
Reviewed-on: https://gem5-review.googlesource.com/10835
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>


/gem5/src/systemc/SConscript
/gem5/src/systemc/SystemC.py
/gem5/src/systemc/core/SConscript
/gem5/src/systemc/core/SystemC.py
/gem5/src/systemc/core/kernel.cc
/gem5/src/systemc/core/kernel.hh
/gem5/src/systemc/core/sc_attr.cc
/gem5/src/systemc/core/sc_event.cc
/gem5/src/systemc/core/sc_export.cc
/gem5/src/systemc/core/sc_interface.cc
/gem5/src/systemc/core/sc_main.cc
/gem5/src/systemc/core/sc_module.cc
/gem5/src/systemc/core/sc_module_name.cc
/gem5/src/systemc/core/sc_object.cc
/gem5/src/systemc/core/sc_port.cc
/gem5/src/systemc/core/sc_prim.cc
/gem5/src/systemc/core/sc_sensitive.cc
/gem5/src/systemc/core/sc_time.cc
int/sc_nbdefs.hh
/gem5/src/systemc/ext/core/sc_attr.hh
/gem5/src/systemc/ext/core/sc_event.hh
/gem5/src/systemc/ext/core/sc_export.hh
/gem5/src/systemc/ext/core/sc_interface.hh
/gem5/src/systemc/ext/core/sc_main.hh
/gem5/src/systemc/ext/core/sc_module.hh
/gem5/src/systemc/ext/core/sc_module_name.hh
/gem5/src/systemc/ext/core/sc_object.hh
/gem5/src/systemc/ext/core/sc_port.hh
/gem5/src/systemc/ext/core/sc_prim.hh
/gem5/src/systemc/ext/core/sc_sensitive.hh
/gem5/src/systemc/ext/core/sc_time.hh
/gem5/src/systemc/ext/dt/int/sc_nbdefs.hh
/gem5/src/systemc/kernel.cc
/gem5/src/systemc/kernel.hh
/gem5/src/systemc/sc_attr.cc
/gem5/src/systemc/sc_attr.hh
/gem5/src/systemc/sc_event.cc
/gem5/src/systemc/sc_event.hh
/gem5/src/systemc/sc_export.cc
/gem5/src/systemc/sc_export.hh
/gem5/src/systemc/sc_interface.cc
/gem5/src/systemc/sc_interface.hh
/gem5/src/systemc/sc_main.cc
/gem5/src/systemc/sc_main.hh
/gem5/src/systemc/sc_module.cc
/gem5/src/systemc/sc_module.hh
/gem5/src/systemc/sc_module_name.cc
/gem5/src/systemc/sc_module_name.hh
/gem5/src/systemc/sc_object.cc
/gem5/src/systemc/sc_object.hh
/gem5/src/systemc/sc_port.cc
/gem5/src/systemc/sc_port.hh
/gem5/src/systemc/sc_prim.cc
/gem5/src/systemc/sc_prim.hh
/gem5/src/systemc/sc_sensitive.cc
/gem5/src/systemc/sc_sensitive.hh
/gem5/src/systemc/sc_time.cc
/gem5/src/systemc/sc_time.hh
12827:9ca4f16ec978 07-May-2018 Gabe Black <gabeblack@google.com>

systemc: Add the sc_nbdefs.hh header from Accellera.

This header defines the uint64 type alias needed for the sc_time class.

Change-Id: I7793dbfb98001796c8c8fe24f69fe7868249ff85
Reviewed-on: https://gem5-review.googlesource.com/10826
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>