If <component_name>_slv_t is used, the user environment has to fill a write response if READ_WRITE_MODE is not READ_ONLY, and read response if READ_WRITE_MODE is not WRITE_ONLY. For more information, see the Vivado example design simset and look for slv_basic_stimulus.sv / slv_stimulus.sv .
If <component_name>_slv_mem_t is used, write response and read response are handled in the agent. The user environment does not need to do anything here. For more information, see the Vivado example design simset and look for mem_basic_stimulus.sv / mem_stimulus.sv .