I want to read above .CSV file in systemverilog or uvm but problem is that When I am reading string through $fscanf function then I am getting whole string in one veritable .my sv code is as below,
string Trans_mode,cmd_type, transaction_gap,S1;
$display("addr=%0h, Trans_mode=%0s,cmd_type=%0s, transaction_gap=%0s",addr,Trans_mode,cmd_type, transaction_gap);
addr =5cab45, Trans_mode=write,Incr,random,cmd_type= , transaction_gap=
But I want to read as per below print,
addr =5cab45, Trans_mode=write,cmd_type=Incr , transaction_gap=random
Kindly help me .