In SystemVerilog you can pass arguments through the command line in order to avoid recompilation.
If you need to find out whether a substring is contained within a certain string, you can use the function below. The function will return 1 if the substring is a part of the string.
If you give a specific name to your error message, you can turn it off later on. This may be useful in a case where you want to see simulation behavior with only this checker turned off or if you want to run a test that ignores a certain error.
When you are just starting to learn, you are usually not aware of the little hacks that can make your life easier.
Today we will get into the sticky subject of bothersome fluctuation in field in registers.
Read here about a fairly simple method to attack this problem and make clean reusable code!