Given: A firrtl.annotations.ReferenceTarget of ~Top|Module>ref, which is a type of {foo: {bar: UInt}} Return: Seq(~Top|Module>ref, ~Top|Module>ref.foo, ~Top|Module>ref.foo.bar)
Given: A firrtl.annotations.ReferenceTarget of ~Top|Module>ref, which is a type of {foo: {bar: UInt}} Return: Seq(~Top|Module>ref, ~Top|Module>ref.foo, ~Top|Module>ref.foo.bar)
a target to each sub-component, including intermediate subcomponents
the target converted to its local reference
Given ~Top|MyModule/inst:Other>foo.bar, returns ~Top|Other>foo
firrtl.annotations.ModuleTarget or firrtl.annotations.InstanceTarget to be queried.
whether a ModuleTarget or InstanceTarget is contained in this IRLookup
firrtl.annotations.ReferenceTarget to be queried.
whether a ReferenceTarget is contained in this IRLookup
firrtl.annotations.ReferenceTarget to be queried.
the statement containing the declaration of the target
firrtl.annotations.ReferenceTarget to be queried.
flow of the target
expression of t
get expression of the target.
get expression of the target. It can return None for many reasons, including
firrtl.annotations.ReferenceTarget to be queried.
flow of the target
Some(e) if expression exists, None if it does not
Find firrtl.annotations.ReferenceTarget with a specific firrtl.Kind in a firrtl.annotations.ModuleTarget
Find firrtl.annotations.ReferenceTarget with a specific firrtl.Kind in a firrtl.annotations.ModuleTarget
firrtl.annotations.ModuleTarget to be queried.
firrtl.Kind to be find.
all firrtl.annotations.ReferenceTarget in this node.
Given: A firrtl.annotations.ReferenceTarget of ~Top|Module>ref and a type of {foo: {bar: UInt}} Return: Seq(~Top|Module>ref.foo.bar)
Given: A firrtl.annotations.ReferenceTarget of ~Top|Module>ref and a type of {foo: {bar: UInt}} Return: Seq(~Top|Module>ref.foo.bar)
a target to each sub-component, excluding intermediate subcomponents.
Returns ((inputs, outputs)) target and type of each module port.
Returns the references to the module's ports
Returns the references to the module's ports
firrtl.annotations.ModuleTarget to be queried.
the port references of mt
firrtl.annotations.ReferenceTarget to be queried.
whether a given firrtl.annotations.IsModule is valid, given the circuit's module/instance hierarchy
Handy lookup for obtaining AST information about a given Target