is there a embeddable debug macro for SLANG? #871
Practical-UVM-Step-By-Step
started this conversation in
General
Replies: 2 comments
-
There is not a debug macro that will print to the console. I tend to just use a debugger so I have no need of such a macro. If you prefer printf debugging then I'm not sure why it's more tedious to put the printfs in yourself than using a macro, but you're always free to add such a macro in your own fork. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks Mike for the response. Let me see if I can do something with it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You probably have it, but I'm not sure where to look.
Would you by any chance have a macro which we can embed some strings and it spits out using the diag engine or other mechansim. Something we can use anywhere in the slang library as we're debugging because the namespaces etc are maintained?
if not, could you suggest such a macro?
Currently, i'm adding namespace std/#include and then doing std::cout prints while I learn this library, and it's a bit tedious...
Srivatsa
Beta Was this translation helpful? Give feedback.
All reactions