add trace level

This commit is contained in:
Eyck Jentzsch 2021-03-17 09:17:22 +01:00
parent 6d29f4575d
commit 054db6b90d
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ class Simulation(object):
cpp.scc.init_logging(cpp.logging.INFO, False)
elif log_level >= logging.DEBUG:
cpp.scc.init_logging(cpp.logging.DEBUG, False)
else:
cpp.scc.init_logging(cpp.logging.TRACE, False)
except Exception: # fall back: use basic SystemC logging setup
verb_lut={
logging.FATAL:100, #SC_LOW