object FromProto
- Source
- FromProto.scala
- Alphabetic
- By Inheritance
- FromProto
- 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(proto: Firrtl): Circuit
- def convert(module: Module): DefModule
- def convert(module: ExternalModule): ExtModule
- def convert(module: UserModule): Module
- def convert(param: Parameter): Param
- def convert(port: Port): Port
- def convert(dir: Direction): Direction
- def convert(tpe: Type): Type
- def convert(vtpe: VectorType): VectorType
- def convert(field: Field): Field
- def convert(analog: AnalogType): AnalogType
- def convert(fixed: FixedType): FixedType
- def convert(st: SIntType): SIntType
- def convert(ut: UIntType): UIntType
-
def
convert(width: Width): IntWidth
Converts ProtoBuf width to FIRRTL width
Converts ProtoBuf width to FIRRTL width
- width
ProtoBuf width representation
- returns
IntWidth equivalent of the ProtoBuf width, default is 0
- Note
Checks for UnknownWidth must be done on the parent object
- def convert(stmt: Statement): Statement
- def convert(attach: Attach, info: SourceInfo): Attach
- def convert(mem: Memory, info: SourceInfo): DefMemory
- def convert(ver: Verification, info: SourceInfo): Verification
- def convert(formal: Formal): ir.Formal.Value
- def convert(stop: Stop, info: SourceInfo): Stop
- def convert(printf: Printf, info: SourceInfo): Print
- def convert(port: MemoryPort, info: SourceInfo): CDefMPort
- def convert(mportdir: Direction): MPortDir
- def convert(cmem: CMemory, info: SourceInfo): Statement
- def convert(dt: TypeAndDepth): (Type, BigInt)
- def convert(ruw: ReadUnderWrite): ir.ReadUnderWrite.Value
- def convert(when: When, info: SourceInfo): Conditionally
- def convert(inst: Instance, info: SourceInfo): DefInstance
- def convert(node: Node, info: SourceInfo): DefNode
- def convert(reg: Register, info: SourceInfo): DefRegister
- def convert(wire: Wire, info: SourceInfo): DefWire
- def convert(con: PartialConnect, info: SourceInfo): PartialConnect
- def convert(con: Connect, info: SourceInfo): Connect
- def convert(expr: Expression): Expression
- def convert(validif: ValidIf): ValidIf
- def convert(mux: Mux): Mux
- def convert(primop: PrimOp): DoPrim
- def convert(access: SubAccess): SubAccess
- def convert(index: SubIndex): SubIndex
- def convert(subfield: SubField): SubField
- def convert(fixed: FixedLiteral): FixedLiteral
- def convert(sint: SIntLiteral): SIntLiteral
- def convert(uint: UIntLiteral): UIntLiteral
- def convert(bigint: BigInt): BigInt
- def convert(literal: IntegerLiteral): BigInt
- def convert(info: SourceInfo): Info
- val convert: Map[Op, PrimOp]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromDirectory(dir: String): Circuit
Deserialize all the ProtoBuf representations of ir.Circuit in @dir
Deserialize all the ProtoBuf representations of ir.Circuit in @dir
- dir
directory containing ProtoBuf representation(s)
- returns
Deserialized FIRRTL Circuit
- Exceptions thrown
java.io.FileNotFoundException
if dir does not existjava.nio.file.NotDirectoryException
if dir exists but is not a directory
-
def
fromFile(filename: String): Circuit
Deserialize ProtoBuf representation of ir.Circuit
Deserialize ProtoBuf representation of ir.Circuit
- filename
Name of file containing ProtoBuf representation
- returns
Deserialized FIRRTL Circuit
-
def
fromInputStream(is: InputStream): Circuit
Deserialize ProtoBuf representation of ir.Circuit
Deserialize ProtoBuf representation of ir.Circuit
- is
InputStream containing ProtoBuf representation
- returns
Deserialized FIRRTL Circuit
-
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( ... )
This is the documentation for Firrtl.