From f0a46659533f55502fcc8344449b9fce9db85370 Mon Sep 17 00:00:00 2001 From: Bugra Onal Date: Thu, 18 Aug 2022 20:35:02 -0700 Subject: [PATCH] Add top process averness --- compiler/memchar.py | 2 ++ compiler/memfunc.py | 2 ++ compiler/openram.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/compiler/memchar.py b/compiler/memchar.py index 99c6492f..4de9e58c 100755 --- a/compiler/memchar.py +++ b/compiler/memchar.py @@ -28,6 +28,8 @@ if len(args) != 2: print(USAGE) sys.exit(2) +OPTS.top_process = 'memchar' + # These depend on arguments, so don't load them until now. import debug diff --git a/compiler/memfunc.py b/compiler/memfunc.py index 87686455..c0dfe25e 100755 --- a/compiler/memfunc.py +++ b/compiler/memfunc.py @@ -28,6 +28,8 @@ if len(args) != 3: print(USAGE) sys.exit(2) +OPTS.top_process = 'memfunc' + # Parse argument config_file = args[0] cycles = int(args[1]) diff --git a/compiler/openram.py b/compiler/openram.py index 5c4f4df7..a0dcdfba 100755 --- a/compiler/openram.py +++ b/compiler/openram.py @@ -27,6 +27,8 @@ if len(args) != 1: print(g.USAGE) sys.exit(2) +# Set top process to openram +OPTS.top_process = 'openram' # These depend on arguments, so don't load them until now. import debug