@@ -9,16 +9,11 @@ package object Chisel { // scalastyle:ignore package.object.name number.of.t
9
9
import chisel3 .internal .firrtl .Width
10
10
11
11
import scala .language .experimental .macros
12
- import scala .reflect . macros . blackbox . Context
13
- import scala .annotation .{ StaticAnnotation , compileTimeOnly }
12
+ import scala .annotation . StaticAnnotation
13
+ import scala .annotation .compileTimeOnly
14
14
import scala .language .implicitConversions
15
15
16
-
17
- /** Default NotStrict CompileOptions for compatibility code
18
- *
19
- * No longer implicit, materialization macro below provides a low-priority default
20
- */
21
- val defaultCompileOptions = chisel3.ExplicitCompileOptions .NotStrict
16
+ implicit val defaultCompileOptions = chisel3.ExplicitCompileOptions .NotStrict
22
17
23
18
abstract class Direction
24
19
case object INPUT extends Direction
@@ -589,16 +584,6 @@ package object Chisel { // scalastyle:ignore package.object.name number.of.t
589
584
val Pipe = chisel3.util.Pipe
590
585
type Pipe [T <: Data ] = chisel3.util.Pipe [T ]
591
586
592
- /** Provides a low priority NotStrict default. Can be overridden by providing a custom implicit
593
- * val in lexical scope (ie. imported)
594
- * Implemented as a macro to provide a low-priority default
595
- */
596
- implicit def materializeCompileOptions : CompileOptions = macro materializeCompileOptions_impl
597
-
598
- def materializeCompileOptions_impl (c : Context ): c.Tree = {
599
- import c .universe ._
600
- q " _root_.chisel3.ExplicitCompileOptions.NotStrict "
601
- }
602
587
603
588
/** Package for experimental features, which may have their API changed, be removed, etc.
604
589
*
0 commit comments