mirror of https://github.com/VLSIDA/OpenRAM.git
Modify banner to output temp path
This commit is contained in:
parent
3074349c38
commit
a2b7636e58
|
|
@ -14,19 +14,6 @@ import importlib
|
||||||
# Current version of OpenRAM.
|
# Current version of OpenRAM.
|
||||||
VERSION = "1.0"
|
VERSION = "1.0"
|
||||||
|
|
||||||
# Output banner for file output and program execution.
|
|
||||||
BANNER = """\
|
|
||||||
##############################################################
|
|
||||||
# #
|
|
||||||
# OpenRAM Compiler v""" + VERSION + """ #
|
|
||||||
# #
|
|
||||||
# VLSI Design Automation Lab #
|
|
||||||
# UCSC CE Department #
|
|
||||||
# #
|
|
||||||
# VLSI Computer Architecture Research Group #
|
|
||||||
# Oklahoma State University ECE Department #
|
|
||||||
# #
|
|
||||||
##############################################################\n"""
|
|
||||||
|
|
||||||
USAGE = "usage: openram.py [options] <config file>\n"
|
USAGE = "usage: openram.py [options] <config file>\n"
|
||||||
|
|
||||||
|
|
@ -81,6 +68,25 @@ def parse_args():
|
||||||
def get_opts():
|
def get_opts():
|
||||||
return(OPTS)
|
return(OPTS)
|
||||||
|
|
||||||
|
def print_banner():
|
||||||
|
""" Conditionally print the banner to stdout """
|
||||||
|
global OPTS
|
||||||
|
if not OPTS.print_banner:
|
||||||
|
return
|
||||||
|
|
||||||
|
print "|==============================================================================|"
|
||||||
|
name = "OpenRAM Compiler v"+VERSION
|
||||||
|
print "|=========" + name.center(60) + "=========|"
|
||||||
|
print "|=========" + " ".center(60) + "=========|"
|
||||||
|
print "|=========" + "VLSI Design and Automation Lab".center(60) + "=========|"
|
||||||
|
print "|=========" + "University of California Santa Cruz CE Department".center(60) + "=========|"
|
||||||
|
print "|=========" + " ".center(60) + "=========|"
|
||||||
|
print "|=========" + "VLSI Computer Architecture Research Group".center(60) + "=========|"
|
||||||
|
print "|=========" + "Oklahoma State University ECE Department".center(60) + "=========|"
|
||||||
|
print "|=========" + " ".center(60) + "=========|"
|
||||||
|
print "|=========" + OPTS.openram_temp.center(60) + "=========|"
|
||||||
|
print "|==============================================================================|"
|
||||||
|
|
||||||
|
|
||||||
def init_openram(config_file):
|
def init_openram(config_file):
|
||||||
"""Initialize the technology, paths, simulators, etc."""
|
"""Initialize the technology, paths, simulators, etc."""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue