2021-06-14 02:40:45 +03:00
|
|
|
`define scelog(text, cond) `log(`text, `cond, 'ScoreboardExt')
|
2021-06-12 23:11:37 +03:00
|
|
|
|
2021-06-14 02:40:45 +03:00
|
|
|
`define info(text) `scelog("[INFO]"@`text, true)
|
|
|
|
`define warning(text) `scelog("[WARNING]"@`text, true)
|
|
|
|
`define error(text) `scelog("[ERROR]"@`text, true)
|
2021-06-12 23:11:37 +03:00
|
|
|
|
2021-06-14 02:40:45 +03:00
|
|
|
`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); }
|