mirror of https://github.com/VLSIDA/OpenRAM.git
Add command line -j option for number of threads.
This commit is contained in:
parent
da83824a70
commit
cb35c0aff4
|
|
@ -55,6 +55,11 @@ def parse_args():
|
||||||
action="store_false",
|
action="store_false",
|
||||||
help="Disable all LVS/DRC checks",
|
help="Disable all LVS/DRC checks",
|
||||||
dest="check_lvsdrc"),
|
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",
|
optparse.make_option("-v",
|
||||||
"--verbose",
|
"--verbose",
|
||||||
action="count",
|
action="count",
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import optparse
|
||||||
import getpass
|
import getpass
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|
||||||
class options(optparse.Values):
|
class options(optparse.Values):
|
||||||
"""
|
"""
|
||||||
Class for holding all of the OpenRAM options. All
|
Class for holding all of the OpenRAM options. All
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue