add crunch for condition that does not work

This commit is contained in:
GenZmeY 2021-06-14 02:40:45 +03:00
parent 6219d151d6
commit 86568e4b92

View File

@ -1,9 +1,9 @@
`define scelog(text, cond) `log(`text, `cond, 'ScoreboardExt')
`define scelog(text, cond) `log(`text, `cond, 'ScoreboardExt')
`define info(text) `scelog("[INFO]"@`text, true)
`define warning(text) `scelog("[WARNING]"@`text, true)
`define error(text) `scelog("[ERROR]"@`text, true)
`define info(text) `scelog("[INFO]"@`text, true)
`define warning(text) `scelog("[WARNING]"@`text, true)
`define error(text) `scelog("[ERROR]"@`text, true)
`define debug(text) `scelog("[DEBUG]"@`text, `bEnableDebug)
`define callstack() `scelog("[CALLSTACK]"@`Location@"ROLE="$ROLE, `bEnableCallstack)
`define callstack_static(text) `scelog("[CALLSTACK]"@`text, `bEnableCallstack)
`define debug(text) if (`bEnableDebug) { `scelog("[DEBUG]"@`text, `bEnableDebug); }
`define callstack() if (`bEnableCallstack) { `scelog("[CALLSTACK]"@`Location@"ROLE="$ROLE, `bEnableCallstack); }
`define callstack_static(text) if (`bEnableCallstack) { `scelog("[CALLSTACK]"@`text, `bEnableCallstack); }