class HighFirrtlCompiler extends Compiler
Emits input circuit Will replace Chirrtl constructs with Firrtl
- Source
- LoweringCompilers.scala
- Alphabetic
- By Inheritance
- HighFirrtlCompiler
- Compiler
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new HighFirrtlCompiler()
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
compile(state: CircuitState, customTransforms: Seq[Transform]): CircuitState
Perform compilation
Perform compilation
Emission will only be performed if EmitAnnotations are present
- state
The Firrtl AST to compile
- customTransforms
Any custom Transforms that will be inserted into the compilation process by CompilerUtils.mergeTransforms
- returns
result of compilation
- Definition Classes
- Compiler
-
def
compileAndEmit(state: CircuitState, customTransforms: Seq[Transform] = Seq.empty): CircuitState
Perform compilation and emit the whole Circuit
Perform compilation and emit the whole Circuit
This is intended as a convenience method wrapping up Annotation creation for the common case. It creates a EmitCircuitAnnotation that will be consumed by this Transform's emitter. The EmittedCircuit can be extracted from the returned CircuitState via CircuitState.emittedCircuitOption
- state
The Firrtl AST to compile
- customTransforms
Any custom Transforms that will be inserted into the compilation process by CompilerUtils.mergeTransforms
- returns
result of compilation with emitted circuit annotated
- Definition Classes
- Compiler
-
val
emitter: HighFirrtlEmitter
- Definition Classes
- HighFirrtlCompiler → Compiler
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
inputForm: CircuitForm
- Definition Classes
- Compiler
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Definition Classes
- LazyLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
outputForm: CircuitForm
- Definition Classes
- Compiler
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transforms: Seq[Transform]
The sequence of transforms this compiler will execute
The sequence of transforms this compiler will execute
- Definition Classes
- HighFirrtlCompiler → Compiler
- Note
The inputForm of a given transform must be higher than or equal to the ouputForm of the preceding transform. See CircuitForm
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
Deprecated Value Members
-
def
compile(state: CircuitState, writer: Writer, customTransforms: Seq[Transform] = Seq.empty): CircuitState
Perform compilation
Perform compilation
- state
The Firrtl AST to compile
- writer
The java.io.Writer where the output of compilation will be emitted
- customTransforms
Any custom Transforms that will be inserted into the compilation process by CompilerUtils.mergeTransforms
- Definition Classes
- Compiler
- Annotations
- @deprecated
- Deprecated
(Since version firrtl 1.0) Please use compileAndEmit or other compile method instead
This is the documentation for Firrtl.