From 9b61af16227ee41aae15dbcc2243e2c6493955c4 Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Fri, 31 May 2024 16:43:42 -0700 Subject: Remove sourceinfo, compileoptions and other fixes 35 erros --- core/src/main/scala/chisel3/Annotation.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src/main/scala/chisel3/Annotation.scala') diff --git a/core/src/main/scala/chisel3/Annotation.scala b/core/src/main/scala/chisel3/Annotation.scala index d133ab8a..0410e1df 100644 --- a/core/src/main/scala/chisel3/Annotation.scala +++ b/core/src/main/scala/chisel3/Annotation.scala @@ -4,7 +4,7 @@ package chisel3.experimental import scala.language.existentials import chisel3.internal.{Builder, InstanceId} -import chisel3.{CompileOptions, Data, RawModule} +import chisel3.{Data, RawModule} import firrtl.Transform import firrtl.annotations._ import firrtl.options.Unserializable @@ -91,7 +91,7 @@ object doNotDedup { * @param module The module to be marked * @return Unmodified signal `module` */ - def apply[T <: RawModule](module: T)(implicit compileOptions: CompileOptions): Unit = { + def apply[T <: RawModule](module: T): Unit = { annotate(new ChiselAnnotation { def toFirrtl = NoDedupAnnotation(module.toNamed) }) } } -- cgit v1.2.3