util: Add some examples for using systemc code within gem5.
authorGabe Black <gabeblack@google.com>
Thu, 11 Oct 2018 00:43:29 +0000 (17:43 -0700)
committerGabe Black <gabeblack@google.com>
Fri, 2 Nov 2018 20:42:42 +0000 (20:42 +0000)
commitfd294813c443fc1e80ed77a76b172d7103cb3fbf
treea1001c81c9bfbf11099e0d5faec92b4ffc57f711
parentc71dfc17a7f5601de06085b6c2fe5efd9e3ea11f
util: Add some examples for using systemc code within gem5.

These examples have comments inside them that explain what they do.
There's also a README file which explains how to use the examples
generally, and at a high level what each one does.

Change-Id: I223963dc1c190289986b2ee5705910dbcad4a4c9
Reviewed-on: https://gem5-review.googlesource.com/c/13376
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
util/systemc/systemc_within_gem5/README [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_sc_main/SConscript [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_sc_main/config.py [new file with mode: 0755]
util/systemc/systemc_within_gem5/systemc_sc_main/sc_main.cc [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_simple_object/SConscript [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_simple_object/SystemC_Example.py [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_simple_object/config.py [new file with mode: 0755]
util/systemc/systemc_within_gem5/systemc_simple_object/feeder.cc [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_simple_object/feeder.hh [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_simple_object/printer.cc [new file with mode: 0644]
util/systemc/systemc_within_gem5/systemc_simple_object/printer.hh [new file with mode: 0644]