debug.print


inline void print(auto x) §source

Format the argument as a string and write to simulation log. Use interpolated string syntax to output multiple values.

Example
 >>> const uint32 foo = 10; const bool bar = true; print("{foo=}\n{bar=}");
 foo = 10
 bar = true
inline void println(auto x) §source

Format the argument as a string and write as a line to simulation log. Multiple values can be printed using interpolated string syntax, however it is more efficient to use the print function and explicitly append end of line \n to the string.

Example
 >>> const uint32 foo = 10; println(foo);
 10