summaryrefslogtreecommitdiff
path: root/src/test/scala
diff options
context:
space:
mode:
authorSequencer2019-03-24 04:40:00 +0800
committerJack Koenig2019-03-23 13:40:00 -0700
commitc6b34ead5878d2b8a64ea0a4b887e84fc39fff1d (patch)
treea26d1c2f53a34a1ab6200df3dd97c8901c86fff1 /src/test/scala
parent9daa411493bdf009a1332bd7dd8d81c56e56d809 (diff)
move doNotDedup to experimental (#1008)
Diffstat (limited to 'src/test/scala')
-rw-r--r--src/test/scala/chiselTests/AnnotationNoDedup.scala7
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 {