System Verilog includes a string datatype, which is a variable size, ... str.bintoa(i) stores the ASCII binary representation of i into str (inverse of atobin). realtoa():.
www.systemverilog.in