WaveformTimeScale enum

The physical duration represented by one unit of Simulator.time.

This only controls the time metadata emitted to waveform files. It does not rescale timestamp numbers or change simulator scheduling. The supported values are the VCD-standard 1, 10, and 100 multiples from femtoseconds through seconds.

Inheritance
Available extensions

Values

hundredSeconds → const WaveformTimeScale

100 seconds per simulation-time unit.

const WaveformTimeScale(2, '100s')
tenSeconds → const WaveformTimeScale

10 seconds per simulation-time unit.

const WaveformTimeScale(1, '10s')
oneSecond → const WaveformTimeScale

1 second per simulation-time unit.

const WaveformTimeScale(0, '1s')
hundredMilliseconds → const WaveformTimeScale

100 milliseconds per simulation-time unit.

const WaveformTimeScale(-1, '100ms')
tenMilliseconds → const WaveformTimeScale

10 milliseconds per simulation-time unit.

const WaveformTimeScale(-2, '10ms')
oneMillisecond → const WaveformTimeScale

1 millisecond per simulation-time unit.

const WaveformTimeScale(-3, '1ms')
hundredMicroseconds → const WaveformTimeScale

100 microseconds per simulation-time unit.

const WaveformTimeScale(-4, '100us')
tenMicroseconds → const WaveformTimeScale

10 microseconds per simulation-time unit.

const WaveformTimeScale(-5, '10us')
oneMicrosecond → const WaveformTimeScale

1 microsecond per simulation-time unit.

const WaveformTimeScale(-6, '1us')
hundredNanoseconds → const WaveformTimeScale

100 nanoseconds per simulation-time unit.

const WaveformTimeScale(-7, '100ns')
tenNanoseconds → const WaveformTimeScale

10 nanoseconds per simulation-time unit.

const WaveformTimeScale(-8, '10ns')
oneNanosecond → const WaveformTimeScale

1 nanosecond per simulation-time unit.

const WaveformTimeScale(-9, '1ns')
hundredPicoseconds → const WaveformTimeScale

100 picoseconds per simulation-time unit.

const WaveformTimeScale(-10, '100ps')
tenPicoseconds → const WaveformTimeScale

10 picoseconds per simulation-time unit.

const WaveformTimeScale(-11, '10ps')
onePicosecond → const WaveformTimeScale

1 picosecond per simulation-time unit.

const WaveformTimeScale(-12, '1ps')
hundredFemtoseconds → const WaveformTimeScale

100 femtoseconds per simulation-time unit.

const WaveformTimeScale(-13, '100fs')
tenFemtoseconds → const WaveformTimeScale

10 femtoseconds per simulation-time unit.

const WaveformTimeScale(-14, '10fs')
oneFemtosecond → const WaveformTimeScale

1 femtosecond per simulation-time unit.

const WaveformTimeScale(-15, '1fs')

Properties

exponent → int
The base-10 exponent in seconds used by the FST encoding.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
vcdValue → String
The corresponding VCD timescale value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromExponent(int exponent) → WaveformTimeScale
Returns the supported timescale with the given base-10 seconds exponent.

Constants

values → const List<WaveformTimeScale>
A constant List of the values in this enum, in order of their declaration.