CAlex
Contributor
2 years agoHow to initialize a large buffer by quartus prime
Hi, I want to init my written RAM by a mif file. Here is my mif file: DEPTH = 256; WIDTH = 32; ADDRESS_RADIX = HEX; DATA_RADIX = HEX; CONTENT BEGIN 00 : 0000 0000; 01 : 0000 0000; 02 : 0000...
- 2 years ago
I discovered that we cannot use the $readmemb funciton to read a MIF file.
To read the MIF file, you should use the ram_init_file attribute instead.
You may refer to the document below for instructions on how to apply this attribute:
Best Regards,
Richard Tan