AnnotationUtils

firrtl.annotations.AnnotationUtils

Attributes

Deprecated
[Since version Chisel 7.0.0] All APIs in package firrtl are deprecated.
Source
AnnotationUtils.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def toExp(s: String): Expression

Given a serialized component/subcomponent reference, subindex, subaccess, or subfield, return the corresponding IR expression. E.g. "foo.bar" becomes SubField(Reference("foo", UnknownType), "bar", UnknownType)

Given a serialized component/subcomponent reference, subindex, subaccess, or subfield, return the corresponding IR expression. E.g. "foo.bar" becomes SubField(Reference("foo", UnknownType), "bar", UnknownType)

Attributes

Source
AnnotationUtils.scala
def tokenize(s: String): Seq[String]

Tokenizes a string with '[', ']', '.' as tokens, e.g.: "foo.bar[boo.far]" becomes Seq("foo" "." "bar" "[" "boo" "." "far" "]")

Tokenizes a string with '[', ']', '.' as tokens, e.g.: "foo.bar[boo.far]" becomes Seq("foo" "." "bar" "[" "boo" "." "far" "]")

Attributes

Source
AnnotationUtils.scala
def validComponentName(s: String): Boolean

Attributes

Source
AnnotationUtils.scala
def validModuleName(s: String): Boolean

Attributes

Source
AnnotationUtils.scala

Concrete fields

Returns true if a valid component/subcomponent name

Returns true if a valid component/subcomponent name

Attributes

Source
AnnotationUtils.scala

Returns true if a valid Module name

Returns true if a valid Module name

Attributes

Source
AnnotationUtils.scala