summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Lawson2015-07-16 14:14:01 -0700
committerJim Lawson2015-07-24 15:50:54 -0700
commit6c42f2560557ede48d9da0b8b63a6dc7a5e56d18 (patch)
treebfff2f28f8fbc7a3a8b21e22d70fd95dbf4cad32 /src
parenta7d7f64e2a29e5737f23a5d2a11b070c83a0be79 (diff)
Remove chiselVersion from Makefile; correct bit order for toBits; correct Vec() factory signature; Builder.pushCommands in test to avoid empty list head if tester manipulates Chisel nodes.
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/Chisel/Driver.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/Chisel/Driver.scala b/src/main/scala/Chisel/Driver.scala
index c4a26221..1dcfa82a 100644
--- a/src/main/scala/Chisel/Driver.scala
+++ b/src/main/scala/Chisel/Driver.scala
@@ -167,6 +167,8 @@ object Driver extends FileSystemUtilities{
}
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 {