file
Time.hContains various time-related utilities and functions.
Namespaces
- namespace slang
- Root namespace.
Classes
- struct slang::TimeScaleValue
- A combination of a unit and magnitude for a time scale value.
- struct slang::TimeScale
- A collection of a base time and a precision value that determines the scale of simulation time steps.
Enums
- enum class TimeScaleMagnitude: uint8_t { One = 1, Ten = 10, Hundred = 100 }
- As allowed by SystemVerilog, time scales can be expressed in one of only a few magnitudes.
Functions
-
auto suffixToTimeUnit(std::
string_view timeSuffix, size_t& lengthConsumed) -> std:: optional<TimeUnit> - Scale unit for a time value.