summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/package.scala
diff options
context:
space:
mode:
authorAditya Naik2024-05-31 14:15:38 -0700
committerAditya Naik2024-05-31 14:15:38 -0700
commitcaf746088b7d92def18f2b3d6ccb7dfd9860e64b (patch)
tree57d6f2ac771fd8e8f35ae5051f81ef997b5f4efb /core/src/main/scala/chisel3/package.scala
parentbc92bb62f9f6a090e74392993e4fcfdd1f6b0676 (diff)
52 errors, removing implicit sourceinfo to clear more errors
Diffstat (limited to 'core/src/main/scala/chisel3/package.scala')
-rw-r--r--core/src/main/scala/chisel3/package.scala15
1 files changed, 8 insertions, 7 deletions
diff --git a/core/src/main/scala/chisel3/package.scala b/core/src/main/scala/chisel3/package.scala
index d30a5c83..f69c6d04 100644
--- a/core/src/main/scala/chisel3/package.scala
+++ b/core/src/main/scala/chisel3/package.scala
@@ -3,11 +3,12 @@
import chisel3.internal.firrtl.BinaryPoint
import java.util.{MissingFormatArgumentException, UnknownFormatConversionException}
import scala.collection.mutable
+import chisel3.experimental.VecLiterals._
+import chisel3.experimental.BundleLiterals._
/** This package contains the main chisel3 API.
*/
package object chisel3 {
- import internal.chiselRuntimeDeprecated
import internal.sourceinfo.DeprecatedSourceInfo
import internal.firrtl.{Port, Width}
import internal.Builder
@@ -158,7 +159,7 @@ package object chisel3 {
val WireInit = WireDefault
- object Vec extends VecFactory
+ // object Vec extends VecFactory
// Some possible regex replacements for the literal specifier deprecation:
// (note: these are not guaranteed to handle all edge cases! check all replacements!)
@@ -174,13 +175,13 @@ package object chisel3 {
// => $1.U($2.W)
// (UInt|SInt|Bool)\(([_a-zA-Z][_0-9a-zA-Z]*)\)
// => $2.as$1
- // (UInt|SInt)\(([_a-zA-Z][_0-9a-zA-Z]*),\s*(?:width\s*=)?\s*(\d+|[_a-zA-Z][_0-9a-zA-Z]*)\)
+ // (UInt|SInt)\(([_a-zA-Z][_0-9a-zA-Z]*),\s*(?:width\s*=)?\s*(\d+|[_a-zA-Z][_0-9a-zA-Z]*)\)n
// => $2.as$1($3.W)
- object Bits extends UIntFactory
- object UInt extends UIntFactory
- object SInt extends SIntFactory
- object Bool extends BoolFactory
+ // object Bits extends UIntFactory
+ // object UInt extends UIntFactory
+ // object SInt extends SIntFactory
+ // object Bool extends BoolFactory
type InstanceId = internal.InstanceId