commit
70945953a8
@ -136,8 +136,8 @@ object TestGenerator extends App with FileSystemUtilities {
|
||||
Class.forName(s"$projectName.$configClassName").newInstance.asInstanceOf[Config]
|
||||
} catch {
|
||||
case e: java.lang.ClassNotFoundException =>
|
||||
throwException(s"Could not find the cde.Config subclass you asked for " +
|
||||
"(i.e. \"$configClassName\"), did you misspell it?", e)
|
||||
throwException("Unable to find configClassName \"" + configClassName +
|
||||
"\", did you misspell it?", e)
|
||||
}
|
||||
val world = config.toInstance
|
||||
val paramsFromConfig: Parameters = Parameters.root(world)
|
||||
@ -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")
|
||||
|
@ -11,7 +11,7 @@ class MemDessert(topParams: Parameters) extends Module {
|
||||
implicit val p = topParams
|
||||
val io = new MemDesserIO(p(HtifKey).width)
|
||||
val x = Module(new MemDesser(p(HtifKey).width))
|
||||
io.narrow <> x.io.narrow
|
||||
x.io.narrow <> io.narrow
|
||||
io.wide <> x.io.wide
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user