permute
Advanced Member level 3
parameter FILE = ""; // modified by instantiation
...
$readmemb(FILE,ram);
Is there anyway to convert a string literal provided by a parameter into a string literal usable by readmem?
this code does work in XST, and altera even provides an example of using readmemb, but they hard code the filename in the example.
...
$readmemb(FILE,ram);
Is there anyway to convert a string literal provided by a parameter into a string literal usable by readmem?
this code does work in XST, and altera even provides an example of using readmemb, but they hard code the filename in the example.