systemc: configs: Add a very simple config which just runs sc_main.
authorGabe Black <gabeblack@google.com>
Sat, 9 Feb 2019 12:17:00 +0000 (04:17 -0800)
committerGabe Black <gabeblack@google.com>
Mon, 11 Feb 2019 07:36:16 +0000 (07:36 +0000)
commiteb5e99ec590cd92121c4361f389d4c289b6006ab
treed591bf3656e4b1836db2121e0683e71e96ec9863
parentbdef435d948a95207095fd1ee6359bdb622935f1
systemc: configs: Add a very simple config which just runs sc_main.

This config will just run the sc_main function (which must have been
provided in c++ somehow), passing through any of the scripts command
line arguments to sc_main.

Needing to do this sort of thing is common enough that there should be
a canned config which supports it.

Change-Id: I8f88ba4776b9ec919dd8145a58cd856e11ac4e77
Reviewed-on: https://gem5-review.googlesource.com/c/16287
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
configs/example/sc_main.py [new file with mode: 0755]