systemc: Fix the default width values for the various sc_trace-s.
authorGabe Black <gabeblack@google.com>
Wed, 19 Sep 2018 23:18:16 +0000 (16:18 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 00:23:56 +0000 (00:23 +0000)
commitdfd2e7681e3bf87997ee65a5bc4fbd88cbb19935
tree9f69d25481e004b2cbf8574e15ae52c5292ae6aa
parentc288af7a2689d23eeb906e340a0255f9a51a30de
systemc: Fix the default width values for the various sc_trace-s.

These were all set to 8 * sizeof(char) instead of using the size of the
actual data type being traced.

Also add a very simple implementation to the generic sc_signal_in_if<T>
sc_trace which just delegates to the sc_trace of the underlying type T.

Change-Id: I129df46ef9d49705dc3dac76e30c0a3652c981eb
Reviewed-on: https://gem5-review.googlesource.com/c/12818
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/ext/utils/sc_trace_file.hh