diff options
Diffstat (limited to 'src/test/scala/chiselTests/AnnotationNoDedup.scala')
| -rw-r--r-- | src/test/scala/chiselTests/AnnotationNoDedup.scala | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/test/scala/chiselTests/AnnotationNoDedup.scala b/src/test/scala/chiselTests/AnnotationNoDedup.scala index 0f195fdf..d94cc2fc 100644 --- a/src/test/scala/chiselTests/AnnotationNoDedup.scala +++ b/src/test/scala/chiselTests/AnnotationNoDedup.scala @@ -3,16 +3,11 @@ package chiselTests import chisel3._ -import chisel3.experimental.{annotate, ChiselAnnotation} +import chisel3.experimental.{annotate, ChiselAnnotation, doNotDedup} import firrtl.FirrtlExecutionSuccess import firrtl.transforms.NoDedupAnnotation import org.scalatest.{FreeSpec, Matchers} -object doNotDedup { - def apply(module: Module): Unit = { - annotate(new ChiselAnnotation { def toFirrtl = NoDedupAnnotation(module.toNamed) }) - } -} class MuchUsedModule extends Module { val io = IO(new Bundle { |
