|
From: <ni...@ly...> - 2015-02-27 08:46:34
|
"Cary R." <cy...@ya...> writes:
> I have pushed a patch that fixes the oversight in updating the
> plusargs routine to allow SV strings and add support to put a string
> value to a SV string from the VPI. If you get the latest code from git
> this should now work correctly.
I've tested it now, and I can confirm that it works fine. To recap, the
usecase was
string img;
if (!$value$plusargs("img=%s", img)) begin
$display("Specify image file with +img=<image>.");
$finish_and_return(1);
end
$readmemh(img, main_storage.mem);
Thanks!
/Niels
--
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.
|