Packages

p

firrtl

stage

package stage

The stage package provides an implementation of the FIRRTL compiler using the firrtl.options package. This primarily consists of:

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. stage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait CircuitOption extends Unserializable

    Indicates that this Annotation contains information that is directly convertable to a FIRRTL Circuit.

  2. case class FirrtlCircuitAnnotation(circuit: Circuit) extends NoTargetAnnotation with FirrtlOption with Product with Serializable

    Holds a FIRRTL Circuit

    Holds a FIRRTL Circuit

    circuit

    a circuit

  3. trait FirrtlCli extends AnyRef

    Shell mixin that provides command line options for FIRRTL.

    Shell mixin that provides command line options for FIRRTL. This does not include any RegisteredLibrary or RegisteredTransform as those are automatically loaded by the Stage using this Shell.

  4. case class FirrtlFileAnnotation(file: String) extends NoTargetAnnotation with CircuitOption with Product with Serializable

    An explicit input FIRRTL file to read

    An explicit input FIRRTL file to read

    • set with -i/--input-file
    • If unset, an FirrtlFileAnnotation with the default input file will not be generated
    file

    input filename

  5. sealed trait FirrtlOption extends Unserializable

    Indicates that this is an Annotation directly used in the construction of a FirrtlOptions view.

  6. class FirrtlOptions extends AnyRef

    Internal options used to control the FIRRTL compiler stage.

  7. class FirrtlPhase extends PhaseManager
  8. case class FirrtlSourceAnnotation(source: String) extends NoTargetAnnotation with CircuitOption with Product with Serializable

    Holds a String containing FIRRTL source to read as input

    Holds a String containing FIRRTL source to read as input

    • set with --firrtl-source
  9. class FirrtlStage extends Stage
  10. case class InfoModeAnnotation(modeName: String = "use") extends NoTargetAnnotation with FirrtlOption with Product with Serializable

    Sets the info mode style

    Sets the info mode style

    • set with --info-mode
    Note

    This cannote be directly converted to Parser.InfoMode as that depends on an optional FirrtlFileAnnotation

  11. case class OutputFileAnnotation(file: String) extends NoTargetAnnotation with FirrtlOption with Product with Serializable

    An explicit output file the emitter will write to

    An explicit output file the emitter will write to

    • set with -o/--output-file
    file

    output filename

  12. case class RunFirrtlTransformAnnotation(transform: Transform) extends NoTargetAnnotation with Product with Serializable

    Holds the unambiguous class name of a Transform to run

    Holds the unambiguous class name of a Transform to run

    transform

    the full class name of the transform

  13. class TransformManager extends Transform with DependencyAPIMigration with DependencyManager[CircuitState, Transform]

    A Transform that ensures some other Transforms and their prerequisites are executed.

  14. case class CompilerAnnotation(compiler: Compiler = new VerilogCompiler()) extends NoTargetAnnotation with FirrtlOption with Product with Serializable

    helpValueName a Compiler that should be run

    helpValueName a Compiler that should be run

    compiler

    compiler name

    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.4.0) Use a RunFirrtlTransformAnnotation targeting a specific Emitter.

Value Members

  1. object FirrtlFileAnnotation extends HasShellOptions with Serializable
  2. object FirrtlMain extends StageMain
  3. implicit object FirrtlOptionsView extends OptionsView[FirrtlOptions] with LazyLogging
  4. object FirrtlSourceAnnotation extends HasShellOptions with Serializable
  5. object FirrtlStageUtils

    Utilities that help with processing FIRRTL options

  6. object Forms
  7. object InfoModeAnnotation extends HasShellOptions with Serializable
  8. object OutputFileAnnotation extends HasShellOptions with Serializable
  9. object PrettyNoExprInlining extends NoTargetAnnotation with FirrtlOption with HasShellOptions with Product with Serializable

    Turn off all expression inlining

    Turn off all expression inlining

    Note

    this primarily applies to emitted Verilog

  10. object RunFirrtlTransformAnnotation extends HasShellOptions with Serializable
  11. object TransformManager
  12. object WarnNoScalaVersionDeprecation extends NoTargetAnnotation with FirrtlOption with HasShellOptions with Product with Serializable

    Suppresses warning about Scala 2.11 deprecation

    Suppresses warning about Scala 2.11 deprecation

    • set with --warn:no-scala-version-deprecation

Deprecated Value Members

  1. object CompilerAnnotation extends HasShellOptions with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.4.0) Use a RunFirrtlTransformAnnotation targeting a specific Emitter.

Inherited from AnyRef

Inherited from Any

Ungrouped