Time

svsim.CommonCompilationSettings.Timescale.Time
case class Time(magnitude: Type, unit: Type)

Represnts a Verilog notion of time. This includes both a magnitude (the time value) as well as the units.

Attributes

Source
Backend.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

final def fs: BigInt

Return the time in femtoseconds.

Return the time in femtoseconds.

Femtoseconds are the unit because this is the smallest unit of time that Verilog represents. I.e., this is sufficient to represent any time that Verilator understands without resorting to imprecise floats.

Attributes

Source
Backend.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
Backend.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product