summaryrefslogtreecommitdiff
path: root/src/main/scala/chisel3/aop/inspecting/InspectingAspect.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 /src/main/scala/chisel3/aop/inspecting/InspectingAspect.scala
parent8200c0cdf1d471453946d5ae24bc99757b2ef02d (diff)
Get cleanup to compile
Diffstat (limited to 'src/main/scala/chisel3/aop/inspecting/InspectingAspect.scala')
-rw-r--r--src/main/scala/chisel3/aop/inspecting/InspectingAspect.scala26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/main/scala/chisel3/aop/inspecting/InspectingAspect.scala b/src/main/scala/chisel3/aop/inspecting/InspectingAspect.scala
deleted file mode 100644
index 1340f253..00000000
--- a/src/main/scala/chisel3/aop/inspecting/InspectingAspect.scala
+++ /dev/null
@@ -1,26 +0,0 @@
-// SPDX-License-Identifier: Apache-2.0
-
-package chisel3.aop.inspecting
-
-import chisel3.RawModule
-import chisel3.aop.Aspect
-import firrtl.AnnotationSeq
-
-/** Use for inspecting an elaborated design and printing out results
- *
- * @param inspect Given top-level design, print things and return nothing
- * @tparam T Type of top-level module
- */
-case class InspectingAspect[T <: RawModule](inspect: T => Unit) extends InspectorAspect[T](inspect)
-
-/** Extend to make custom inspections of an elaborated design and printing out results
- *
- * @param inspect Given top-level design, print things and return nothing
- * @tparam T Type of top-level module
- */
-abstract class InspectorAspect[T <: RawModule](inspect: T => Unit) extends Aspect[T] {
- override def toAnnotation(top: T): AnnotationSeq = {
- inspect(top)
- Nil
- }
-}