How to pass command line arguments in SystemVerilog?

In SystemVerilog you can pass arguments through the command line in order to avoid recompilation.
How to trace FreeRTOS based applications?

Tracing allows recording the software behavior during runtime for later analysis of collected trace data. Tracing is especially important for systems integrating an operating system (OS), like FreeRTOS for embedded systems. FreeRTOS feature is multi-threading – the ability to run multiple programs (threads) on a single processor core by rapidly switching among execution contexts. Multi-threading, however, makes software behavior more complex, and gives the developer less control over run-time behavior as execution is preempted by the scheduler.
How to do bit-indexing when compacting variously sized inputs.

If you need to make compact data from various inputs here is an example:
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.