diff options
| author | Richard Lin | 2019-01-22 15:39:33 -0800 |
|---|---|---|
| committer | GitHub | 2019-01-22 15:39:33 -0800 |
| commit | 26a6ca000b4ed9998dacb0dfff6548a690b3a36e (patch) | |
| tree | 2b5bb45fa4c6ff5c055b046f6efcbfe465488e88 /chiselFrontend/src/main | |
| parent | b39bc25ff76762d93300975e533ec3bd4f119d1c (diff) | |
Import aliases for chisel3.core (#998)
Compatibility for rename introduced by #994
Diffstat (limited to 'chiselFrontend/src/main')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/package.scala | 8 |
1 files changed, 8 insertions, 0 deletions
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 } } |
