summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/ModuleAspect.scala
diff options
context:
space:
mode:
authorAditya Naik2024-05-03 10:59:45 -0700
committerAditya Naik2024-05-03 10:59:45 -0700
commit878d488a7c8e0d6973de58b3164022c6a102e449 (patch)
treecd081bbcbe3f797f80b10c2d8153da0069750e51 /core/src/main/scala/chisel3/ModuleAspect.scala
parent8200c0cdf1d471453946d5ae24bc99757b2ef02d (diff)
Get cleanup to compile
Diffstat (limited to 'core/src/main/scala/chisel3/ModuleAspect.scala')
-rw-r--r--core/src/main/scala/chisel3/ModuleAspect.scala26
1 files changed, 0 insertions, 26 deletions
diff --git a/core/src/main/scala/chisel3/ModuleAspect.scala b/core/src/main/scala/chisel3/ModuleAspect.scala
deleted file mode 100644
index 471ab980..00000000
--- a/core/src/main/scala/chisel3/ModuleAspect.scala
+++ /dev/null
@@ -1,26 +0,0 @@
-// SPDX-License-Identifier: Apache-2.0
-
-package chisel3
-
-import chisel3.internal.{Builder, PseudoModule}
-
-/** Used by Chisel Aspects to inject Chisel code into modules, after they have been elaborated.
- * This is an internal API - don't use!
- *
- * It adds itself as an aspect to the module, which allows proper checking of connection and binding legality.
- *
- * @param module Module for which this object is an aspect of
- * @param moduleCompileOptions
- */
-abstract class ModuleAspect private[chisel3] (module: RawModule)(implicit moduleCompileOptions: CompileOptions)
- extends RawModule
- with PseudoModule {
-
- Builder.addAspect(module, this)
-
- override def circuitName: String = module.toTarget.circuit
-
- override def desiredName: String = module.name
-
- override val _namespace = module._namespace
-}