I am trying to read a file line by line using sscanf. This file has values that are of type logic, string and integer in each line. However sscanf returns x’s for anything after the first few integer entries. snippet of the code and also the file that is read is attached. For clarity there are whitespaces in the line that is read between entries in one line so that the header aligns with the entries for proper reading. I am having a hard time correctly assigning values to the variables which are of different types ranging from some defined as logic type(here captured as %h) while some are enum types(captured as %s and later converted to enum using uvm_enum_wrapper. What am I doing wrong here? Thanks
output in log shows
value of variables from file are 6 5 3 7 x x xxxxxxxx xx x xxxxxxxx