scr1 test suite: string.hextoa is not implemented
module test(); string mystring; logic [31:0] myinteger = 'h012345678; initial begin mystring.hextoa(myinteger); end endmodule
...with the following errors...
%Error: test_hextoa.sv:8: Unsupported: built-in string method 'VARREF 'mystring'' %Error: Exiting due to 1 error(s) %Error: See the manual and http://www.veripool.org/verilator for more assistance. %Error: Command Failed /usr/local/bin/verilator_bin -sv --cc test_hextoa.sv
string.hextoa() is currently not implemented.
#1 Updated by Wilson Snyder over 1 year ago
Perhaps you would like to attempt a patch? First make a test case (see internals.txt) which passes on another simulator you can start with one of the existing tests. Then fix V3Width to decode the method, I suspect it can just become a hardcoded-formatted AstSFormatF - basically a $sformat.
Also available in: Atom