fpga: tools: Fix error detection in run_testbenches.py
This fixes recognition of $error and $fatal statements in the output of XSim when running run_testbenches.py. XSim apparently prints a "shift in" character (0x15) as part of its error statements, so the regular expression was not matching. Original-commit: ee36d7fabcf73f773edae00fbb1604a600db992d
This commit is contained in:
@@ -157,7 +157,7 @@ def parse_output(simout):
|
||||
# testbench or may occur in a subsequent instance, after a pass.
|
||||
tb_match_error = ([
|
||||
'\n',
|
||||
'(Error|Fatal): .*\n',
|
||||
'(Error|Fatal): .*\n.?',
|
||||
'Time: .+\n',
|
||||
])
|
||||
m_error = re.search(''.join(tb_match_error), plain_simout)
|
||||
|
||||
Reference in New Issue
Block a user