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/Element.scala | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'core/src/main/scala/chisel3/Element.scala') diff --git a/core/src/main/scala/chisel3/Element.scala b/core/src/main/scala/chisel3/Element.scala index 39b7689c..22b6663f 100644 --- a/core/src/main/scala/chisel3/Element.scala +++ b/core/src/main/scala/chisel3/Element.scala @@ -4,7 +4,6 @@ package chisel3 import chisel3.internal.Builder.pushCommand import chisel3.internal.firrtl._ -import chisel3.internal.sourceinfo.SourceInfo import chisel3.internal._ /** Element is a leaf data type: it cannot contain other [[Data]] objects. Example uses are for representing primitive @@ -56,14 +55,4 @@ abstract class Element extends Data { override def litOption: Option[BigInt] = litArgOption.map(_.num) private[chisel3] def litIsForcedWidth: Option[Boolean] = litArgOption.map(_.forcedWidth) - - private[chisel3] def legacyConnect(that: Data)(implicit sourceInfo: SourceInfo): Unit = { - // If the source is a DontCare, generate a DefInvalid for the sink, - // otherwise, issue a Connect. - if (that == DontCare) { - pushCommand(DefInvalid(sourceInfo, Node(this))) - } else { - pushCommand(Connect(sourceInfo, Node(this), that.ref)) - } - } } -- cgit v1.2.3