Add command line -j option for number of threads.

This commit is contained in:
mrg 2020-10-05 15:49:00 -07:00
parent da83824a70
commit cb35c0aff4
2 changed files with 6 additions and 0 deletions

View File

@ -55,6 +55,11 @@ def parse_args():
action="store_false",
help="Disable all LVS/DRC checks",
dest="check_lvsdrc"),
optparse.make_option("-j", "--threads",
action="store",
type="int",
help="Specify the number of threads (default: 2)",
dest="num_threads"),
optparse.make_option("-v",
"--verbose",
action="count",

View File

@ -9,6 +9,7 @@ import optparse
import getpass
import os
class options(optparse.Values):
"""
Class for holding all of the OpenRAM options. All