From c6b34ead5878d2b8a64ea0a4b887e84fc39fff1d Mon Sep 17 00:00:00 2001 From: Sequencer Date: Sun, 24 Mar 2019 04:40:00 +0800 Subject: move doNotDedup to experimental (#1008) --- src/test/scala/chiselTests/AnnotationNoDedup.scala | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/test') 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 { -- cgit v1.2.3