aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/firrtlTests/ExtModuleTests.scala
diff options
context:
space:
mode:
authorSchuyler Eldridge2020-02-07 14:54:58 -0500
committerSchuyler Eldridge2020-02-10 12:57:50 -0500
commit72427067ebb870d021b748d55fe09aa9761f6410 (patch)
tree9c2453b313eba3510282d5b88362120edbda1752 /src/test/scala/firrtlTests/ExtModuleTests.scala
parentdc9709c55bfa9f2dc7ee9a400e141ce5deb7269c (diff)
Add Target utility referringModule
This adds a utility method, referringModule, to the Target object that behaves like IsMember.pathlessTarget except that it returns the module of an InstanceTarget. This is useful for situations where you want to get at "the module" a target is pointing at, but you want behavior to get an actual module from an instance. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src/test/scala/firrtlTests/ExtModuleTests.scala')
0 files changed, 0 insertions, 0 deletions