Error while creating a Memory Initialization file in Quartus - 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 Replies: Re: Error while creating a Memory Initialization file in Quartus Most Welcome. Replies: Re: Error while creating a Memory Initialization file in Quartus Dear YEan, Thanks a lot Replies: Re: Error while creating a Memory Initialization file in Quartus 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. Replies: Re: Error while creating a Memory Initialization file in Quartus Hi Ean, Thanks for replying for all my queries, I would like to bring your kind notice that i was able to create the .MIF file for the same program mentioned above with 45 datas but i could not create a .mif file for the above mentioned code with more data's. Moreover i went through the addressing of the .MIF file i created the file in that format but could not create, herewith i attach the snap shot of the addressing that is given in online. Replies: Re: Error while creating a Memory Initialization file in Quartus Hi, You have stored too many data in an address. Here is an example: DEPTH = 32; -- The size of memory in words WIDTH = 8; -- The size of data in bits ADDRESS_RADIX = HEX; -- The radix for address values DATA_RADIX = BIN; -- The radix for data values CONTENT -- start of (address : data pairs) BEGIN 00 : 00000000; -- memory address : data 01 : 00000001; 02 : 00000010; . . . END; Thanks and regards, Ean - 2022-03-01

external_document