mirror of https://github.com/VLSIDA/OpenRAM.git
Merge branch 'supply_routing' into dev
This commit is contained in:
commit
37c10a2198
|
|
@ -10,6 +10,7 @@ omit =
|
||||||
debug.py
|
debug.py
|
||||||
[paths]
|
[paths]
|
||||||
source =
|
source =
|
||||||
|
../..
|
||||||
/home/gitlab-runner/builds/2fd64746/0
|
/home/gitlab-runner/builds/2fd64746/0
|
||||||
/home/gitlab-runner/builds/2fd64746/1
|
/home/gitlab-runner/builds/2fd64746/1
|
||||||
/home/gitlab-runner/builds/2fd64746/2
|
/home/gitlab-runner/builds/2fd64746/2
|
||||||
|
|
|
||||||
|
|
@ -395,11 +395,15 @@ def import_tech():
|
||||||
|
|
||||||
def print_time(name, now_time, last_time=None, indentation=2):
|
def print_time(name, now_time, last_time=None, indentation=2):
|
||||||
""" Print a statement about the time delta. """
|
""" Print a statement about the time delta. """
|
||||||
if last_time:
|
global OPTS
|
||||||
time = str(round((now_time-last_time).total_seconds(),1)) + " seconds"
|
|
||||||
else:
|
# Don't print during testing
|
||||||
time = now_time.strftime('%m/%d/%Y %H:%M:%S')
|
if not OPTS.is_unit_test or OPTS.debug_level>0:
|
||||||
print("{0} {1}: {2}".format("*"*indentation,name,time))
|
if last_time:
|
||||||
|
time = str(round((now_time-last_time).total_seconds(),1)) + " seconds"
|
||||||
|
else:
|
||||||
|
time = now_time.strftime('%m/%d/%Y %H:%M:%S')
|
||||||
|
print("{0} {1}: {2}".format("*"*indentation,name,time))
|
||||||
|
|
||||||
|
|
||||||
def report_status():
|
def report_status():
|
||||||
|
|
|
||||||
|
|
@ -26,15 +26,15 @@ if len(args) != 1:
|
||||||
# These depend on arguments, so don't load them until now.
|
# These depend on arguments, so don't load them until now.
|
||||||
import debug
|
import debug
|
||||||
|
|
||||||
# Keep track of running stats
|
|
||||||
start_time = datetime.datetime.now()
|
|
||||||
print_time("Start",start_time)
|
|
||||||
|
|
||||||
init_openram(config_file=args[0], is_unit_test=False)
|
init_openram(config_file=args[0], is_unit_test=False)
|
||||||
|
|
||||||
# Only print banner here so it's not in unit tests
|
# Only print banner here so it's not in unit tests
|
||||||
print_banner()
|
print_banner()
|
||||||
|
|
||||||
|
# Keep track of running stats
|
||||||
|
start_time = datetime.datetime.now()
|
||||||
|
print_time("Start",start_time)
|
||||||
|
|
||||||
# Output info about this run
|
# Output info about this run
|
||||||
report_status()
|
report_status()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue