diff options
| author | Andrew Waterman | 2016-10-05 15:18:25 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2016-10-05 15:49:59 -0700 |
| commit | b2373ebda5e63fa850de21585307013f8419320a (patch) | |
| tree | 9d155b3f7bbc02421b1b50d52cbbf8c23f7eafab /src/test/scala/chiselTests/CompileOptionsTest.scala | |
| parent | c7ce06493300cf7ffa89ef472cd6a7086443c16f (diff) | |
Make asInput/asOutput/flip deprecation warnings dynamic
Code that imports Chisel._ shouldn't see them.
Not sure if requireIOWrap is the right condition... or if cyan is a
good choice of color for deprecation warnings.
Diffstat (limited to 'src/test/scala/chiselTests/CompileOptionsTest.scala')
| -rw-r--r-- | src/test/scala/chiselTests/CompileOptionsTest.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/CompileOptionsTest.scala b/src/test/scala/chiselTests/CompileOptionsTest.scala index 83077544..66a9dcc0 100644 --- a/src/test/scala/chiselTests/CompileOptionsTest.scala +++ b/src/test/scala/chiselTests/CompileOptionsTest.scala @@ -22,6 +22,7 @@ class CompileOptionsSpec extends ChiselFlatSpec { val requireIOWrap = false val dontTryConnectionsSwapped = true val dontAssumeDirectionality = true + val deprecateOldDirectionMethods = true } class SmallBundle extends Bundle { @@ -265,6 +266,7 @@ class CompileOptionsSpec extends ChiselFlatSpec { val requireIOWrap = false val dontTryConnectionsSwapped = true val dontAssumeDirectionality = true + val deprecateOldDirectionMethods = false } } |
