systemc: Remove a hack which scaled sc_time into ps unnecessarily.
sc_time is now represented in whatever the underlying time resolution is which isn't necessarily ps. Stop trying to scale it (incorrectly). Change-Id: I18975e0ab01386b24196666e0ba02d1b36e11735 Reviewed-on: https://gem5-review.googlesource.com/c/12976 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -218,8 +218,7 @@ class Scheduler
|
||||
Tick
|
||||
delayed(const ::sc_core::sc_time &delay)
|
||||
{
|
||||
//XXX We're assuming the systemc time resolution is in ps.
|
||||
return getCurTick() + delay.value() * SimClock::Int::ps;
|
||||
return getCurTick() + delay.value();
|
||||
}
|
||||
|
||||
// For scheduling delayed/timed notifications/timeouts.
|
||||
|
||||
Reference in New Issue
Block a user