diff options
author | Josh Blum <josh@joshknows.com> | 2011-08-26 13:27:19 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-08-26 13:27:19 -0700 |
commit | d8a044097cb68f4bb9ed2727799568d534f631de (patch) | |
tree | f4d88a361e07bb4d820f649d2c58ec7f1a588a4e /usrp2/top/python | |
parent | 7cd90f705a07b130dd8d8ffd859a8ebbd3abfa58 (diff) | |
download | uhd-d8a044097cb68f4bb9ed2727799568d534f631de.tar.gz uhd-d8a044097cb68f4bb9ed2727799568d534f631de.tar.bz2 uhd-d8a044097cb68f4bb9ed2727799568d534f631de.zip |
fpga: minor tweaks to build system
Diffstat (limited to 'usrp2/top/python')
-rwxr-xr-x | usrp2/top/python/check_timing.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usrp2/top/python/check_timing.py b/usrp2/top/python/check_timing.py index c57e889d0..0c5918096 100755 --- a/usrp2/top/python/check_timing.py +++ b/usrp2/top/python/check_timing.py @@ -21,10 +21,13 @@ import re def print_timing_constraint_summary(twr_file): output = "" keep = False + done = False for line in open(twr_file).readlines(): if 'Derived Constraint Report' in line: keep = True + if 'constraint' in line and 'met' in line: done = True + if not keep and done: keep = True if keep: output += line - if 'constraint' in line and 'met' in line: break + if done: break print("\n\n"+output) if __name__=='__main__': map(print_timing_constraint_summary, sys.argv[1:]) |