Files
agila_open_tool/tools/v/examples/pendulum-simulation/modules/sim/log.v
T

10 lines
134 B
V

module sim
// log is a helper function to print debug info
@[inline]
pub fn log(info string) {
$if verbose ? {
println(info)
}
}