Pulling authors for CLI directly from AUTHORS file
@@ -32,9 +32,15 @@ def main():
ascii_banner = pyfiglet.figlet_format("Silicon Compiler")
print(ascii_banner)
- # TODO: parse authors list file, leaving this here as reminder
+ # Print out SC project authors
+ authors = []
+ f = open("AUTHORS", "r")
+ for line in f:
+ name = re.match(r'^(\w+\s+\w+)',line)
+ if name:
+ authors.append(name.group(1))
+ print("Authors:",", ".join(authors),"\n")
print("-"*80)
- print("Authors: Andreas Olofsson, William Ransohoff, Noah Moroze\n")
# Read command-line inputs and generate Chip objects to run the flow on.
chips = base_chip.cmdline()
