mirror of https://github.com/VLSIDA/OpenRAM.git
Add top process averness
This commit is contained in:
parent
efd6da5300
commit
f0a4665953
|
|
@ -28,6 +28,8 @@ if len(args) != 2:
|
||||||
print(USAGE)
|
print(USAGE)
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
|
OPTS.top_process = 'memchar'
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@ if len(args) != 3:
|
||||||
print(USAGE)
|
print(USAGE)
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
|
OPTS.top_process = 'memfunc'
|
||||||
|
|
||||||
# Parse argument
|
# Parse argument
|
||||||
config_file = args[0]
|
config_file = args[0]
|
||||||
cycles = int(args[1])
|
cycles = int(args[1])
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,8 @@ if len(args) != 1:
|
||||||
print(g.USAGE)
|
print(g.USAGE)
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
||||||
|
# Set top process to openram
|
||||||
|
OPTS.top_process = 'openram'
|
||||||
|
|
||||||
# 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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue