Add a "/" when targetDir doesn't have one
This isn't Chisel 3 specific, but that's what I happened to do in the Chisel 3 Driver wrapper.
This commit is contained in:
parent
3bb0f11e6c
commit
8422aaf6fc
@ -165,7 +165,7 @@ object TestGenerator extends App with FileSystemUtilities {
|
||||
val v = createOutputFile(configClassName + ".knb")
|
||||
v.write(world.getKnobs)
|
||||
v.close
|
||||
val d = new java.io.FileOutputStream(Driver.targetDir + configClassName + ".dtb")
|
||||
val d = new java.io.FileOutputStream(Driver.targetDir + "/" + configClassName + ".dtb")
|
||||
d.write(paramsFromConfig(DeviceTree))
|
||||
d.close
|
||||
val w = createOutputFile(configClassName + ".cst")
|
||||
|
Loading…
Reference in New Issue
Block a user