Chisel

Backend

Related Doc: package Chisel

abstract class Backend extends FileSystemUtilities

Source
Backend.scala
Linear Supertypes
FileSystemUtilities, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Backend
  2. FileSystemUtilities
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Backend()

Abstract Value Members

  1. abstract val keywords: Set[String]

Concrete Value Members

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

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

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

    Definition Classes
    AnyRef → Any
  4. val CC: String

    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  5. val CCFLAGS: String

    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  6. val CPPFLAGS: String

    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  7. val CXX: String

    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  8. val CXXFLAGS: String

    Attributes
    protected
    Definition Classes
    FileSystemUtilities
  9. val LDFLAGS: String

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

  11. def addBindings: Unit

  12. def addClocksAndResets: Unit

  13. def addDefaultResets: Unit

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

  15. final def asInstanceOf[T0]: T0

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

  17. def assignClockAndResetToModules: Unit

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

    Definition Classes
    FileSystemUtilities
  19. def checkModuleResolution: Unit

  20. def checkPorts: Unit

  21. val chiselENV: String

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

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

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

  25. def computeMemPorts(mod: Module): Unit

  26. def connectResets: Unit

  27. def copyToTarget(filename: String): Unit

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

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

  30. def emitDec(node: Node): String

  31. def emitDef(node: Node): String

  32. def emitRef(c: Module): String

  33. def emitRef(node: Node): String

  34. def emitTmp(node: Node): String

  35. def ensureDir(dir: String): String

    Ensures a directory *dir* exists on the filesystem.

    Ensures a directory *dir* exists on the filesystem.

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

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

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

  39. def extractClassName(comp: Module): String

  40. def finalize(): Unit

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

  42. def findConsumers(mod: Module): Unit

  43. def findGraphDims: (Int, Int, Int)

  44. def flattenAll: Unit

  45. def forceMatchingWidths: Unit

  46. def fullyQualifiedName(m: Node): String

  47. def gatherClocksAndResets: Unit

  48. def genIndent(x: Int): String

    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
  49. final def getClass(): Class[_]

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

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

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

    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*.

  53. def isEmittingComponents: Boolean

  54. def isInObject(n: Node): Boolean

  55. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  56. def link(dir: String, target: String, objects: Seq[String], isCC: Boolean = false, isLib: Boolean = false): Unit

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

  58. def markComponents: Unit

  59. def nameAll(): Unit

  60. def nameBindings: Unit

  61. def nameRsts: Unit

  62. val nameSpace: HashSet[String]

  63. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  64. val needsLowering: Set[String]

  65. final def notify(): Unit

    Definition Classes
    AnyRef
  66. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  67. def printStack: Unit

    Attributes
    protected
  68. def pruneUnconnectedIOs: Unit

  69. def removeTypeNodes(mod: Module): Int

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

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

    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*).

  71. def run(cmd: String): Boolean

    Definition Classes
    FileSystemUtilities
  72. def sortComponents: Unit

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

    Definition Classes
    AnyRef
  74. def toString(): String

    Definition Classes
    AnyRef → Any
  75. def topMod: Module

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

  77. def verifyAllMuxes: Unit

  78. def verifyComponents: Unit

  79. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FileSystemUtilities

Inherited from AnyRef

Inherited from Any

Ungrouped