object ToProto
- Source
- ToProto.scala
- Alphabetic
- By Inheritance
- ToProto
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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() @HotSpotIntrinsicCandidate()
- def convert(circuit: Circuit): Firrtl
- def convert(module: DefModule): Builder
- def convert(param: Param): Builder
- def convert(port: Port): Builder
- def convert(direction: Direction): Direction
- def convert(tpe: Type): Builder
- def convert(vtpe: VectorType): Builder
-
def
convert(width: Width): Option[Builder]
Converts a Width to a ProtoBuf Width Builder
Converts a Width to a ProtoBuf Width Builder
- width
Input width
- returns
Option width where None means the width field should be cleared in the parent object
- def convert(field: Field): Builder
- def convert(stmt: Statement): Seq[Builder]
- def convert(tpe: Type, depth: BigInt): Builder
- def convert(dir: MPortDir): Direction
- def convert(expr: Expression): Builder
- def convert(info: Info): Builder
- def convert(formal: ir.Formal.Value): Formal
- def convert(ruw: ir.ReadUnderWrite.Value): ReadUnderWrite
- val convert: Map[PrimOp, Op]
- def convertToBigInt(value: BigInt): Builder
- def convertToIntegerLiteral(value: BigInt): Builder
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
writeToStream(ostream: OutputStream, circuit: Circuit): Unit
Serialize a FIRRTL Circuit to an Output Stream as a ProtoBuf message
Serialize a FIRRTL Circuit to an Output Stream as a ProtoBuf message
- ostream
Output stream that will be written
- circuit
The Circuit to serialize
-
def
writeToStreamFast(ostream: OutputStream, info: Info, modules: Seq[() ⇒ DefModule], main: String): Unit
Serialized a deconstructed Circuit with lazy Modules
Serialized a deconstructed Circuit with lazy Modules
This serializer allows intermediate objects to be garbage collected during serialization to save time and memory
- ostream
Output stream that will be written
- info
Info of Circuit
- modules
Functions to generate Modules lazily
- main
Top-level module of the Circuit
This is the documentation for Firrtl.