How to extract the data from file and how to use TLM analysis FIFO
This example shows how to extract data from a given file and store it in a queue, on one side, and on the other hand, collect the receiving data with an analysis TLM FIFO.
How to find out whether a substring is part of a string?
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.