提交 e90f638a 编写于 作者: L LinJiawei

XSSim: Use closed range [log_begin, log_end) to disable log

上级 f96a1430
......@@ -82,7 +82,7 @@ class XSSimTop extends Module {
BoringUtils.addSink(difftest.scause, "difftestScause")
io.difftest := difftest
val logEnable = (GTimer() >= io.logCtrl.log_begin) && (GTimer() <= io.logCtrl.log_end)
val logEnable = (GTimer() >= io.logCtrl.log_begin) && (GTimer() < io.logCtrl.log_end)
BoringUtils.addSource(logEnable, "DISPLAY_LOG_ENABLE")
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册