diff options
| author | Schuyler Eldridge | 2019-01-17 17:45:56 -0500 |
|---|---|---|
| committer | GitHub | 2019-01-17 17:45:56 -0500 |
| commit | 6f4f5dd24adf815f1db81ceb7086eaa399784e6f (patch) | |
| tree | 6116e128b6258ed5eee7d042d0fabbd14dcb3df7 /src/test/scala/chiselTests | |
| parent | 1e4fef2e933e01b692c57af1fd64b271829ab283 (diff) | |
| parent | 685790b2c6c7ff8ddfd34f2f84572a985d3416cc (diff) | |
Merge branch 'master' into improve-andr
Diffstat (limited to 'src/test/scala/chiselTests')
| -rw-r--r-- | src/test/scala/chiselTests/NamingAnnotationTest.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/NamingAnnotationTest.scala b/src/test/scala/chiselTests/NamingAnnotationTest.scala index 07962aaf..ec0874fc 100644 --- a/src/test/scala/chiselTests/NamingAnnotationTest.scala +++ b/src/test/scala/chiselTests/NamingAnnotationTest.scala @@ -67,6 +67,11 @@ class NamedModule extends NamedModuleTester { val myA = expectName(1.U + myNested, "test_myA") val myB = expectName(myA +& 2.U, "test_myB") val myC = expectName(myB +& 3.U, "test_myC") + + val myD = Seq(myC +& 1.U, myC +& 2.U) + for ((d, i) <- myD.zipWithIndex) + expectName(d, s"test_myD_$i") + myC +& 4.U // named at enclosing scope } |
