readmem[b|h]

"readmemh" or "readmemb" in Verilog for initializing memories should only work in simulations and not for ASICs, but I've seen posts saying that XST can recognize readmemh and readmemb for FPGAs, just wondering whether it is true that readmem[b|h] is synthesisable for FPGAs or not?

Reply to
Wei Wang
Loading thread data ...

Have a look in the XST User's Guide. It is not synthesisable, but supported to init the memory. Only constrain is that the file needs to have exactly the amount of entries as the memory has.

Cheers,

Guenter

Reply to
Guenter Dannoritzer

XST and Synplify both support $readmem for initializing RAMs/ROMs.

-Kevin

Reply to
Kevin Neilson

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.