A
Amit
Hello group,
I'm learning to write a testbench so in part of the code I increment
a variable to count number of errors during simulation.
now, I need to know how I can print out a message showing number of
detected errors as following:
Found n error(s).
where n is the value in the counter variable.
Any help is appreciated.
p.s. I thought using & to concatenate would work but no
report "Found " & err_cnt & " error(s)" !!!! (wrong)
I'm learning to write a testbench so in part of the code I increment
a variable to count number of errors during simulation.
now, I need to know how I can print out a message showing number of
detected errors as following:
Found n error(s).
where n is the value in the counter variable.
Any help is appreciated.
p.s. I thought using & to concatenate would work but no
report "Found " & err_cnt & " error(s)" !!!! (wrong)