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
13fdb518
Commit
13fdb518
authored
Mar 02, 2018
by
Jens Korinth
Browse files
Recognize Tcl errors in Vivado logs
parent
90b74d7c
Pipeline
#326
passed with stage
in 2 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/scala/tapasco/activity/composers/ComposerLog.scala
View file @
13fdb518
...
...
@@ -62,7 +62,7 @@ object ComposerLog {
def
apply
(
file
:
Path
)
:
Option
[
ComposerLog
]
=
try
{
Some
(
new
ComposerLog
(
file
))
}
catch
{
case
e
:
Exception
=>
logger
.
warn
(
"could not read logfile "
+
file
+
": "
+
e
);
None
}
private
val
RE_ERROR
=
"""(?i)^[^_]*error"""
.
r
private
val
RE_ERROR
=
"""(?i)
(
^[^_]*error
)|(\(file .*tcl\" line)
"""
.
r
private
val
RE_WARNING
=
"""(?i)warn"""
.
r
private
val
RE_PLACER
=
"""(?i)(Placer could not place all instances)|(ERROR:\s*\[Place)"""
.
r
private
val
RE_TIMING
=
"""Timing 38-282"""
.
r
...
...
Jens Korinth
@jk
mentioned in commit
17f0d672
·
Mar 05, 2018
mentioned in commit
17f0d672
mentioned in commit 17f0d67240ebf5d7e1d0be9162d272b04256c47d
Toggle commit list
Write
Preview
Supports
Markdown
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