trait
SymbolTable extends AnyRef
Abstract Value Members
-
abstract
def
declare(name: String, tpe: Type, kind: Kind): Unit
-
abstract
def
declareInstance(name: String, module: String): Unit
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
declare(d: Port): Unit
-
-
-
-
-
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
This trait represents a data structure that stores information on all the symbols available in a single firrtl module. The module can either be scanned all at once using the scanModule helper function from the companion object or the SymbolTable can be updated while traversing the module by calling the declare method every time a declaration is encountered. Different implementations of SymbolTable might want to store different information (e.g., only the names without the types) or build different indices depending on what information the transform needs.