systemc: Use the new python interface to delay fixing the timescale.
authorGabe Black <gabeblack@google.com>
Tue, 7 Aug 2018 10:54:08 +0000 (03:54 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Sep 2018 01:40:30 +0000 (01:40 +0000)
commit88be5e34f66acaac13a0bd0f52b55eecb22cde1d
tree5ad6fea46b469c8042e8e913ab3fd1dae2f62481
parent33e3365bf9876b09362897a3ad9941090e3aca9c
systemc: Use the new python interface to delay fixing the timescale.

This is necessary if an sc_time object is constructed globally, either
directly or indirectly, before python is available to fix the
timescale. The call will be deferred until the interpretter is up and
ready.

Change-Id: I486c0a90d44a0e0f0ad8c530b7148e1cff04a5cc
Reviewed-on: https://gem5-review.googlesource.com/12070
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/core/sc_time.cc