Skip to content

Commit

Permalink
use DREAMER env var for flo tester
Browse files Browse the repository at this point in the history
  • Loading branch information
jackbackrack committed Mar 11, 2014
1 parent 3094f46 commit 9ceee82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/Flo.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import scala.collection.mutable.HashSet

class FloBackend extends Backend {
// TODO: SHOULD BE IN ENV VAR
val floDir = "/Users/jrb/bar/flo/emulator/"
val floDir = java.lang.System.getenv("DREAMER")
val keywords = new HashSet[String]();
var isRnd = false

Expand Down Expand Up @@ -236,7 +236,7 @@ class FloBackend extends Backend {
ChiselError.info(cmd + " RET " + c)
}
def build(name: String) {
val cmd = floDir + "lay -is-console :num-cols 1 :num-cols 1 < " + dir + name + ".flo | " + floDir + "fix-sched > " + dir + name + ".hex"
val cmd = floDir + "/emulator/lay -is-console :num-cols 1 :num-cols 1 < " + dir + name + ".flo | " + floDir + "fix-sched > " + dir + name + ".hex"
println("BUILDING " + cmd)
run(cmd)
}
Expand Down

0 comments on commit 9ceee82

Please sign in to comment.