diff options
| author | Jack Koenig | 2017-08-06 16:37:31 -0700 |
|---|---|---|
| committer | Jack Koenig | 2017-08-07 16:26:43 -0700 |
| commit | 156435b80e32175883be21c7ab53784dd94f5c53 (patch) | |
| tree | 7a5cff31e5aa1fedea2a1a5ef7e521a3cefd8c03 /src | |
| parent | 818d2d25e1a66147905c8bf672dc762a5df587ac (diff) | |
Don't assign default direction to Analog in Chisel._
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/scala/chiselTests/CompatibilitySpec.scala (renamed from src/test/scala/chiselTests/CompatibiltySpec.scala) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/CompatibiltySpec.scala b/src/test/scala/chiselTests/CompatibilitySpec.scala index cc14be5e..f3934f76 100644 --- a/src/test/scala/chiselTests/CompatibiltySpec.scala +++ b/src/test/scala/chiselTests/CompatibilitySpec.scala @@ -161,6 +161,14 @@ class CompatibiltySpec extends ChiselFlatSpec with GeneratorDrivenPropertyChecks elaborate { new Chisel2CompatibleRisc } } + it should "not try to assign directions to Analog" in { + elaborate(new Module { + val io = new Bundle { + val port = chisel3.experimental.Analog(32.W) + } + }) + } + class SmallBundle extends Bundle { val f1 = UInt(width = 4) |
