Translating System Verilog code to system C

In reply to Rogers:

`uvm_info/error macro functionary was directly copied from SystemC’s SC_REPORT_INFO/ERROR macros. The first argument is a string ID used to control filtering and actions associated with a particular set of messages. How you convert that depends on how you need to control these messages.

You will need to learn C++ string formatting and file I/O capabilities for converting $psprintf, $write, and $fdisplay. This might also depend on the version of C++ you are using as C++ is always making enhancements here.

Look for the range() method in SystemC to convert the -: index part select.