From 26a6ca000b4ed9998dacb0dfff6548a690b3a36e Mon Sep 17 00:00:00 2001 From: Richard Lin Date: Tue, 22 Jan 2019 15:39:33 -0800 Subject: Import aliases for chisel3.core (#998) Compatibility for rename introduced by #994--- chiselFrontend/src/main/scala/chisel3/core/package.scala | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'chiselFrontend/src/main') diff --git a/chiselFrontend/src/main/scala/chisel3/core/package.scala b/chiselFrontend/src/main/scala/chisel3/core/package.scala index 99c9a7ae..cd75a8a0 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/package.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/package.scala @@ -121,5 +121,13 @@ package chisel3 { implicit class fromIntToBinaryPoint(int: Int) { def BP: BinaryPoint = BinaryPoint(int) // scalastyle:ignore method.name } + + // These provide temporary compatibility for those who foolishly imported from chisel3.core + @deprecated("Avoid importing from chisel3.core, these are not public APIs and may change at any time. " + + " Use chisel3.experimental.RawModule instead.", "since the beginning of time") + type UserModule = chisel3.core.RawModule + @deprecated("Avoid importing from chisel3.core, these are not public APIs and may change at any time. " + + "Use chisel3.experimental.MultiIOModule instead.", "since the beginning of time") + type ImplicitModule = chisel3.core.MultiIOModule } } -- cgit v1.2.3