43c43,44
< return g_quant - (current % g_quant);
---
> return sc_core::sc_time::from_value(
> g_quant.value() - (current.value() % g_quant.value()));