summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/Aggregate.scala
diff options
context:
space:
mode:
authorAditya Naik2024-06-04 01:31:21 -0700
committerAditya Naik2024-06-04 01:31:21 -0700
commit9a9b2c10eacf10952faea0ec18e76e20d101f813 (patch)
treeab78768c9622f998d4d6208903ee91f8f000e043 /core/src/main/scala/chisel3/Aggregate.scala
parent52824ce57e9d60fe6ef721cfb073249e654dcf46 (diff)
This shold compile if not for the strange bug...
Diffstat (limited to 'core/src/main/scala/chisel3/Aggregate.scala')
-rw-r--r--core/src/main/scala/chisel3/Aggregate.scala15
1 files changed, 1 insertions, 14 deletions
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) {