Class

firrtl.VerilogEmitter

VerilogRender

Related Doc: package VerilogEmitter

Permalink

class VerilogRender extends AnyRef

Used by getRenderer, it has machinery to produce verilog from IR. Making this a class allows access to particular parts of the verilog emission.

Source
Emitter.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VerilogRender
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VerilogRender(m: Module, moduleMap: Map[String, DefModule])(implicit writer: Writer)

    Permalink
  2. new VerilogRender(m: Module, moduleMap: Map[String, DefModule], circuitName: String, emissionOptions: EmissionOptions)(implicit writer: Writer)

    Permalink
  3. new VerilogRender(description: Description, portDescriptions: Map[String, Description], m: Module, moduleMap: Map[String, DefModule], circuitName: String, emissionOptions: EmissionOptions)(implicit writer: Writer)

    Permalink

    description

    a description of the start module

    portDescriptions

    a map of port name to description

    m

    the start module

    moduleMap

    a map of modules so submodules can be discovered

    writer

    where rendered information is placed.

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def assign(e: Expression, value: Expression, info: Info): Unit

    Permalink
  6. val assigns: ArrayBuffer[Seq[Any]]

    Permalink
  7. val asyncInitials: ArrayBuffer[Seq[Any]]

    Permalink
  8. val asyncResetAlwaysBlocks: ArrayBuffer[(Expression, Expression, Seq[Any])]

    Permalink
  9. val attachAliases: ArrayBuffer[Seq[Any]]

    Permalink
  10. val attachSynAssigns: ArrayBuffer[Seq[Any]]

    Permalink
  11. def bigIntToVLit(bi: BigInt): String

    Permalink
  12. def build_comment(desc: String): Seq[Seq[String]]

    Permalink
  13. def build_netlist(s: Statement): Unit

    Permalink
  14. def build_ports(): Unit

    Permalink
  15. def build_streams(s: Statement): Unit

    Permalink
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def declare(b: String, n: String, t: Type, info: Info): ArrayBuffer[Seq[Any]]

    Permalink
  18. def declare(b: String, n: String, t: Type, info: Info, preset: Expression): ArrayBuffer[Seq[Any]]

    Permalink
  19. def declareVectorType(b: String, n: String, tpe: Type, size: BigInt, info: Info, preset: Expression): ArrayBuffer[Seq[Any]]

    Permalink
  20. def declareVectorType(b: String, n: String, tpe: Type, size: BigInt, info: Info): ArrayBuffer[Seq[Any]]

    Permalink
  21. val declares: ArrayBuffer[Seq[Any]]

    Permalink
  22. def emitVerilogBind(overrideName: String, body: String): DefModule

    Permalink

    This emits a verilog module that can be bound to a module defined in chisel.

    This emits a verilog module that can be bound to a module defined in chisel. It uses the same machinery as the general emitter in order to insure that parameters signature is exactly the same as the module being bound to

    overrideName

    Override the module name

    body

    the body of the bind module

    returns

    A module constructed from the body

  23. def emit_streams(): Unit

    Permalink
  24. def emit_verilog(): DefModule

    Permalink

    The standard verilog emitter, wraps up everything into the verilog

  25. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def garbageAssign(e: Expression, syn: Expression, garbageCond: Expression, info: Info): ArrayBuffer[Seq[Any]]

    Permalink
  29. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  31. val ifdefDeclares: Map[String, ArrayBuffer[Seq[Any]]]

    Permalink
  32. val ifdefInitials: Map[String, ArrayBuffer[Seq[Any]]]

    Permalink
  33. def initialize(e: Expression, reset: Expression, init: Expression): Any

    Permalink
  34. def initialize_mem(s: DefMemory): Unit

    Permalink
  35. val initials: ArrayBuffer[Seq[Any]]

    Permalink
  36. val instdeclares: ArrayBuffer[Seq[Any]]

    Permalink
  37. def invalidAssign(e: Expression): ArrayBuffer[Seq[Any]]

    Permalink
  38. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  39. var maxMemSize: BigInt

    Permalink
  40. val moduleTarget: ModuleTarget

    Permalink
  41. val namespace: Namespace

    Permalink
  42. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  43. val netlist: LinkedHashMap[WrappedExpression, Expression]

    Permalink
  44. val noResetAlwaysBlocks: LinkedHashMap[Expression, ArrayBuffer[Seq[Any]]]

    Permalink
  45. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  47. val portdefs: ArrayBuffer[Seq[Any]]

    Permalink
  48. def printf(str: StringLit, args: Seq[Expression]): Seq[Any]

    Permalink
  49. def rand_string(t: Type): Seq[Any]

    Permalink
  50. def rand_string(t: Type, ifdef: String): Seq[Any]

    Permalink
  51. def rand_string(t: Type, ifdefOpt: Option[String]): Seq[Any]

    Permalink
  52. def regUpdate(r: Expression, clk: Expression, reset: Expression, init: Expression): ArrayBuffer[_ >: Seq[Any] with (Expression, Expression, Seq[Any]) <: Equals]

    Permalink
  53. def simulate(clk: Expression, en: Expression, s: Seq[Any], cond: Option[String], info: Info): ArrayBuffer[Seq[Any]]

    Permalink
  54. val simulates: ArrayBuffer[Seq[Any]]

    Permalink
  55. def stop(ret: Int): Seq[Any]

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

    Permalink
    Definition Classes
    AnyRef
  57. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  58. def update(e: Expression, value: Expression, clk: Expression, en: Expression, info: Info): ArrayBuffer[Seq[Any]]

    Permalink
  59. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped