Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
961d9bc6
Commit
961d9bc6
authored
Jan 12, 2018
by
Jens Korinth
Browse files
Vivado/HLS: delete logfile before watching
parent
b4311e00
Changes
2
Show whitespace changes
Inline
Side-by-side
src/main/scala/tapasco/activity/composers/VivadoComposer.scala
View file @
961d9bc6
...
...
@@ -66,6 +66,7 @@ class VivadoComposer()(implicit cfg: Configuration) extends Composer {
composition
=
composition
(
bd
,
target
))
logger
.
info
(
"Vivado starting run {}: output in {}"
,
files
.
runName
:
Any
,
files
.
logFile
)
files
.
logFile
.
toFile
.
delete
cfg
.
verbose
foreach
{
mode
=>
logger
.
info
(
"verbose mode {} is active, starting to watch {}"
,
mode
:
Any
,
files
.
logFile
)
lt
+=
files
.
logFile
...
...
src/main/scala/tapasco/activity/hls/VivadoHighLevelSynthesis.scala
View file @
961d9bc6
...
...
@@ -55,6 +55,7 @@ private object VivadoHighLevelSynthesis extends HighLevelSynthesizer {
new
FileWriter
(
script
.
toString
).
append
(
makeScript
(
k
,
t
)).
close
()
// write Tcl file
val
runName
=
"'%s' for %s"
.
format
(
k
.
name
,
t
.
toString
)
logger
.
info
(
"starting run {}: output in {}"
,
runName
:
Any
,
logfile
)
logfile
.
toFile
.
delete
cfg
.
verbose
foreach
{
mode
=>
logger
.
info
(
"verbose mode {} is active, starting to watch {}"
,
mode
:
Any
,
logfile
)
lt
+=
logfile
...
...
Jens Korinth
@jk
mentioned in commit
17f0d672
·
Mar 05, 2018
mentioned in commit
17f0d672
mentioned in commit 17f0d67240ebf5d7e1d0be9162d272b04256c47d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment