Translating System Verilog code to system C

In reply to dave_59:

I tried to find some examples but could not find any which could help me to translate, how would you have done this from your perspective?