Class

Chisel

Backend

Related Doc: package Chisel

Permalink

class Backend extends FileSystemUtilities

Source
Backend.scala
Linear Supertypes
FileSystemUtilities, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Backend
  2. FileSystemUtilities
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Backend()

    Permalink

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. val CC: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  5. val CCFLAGS: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  6. val CPPFLAGS: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  7. val CXX: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  8. val CXXFLAGS: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  9. val LDFLAGS: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  10. def W0Wtransform(): Unit

    Permalink
  11. def addBindings: Unit

    Permalink
  12. def addClocksAndResets: Unit

    Permalink
  13. def addDefaultResets: Unit

    Permalink
  14. val analyses: ArrayBuffer[(Module) ⇒ Unit]

    Permalink
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def asValidName(name: String): String

    Permalink
  17. def assignClockAndResetToModules: Unit

    Permalink
  18. def cc(dir: String, name: String, flags: String = "", isCC: Boolean = false): Unit

    Permalink
    Definition Classes
    FileSystemUtilities
  19. def checkModuleResolution: Unit

    Permalink
  20. def checkPorts: Unit

    Permalink
  21. val chiselENV: String

    Permalink
    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  22. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def collectNodesIntoComp(mod: Module): Unit

    Permalink
  24. def compile(c: Module, flags: Option[String] = None): Unit

    Permalink
  25. def computeMemPorts(mod: Module): Unit

    Permalink
  26. def connectResets: Unit

    Permalink
  27. def convertMaskedWrites(mod: Module): Unit

    Permalink
  28. def copyToTarget(filename: String): Unit

    Permalink
    Definition Classes
    FileSystemUtilities
  29. def createOutputFile(name: String): FileWriter

    Permalink
    Definition Classes
    FileSystemUtilities
  30. def elaborate(c: Module): Unit

    Permalink
  31. def emitDec(node: Node): String

    Permalink
  32. def emitDef(node: Node): String

    Permalink
  33. def emitRef(c: Module): String

    Permalink
  34. def emitRef(node: Node): String

    Permalink
  35. def emitTmp(node: Node): String

    Permalink
  36. def ensureDir(dir: String): String

    Permalink

    Ensures a directory *dir* exists on the filesystem.

    Ensures a directory *dir* exists on the filesystem.

    Definition Classes
    FileSystemUtilities
  37. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  38. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  39. def execute(c: Module, walks: ArrayBuffer[(Module) ⇒ Unit]): Unit

    Permalink
  40. def extractClassName(comp: Module): String

    Permalink
  41. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  42. def findCombLoop: Unit

    Permalink
  43. def findConsumers(mod: Module): Unit

    Permalink
  44. def findGraphDims: (Int, Int, Int)

    Permalink
  45. def flattenAll: Unit

    Permalink
  46. def forceMatchingWidths: Unit

    Permalink
  47. def fullyQualifiedName(m: Node): String

    Permalink
  48. def gatherClocksAndResets: Unit

    Permalink
  49. def genIndent(x: Int): String

    Permalink

    Prints the call stack of Component as seen by the push/pop runtime.

    Prints the call stack of Component as seen by the push/pop runtime.

    Attributes
    protected
  50. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  51. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  52. def inferAll(mod: Module): Int

    Permalink
  53. def isBitsIo(node: Node, dir: IODirection): Boolean

    Permalink

    Nodes which are created outside the execution trace from the toplevel component constructor (i.e.

    Nodes which are created outside the execution trace from the toplevel component constructor (i.e. through the () => Module(new Top()) ChiselMain argument) will have a component field set to null. For example, genMuxes, forceMatchWidths and transforms (all called from Backend.elaborate) create such nodes.

    This method walks all nodes from all component roots (outputs, debugs). and reassociates the component to the node both ways (i.e. in Driver.nodes and Node.component).

    We assume here that all nodes at the components boundaries (io) have a non-null and correct node/component association. We further assume that nodes generated in elaborate are inputs to a node whose component field is set.

    Implementation Node: At first we did implement *collectNodesIntoComp* to handle a single component at a time but that did not catch the cases where Regs are passed as input to sub-module without being tied to an output of *this.component*.

  54. def isEmittingComponents: Boolean

    Permalink
  55. def isInObject(n: Node): Boolean

    Permalink
  56. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  57. val keywords: Set[String]

    Permalink
  58. def link(dir: String, target: String, objects: Seq[String], isCC: Boolean = false, isLib: Boolean = false): Unit

    Permalink
    Definition Classes
    FileSystemUtilities
  59. def lowerNodes(mod: Module): Unit

    Permalink
  60. def markComponents: Unit

    Permalink
  61. def nameAll(): Unit

    Permalink
  62. def nameBindings: Unit

    Permalink
  63. def nameRsts: Unit

    Permalink
  64. val nameSpace: HashSet[String]

    Permalink
  65. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  66. val needsLowering: Set[String]

    Permalink
  67. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  69. def printStack: Unit

    Permalink
    Attributes
    protected
  70. def pruneUnconnectedIOs: Unit

    Permalink
  71. def removeTypeNodes(mod: Module): Int

    Permalink

    All classes inherited from Data are used to add type information and do not represent logic itself.

  72. def renameNodes(nodes: Seq[Node], sep: String = "_"): Unit

    Permalink

    Ensures each node such that it has a unique name across the whole hierarchy by prefixing its name by a component path (except for "reset" and all nodes in *c*).

  73. def run(cmd: String): Boolean

    Permalink
    Definition Classes
    FileSystemUtilities
  74. def sortComponents: Unit

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

    Permalink
    Definition Classes
    AnyRef
  76. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  77. def topMod: Module

    Permalink
  78. val transforms: ArrayBuffer[(Module) ⇒ Unit]

    Permalink
  79. def verifyAllMuxes: Unit

    Permalink
  80. def verifyComponents: Unit

    Permalink
  81. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FileSystemUtilities

Inherited from AnyRef

Inherited from Any

Ungrouped