diff options
| author | Andrew Waterman | 2015-08-06 01:52:42 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2015-08-06 01:53:12 -0700 |
| commit | 7a33470a4994bc92480265f4c624a02663fc2d47 (patch) | |
| tree | 45090087e8c4e2ab3901d8c691cfa0a20c497aa8 /src/main/scala/Chisel/Tester.scala | |
| parent | d001d07659bd50f0c2c944fe0afc1132546bfe58 (diff) | |
Simplify the implementation of when-blocks
Reimplement elsewhen in terms of otherwise.
Implement when/otherwise with a multi-command sequence, rather than a lone
but mutable command. Now, all commands are immutable. The command stack
is kaput.
Diffstat (limited to 'src/main/scala/Chisel/Tester.scala')
| -rw-r--r-- | src/main/scala/Chisel/Tester.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/scala/Chisel/Tester.scala b/src/main/scala/Chisel/Tester.scala index 389de2c8..61e78b1d 100644 --- a/src/main/scala/Chisel/Tester.scala +++ b/src/main/scala/Chisel/Tester.scala @@ -57,8 +57,6 @@ object TesterDriver { var dumpTestInput = false private def test[T <: Module](mod: T, ftester: T => Tester[T]): Unit = { - // We shouldn't have to do this. There should be a class of Builder that doesn't pushCommand. - Builder.pushCommands var res = false var tester: Tester[T] = null try { |
