mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 02:33:22 +02:00
Improved characterizer.
This commit is contained in:
+1
-1
@@ -34,6 +34,6 @@ def info(lev, str):
|
||||
if (OPTS.debug_level >= lev):
|
||||
frm = inspect.stack()[1]
|
||||
mod = inspect.getmodule(frm[0])
|
||||
print("\n[{0}]: {1}".format(frm[0].f_code.co_name,str))
|
||||
print("[{0}]: {1}".format(frm[0].f_code.co_name,str))
|
||||
# This sometimes gets a NoneType mod...
|
||||
# print "[" , mod.__name__ , "]: ", str
|
||||
|
||||
Reference in New Issue
Block a user