void VerilatedVcd::set_time_resolution (const char* unitp) { string unitstr (unitp); //cout<<"set_time_resolution ("<<unitp<<") == "<<timescaleToDouble(unitp)<<" == "<<doubleToTimescale(timescaleToDouble(unitp))<<endl; m_timeRes = timescaleToDouble(unitp); }
void SpTraceVcd::set_time_unit (const char* unitp) { string unitstr (unitp); //cout<<" set_time_unit ("<<unitp<<") == "<<timescaleToDouble(unitp)<<" == "<<doubleToTimescale(timescaleToDouble(unitp))<<endl; m_timeUnit = timescaleToDouble(unitp); }