Commit 3d3b0409 authored by Carsten Heinz's avatar Carsten Heinz
Browse files

Merge branch '170-evaluation-of-ips-fails-on-the-lichtenberg-cluster' into '2018.2'

Resolve "Evaluation of IPs fails on the Lichtenberg cluster"

See merge request !26
parents a12cda0c f736501a
Pipeline #667 passed with stage
in 7 minutes and 18 seconds
......@@ -49,3 +49,4 @@ bin/tapasco-reportviewer
.Xil/
webtalk.*
nf_sume_ddr3A.prj
.idea
......@@ -50,11 +50,19 @@ object EvaluateIP {
/** Template for the out-of-context synth+PnR script. */
final val tclTemplate = Common.commonDir.resolve("evaluate_ip.tcl.template")
// custom ProcessIO: ignore everything
def captureProcessOutput(input : java.io.InputStream) : Unit = {
val buffer = new Array[Byte](1024)
val stringBuilder : StringBuilder = new StringBuilder
Stream.continually(input.read(buffer)).takeWhile(_ != -1).foreach(stringBuilder.append(buffer, 0, _))
logger.debug(stringBuilder.toString())
input.close()
}
// custom ProcessIO: Write stdout and stderr to DEBUG-level log.
private final val io = new ProcessIO(
stdin => {stdin.close()},
stdout => {stdout.close()},
stderr => {stderr.close()}
captureProcessOutput,
captureProcessOutput
)
/** Managment of temporary files, directories, reports. */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment