How memory interaction between C Language in SV or UVM

  1. When and How to Load C binary file or image into memory?
  2. How are preloaded methods use to load into memory, please mention preloaded methods?
  3. After loaded, How execution happens backside from SV to C vice versa ?
    Please give me idea or link or document related to above?

In reply to Subbi Reddy:

This question needs more details. What is a “C binary file”? The C language is code written in a human readable text. The C textile gets compiled into a machine readable binary file to be executed on a target processor. Is the target processor what you are simulating as part of your DUT? Or is the target processor the same as what is executing the simulation?

You might want to read: Easy Steps Towards Virtual Prototyping using the SystemVerilog DPI | DVCon 2013 | Verification Academy

In reply to dave_59:

Is the target processor what you are simulating as part of your DUT and is the target processor the same as what is executing the simulation
Ans: Both scenarios

Please explain How it proceeds in both scenarios

  1. which one is compiled first C or SV?
  2. After C converting to machine readable binary file, how execution happens between C and SV;
    I. How will it load the C Binary File? Will it need the help of bootstrap or LSF command?
    II. Any preloaded methods to C binary file?