From 9a9b2c10eacf10952faea0ec18e76e20d101f813 Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Tue, 4 Jun 2024 01:31:21 -0700 Subject: This shold compile if not for the strange bug... --- core/src/main/scala/chisel3/Aggregate.scala | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'core/src/main/scala/chisel3/Aggregate.scala') diff --git a/core/src/main/scala/chisel3/Aggregate.scala b/core/src/main/scala/chisel3/Aggregate.scala index fc9972aa..ab7fe53f 100644 --- a/core/src/main/scala/chisel3/Aggregate.scala +++ b/core/src/main/scala/chisel3/Aggregate.scala @@ -1072,13 +1072,7 @@ package experimental { * } * }}} */ -abstract class Bundle extends Record with experimental.AutoCloneType { - assert( - _usingPlugin, - "The Chisel compiler plugin is now required for compiling Chisel code. " + - "Please see https://github.com/chipsalliance/chisel3#build-your-own-chisel-projects." - ) - +abstract class Bundle extends Record { override def className: String = try { this.getClass.getSimpleName match { case name if name.startsWith("$anon$") => "AnonymousBundle" // fallback for anonymous Bundle case @@ -1217,13 +1211,6 @@ abstract class Bundle extends Record with experimental.AutoCloneType { case _ => None } - /** Indicates if a concrete Bundle class was compiled using the compiler plugin - * - * Used for optimizing Chisel's performance and testing Chisel itself - * @note This should not be used in user code! - */ - protected def _usingPlugin: Boolean = false - private def checkClone(clone: Bundle): Unit = { for ((name, field) <- elements) { if (clone.elements(name) eq field) { -- cgit v1.2.3