Package

chisel3.internal

sourceinfo

Permalink

package sourceinfo

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AutoSourceTransform extends SourceInfoTransformMacro

    Permalink

    "Automatic" source information transform / insertion macros, which generate the function name based on the macro invocation (instead of explicitly writing out every transform).

  2. class CompileOptionsTransform extends AutoSourceTransform

    Permalink
  3. class InstTransform extends SourceInfoTransformMacro

    Permalink
  4. class MemTransform extends SourceInfoTransformMacro

    Permalink
  5. class MuxTransform extends SourceInfoTransformMacro

    Permalink
  6. sealed trait NoSourceInfo extends SourceInfo

    Permalink
  7. sealed trait SourceInfo extends AnyRef

    Permalink

    Abstract base class for generalized source information.

  8. class SourceInfoTransform extends AutoSourceTransform

    Permalink
  9. trait SourceInfoTransformMacro extends AnyRef

    Permalink

    Transforms a function call so that it can both provide implicit-style source information and have a chained apply call.

    Transforms a function call so that it can both provide implicit-style source information and have a chained apply call. Without macros, only one is possible, since having a implicit argument in the definition will cause the compiler to interpret a chained apply as an explicit implicit argument and give type errors.

    Instead of an implicit argument, the public-facing function no longer takes a SourceInfo at all. The macro transforms the public-facing function into a call to an internal function that takes an explicit SourceInfo by inserting an implicitly[SourceInfo] as the explicit argument.

  10. class SourceInfoWhiteboxTransform extends AutoSourceTransform

    Permalink

    Special whitebox version of the blackbox SourceInfoTransform, used when fun things need to happen to satisfy the type system while preventing the use of macro overrides.

  11. case class SourceLine(filename: String, line: Int, col: Int) extends SourceInfo with Product with Serializable

    Permalink

    For FIRRTL lines from a Scala source line.

  12. class UIntTransform extends SourceInfoTransformMacro

    Permalink
  13. class VecTransform extends SourceInfoTransformMacro

    Permalink

Value Members

  1. object DeprecatedSourceInfo extends NoSourceInfo with Product with Serializable

    Permalink

    For when source info isn't generated because the function is deprecated and we're lazy.

  2. object SourceInfo

    Permalink
  3. object SourceInfoMacro

    Permalink

    Provides a macro that returns the source information at the invocation point.

  4. object UnlocatableSourceInfo extends NoSourceInfo with Product with Serializable

    Permalink

    For when source info can't be generated because of a technical limitation, like for Reg because Scala macros don't support named or default arguments.

Ungrouped