Class/Object

treadle.vcd

VCD

Related Docs: object VCD | package vcd

Permalink

case class VCD(date: String, version: String, comment: String, timeScale: String, scope: String, ignoreUnderscoredNames: Boolean) extends LazyLogging with Product with Serializable

Accumulates changes to wires in a running circuit. If a wire is changed that it doesn't know about it will add it to the list. Only actual changed values will be seen in final output. This version only supports a single top level scope because right now that is what the firrtl-engine supports. It probably is not too too hard to add, all wires are initialized to 'x' in this version.

date

date file was created

version

this software version, but I suppose this could be a DUT version

comment

could be a comment

timeScale

seems to be more text (I like to work in picoseconds)

scope

Not really used here except as the name of the top level module

Source
VCD.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, LazyLogging, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VCD
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. LazyLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VCD(date: String, version: String, comment: String, timeScale: String, scope: String, ignoreUnderscoredNames: Boolean)

    Permalink

    date

    date file was created

    version

    this software version, but I suppose this could be a DUT version

    comment

    could be a comment

    timeScale

    seems to be more text (I like to work in picoseconds)

    scope

    Not really used here except as the name of the top level module

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addWire(wireName: String, width: Int): Unit

    Permalink
  5. var aliasedWires: HashMap[String, HashSet[Wire]]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val comment: String

    Permalink

    could be a comment

  9. var currentIdNumber: Int

    Permalink
  10. val date: String

    Permalink

    date file was created

  11. def dumpHumanReadable(): Unit

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def events: Array[Long]

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getIdString(value: Int = currentIdNumber, currentString: String = ""): String

    Permalink
  17. val ignoreUnderscoredNames: Boolean

    Permalink
  18. def incrementId(): Unit

    Permalink
  19. def incrementTime(increment: Long = 1L): Unit

    Permalink
  20. def info: String

    Permalink
  21. val initialValues: HashSet[Change]

    Permalink
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def isNewValue(wireName: String, value: BigInt): Boolean

    Permalink

    reports whether value is a change from the last recorded value for wireName

    reports whether value is a change from the last recorded value for wireName

    wireName

    name of wire

    value

    value of wire

  24. def isTempWire(wireName: String): Boolean

    Permalink
  25. val lastValues: HashMap[String, Change]

    Permalink
  26. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. val scope: String

    Permalink

    Not really used here except as the name of the top level module

  31. var scopeRoot: Scope

    Permalink
  32. def serialize(writer: PrintWriter): Unit

    Permalink
  33. def serializeChanges: String

    Permalink
  34. def serializeStartup: String

    Permalink
  35. def setTime(time: Long): Unit

    Permalink
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. val timeScale: String

    Permalink

    seems to be more text (I like to work in picoseconds)

  38. var timeStamp: Long

    Permalink
  39. val valuesAtTime: HashMap[Long, HashSet[Change]]

    Permalink
  40. val version: String

    Permalink

    this software version, but I suppose this could be a DUT version

  41. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def wireChanged(wireName: String, value: BigInt, width: Int = 1): Boolean

    Permalink

    Change wire value if it is different that its the last recorded value Add it to the wires if this wire has not been seen before

    Change wire value if it is different that its the last recorded value Add it to the wires if this wire has not been seen before

    wireName

    name of wire

    value

    value of wire

    width

    width of wire (needed for header info)

    returns

    false if the value is not different

  45. val wires: HashMap[String, Wire]

    Permalink
  46. def wiresFor(change: Change): Set[Wire]

    Permalink
  47. val wiresToIgnore: HashSet[String]

    Permalink
  48. def write(fileName: String): Unit

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped