class
CppBackend extends Backend
Instance Constructors
-
new
CppBackend()
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
val
CC: String
-
val
CCFLAGS: String
-
val
CPPFLAGS: String
-
val
CXX: String
-
val
CXXFLAGS: String
-
val
LDFLAGS: String
-
def
W0Wtransform(): Unit
-
def
addBindings: Unit
-
def
addClocksAndResets: Unit
-
def
addDefaultResets: Unit
-
val
allocateOnlyNeededShadowRegisters: Boolean
-
val
allocatedShadow: HashSet[Node]
-
val
analyses: ArrayBuffer[(Module) ⇒ Unit]
-
final
def
asInstanceOf[T0]: T0
-
def
asValidName(name: String): String
-
def
assignClockAndResetToModules: Unit
-
def
block(s: Seq[String]): String
-
val
bpw: Int
-
def
cc(dir: String, name: String, flags: String = "", isCC: Boolean = false): Unit
-
def
checkModuleResolution: Unit
-
def
checkPorts: Unit
-
val
chiselENV: String
-
def
clkName(clock: Clock): String
-
def
clone(): AnyRef
-
val
coalesceConstants: Boolean
-
def
collectNodesIntoComp(mod: Module): Unit
-
def
compile(c: Module, flagsIn: Option[String]): Unit
-
val
compileInitializationUnoptimized: Boolean
-
val
compileMultipleCppFiles: Boolean
-
def
computeMemPorts(mod: Module): Unit
-
def
connectResets: Unit
-
val
constantPool: HashMap[(String, Width), Literal]
-
def
convertMaskedWrites(mod: Module): Unit
-
def
copyToTarget(filename: String): Unit
-
def
createOutputFile(name: String): FileWriter
-
def
determineRequiredShadowRegisters(node: Node): Unit
-
def
elaborate(c: Module): Unit
-
def
emitCircuitAssign(srcPrefix: String, node: Node): String
-
def
emitDatRef(x: Node): String
-
def
emitDec(node: Node): String
-
def
emitDef(node: Node): String
-
def
emitDefHi(node: Node): String
-
def
emitDefLo(node: Node): String
-
def
emitInit(node: Node): String
-
def
emitInitHi(node: Node): String
-
def
emitLitVal(n: Node, w: Int): String
-
def
emitLoWordRef(node: Node): String
-
def
emitLog2(x: Node, priEnc: Boolean = false): String
-
def
emitRef(node: Node): String
-
def
emitRef(c: Module): String
-
def
emitRefHi(node: Node): String
-
def
emitTmp(node: Node): String
-
def
emitTmpDec(node: Node): String
-
def
emitValue(value: BigInt, w: Int = 0): String
-
def
emitValueAddress(node: Node): String
-
def
emitWordRef(node: Node, w: Int): String
-
def
ensureDir(dir: String): String
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
execute(c: Module, walks: ArrayBuffer[(Module) ⇒ Unit]): Unit
-
def
extractClassName(comp: Module): String
-
def
finalize(): Unit
-
def
findCombLoop: Unit
-
def
findConsumers(mod: Module): Unit
-
def
findGraphDims: (Int, Int, Int)
-
def
flattenAll: Unit
-
def
forceMatchingWidths: Unit
-
def
fullWords(node: Node): Int
-
def
fullyQualifiedName(m: Node): String
-
def
gatherClocksAndResets: Unit
-
def
genHarness(c: Module, name: String): Unit
-
def
genIndent(x: Int): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
def
inferAll(mod: Module): Int
-
def
isBitsIo(node: Node, dir: IODirection): Boolean
-
def
isEmittingComponents: Boolean
-
def
isInObject(n: Node): Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
def
isLit(node: Node): Boolean
-
val
keywords: Set[String]
-
def
link(dir: String, target: String, objects: Seq[String], isCC: Boolean = false, isLib: Boolean = false): Unit
-
def
lowerNodes(mod: Module): Unit
-
def
markComponents: Unit
-
var
maxFiles: Int
-
val
multiwordLiteralInObject: Boolean
-
val
multiwordLiterals: HashSet[Literal]
-
def
nameAll(): Unit
-
def
nameBindings: Unit
-
def
nameRsts: Unit
-
val
nameSpace: HashSet[String]
-
final
def
ne(arg0: AnyRef): Boolean
-
val
needShadow: HashSet[Node]
-
val
needsLowering: Set[String]
-
def
nodeVars(node: Node): List[(String, String)]
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
onceOnlyFiles: HashSet[String]
-
def
opFoldLeft(o: Op, initial: (String, String) ⇒ String, subsequent: (String, String, String) ⇒ String): String
-
var
potentialShadowRegisters: Int
-
def
printStack: Unit
-
def
pruneUnconnectedIOs: Unit
-
val
regWritten: HashSet[Node]
-
def
removeTypeNodes(mod: Module): Int
-
def
renameNodes(nodes: Seq[Node], sep: String = "_"): Unit
-
def
run(cmd: String): Boolean
-
val
shadowRegisterInObject: Boolean
-
def
sortComponents: Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
-
val
transforms: ArrayBuffer[(Module) ⇒ Unit]
-
def
trunc(x: Node): String
-
val
unconnectedInputs: HashSet[Node]
-
val
unconnectedInputsInObject: Boolean
-
val
unoptimizedFiles: HashSet[String]
-
def
verifyAllMuxes: Unit
-
def
verifyComponents: Unit
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
wordMangle(x: Node, w: Int): String
-
def
wordMangle(x: Node, w: String): String
-
def
words(node: Node): Int
Inherited from AnyRef
Inherited from Any