Error while creating a Memory Initialization file in Quartus
Hi there,
I created a text file and named it as .mif MIF file in the format as shown below
DEPTH = 256;
WIDTH = 16;
ADDRESS_RADIX = HEX;
DATA_RADIX = HEX;
CONTENT
BEGIN
0 : 400, 400, 1F4, 14D, 0FA, 0C8, 0A6, 08E, 07D, 06F, 064, 05A, 053, 04C, 047, 042, 03E, 03A, 037, 034, 032, 02F, 02D, 02B, 029, 028, 026, 025, 023, 022, 021, 020, 01F, 01E, 01D, 01C, 01B, 01B, 01A, 019, 019, 018, 017, 017, 016, 016, 015, 15, 014, 014, 014, 013, 013, 012, 012, 012, 011, 011, 011, 010, 010, 010, 010 00F, 00F, 00F, 00F, 00E, 00E, 00E, 00E, 00E, 00D, 00D, 00D, 00D, 00D, 00C, 00C, 00C, 00C, 00C, 00C, 00C, 00B, 00B, 00B, 00B, 00B, 00B, 00B, 00A, 00A, 00A, 00A, 00A, 00A, 00A, 00A, 00A, 00A, 009, 009, 009, 009, 009, 009, 009, 009, 009, 009, 009, 008, 008, 008, 008, 008, 008, 008, 008, 008, 008, 008, 008, 008, 008, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 007, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 006, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 005, 004, 004, 004 ;
END ;
But am getting a error as Error (113000): Memory Initialization File or Hexadecimal (Intel-Format) File "radmem.mif" contains illegal syntax at line 9, Could anyone please help me out on how to resolve this issue what is the error it is showing
Thanks in advance
Yup, you can use the format given online. However, the format you used was wrong, you should not include comma in the content. I'm able to add this .mif file after I had removed all of the comma.