提交 78755a82 编写于 作者: J jinyue110

LogUtils: remove mistake

上级 09f1628a
......@@ -26,7 +26,7 @@ object XSLog {
val logEnable = WireInit(false.B)
ExcitingUtils.addSink(logEnable, "DISPLAY_LOG_ENABLE")
if(generateLog){
when (cond ){//&& logEnable) {
when (cond && logEnable) {
printf((if (prefix) commonInfo else p"") + pable)
if (debugLevel >= XSLogLevel.ERROR) {
assert(false.B)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册