Forum Discussion
Altera_Forum
Honored Contributor
9 years agoOkay. I Changed the Radix to UNS. No change. Then I changed my MATLAB function to generate HEX address values and regenerated the ROM in Quartus and loaded the new .mif file in the ROM. Now the error changes to:
Error (113025): Missing syntax END in the Memory Initialization File "HRTF_L_real_memory_init.mif"
This is even more confusing, since there definitively IS an END in the .mif file. This is how it looks like now: -- Initializes Memory with real part of HRTF
DEPTH = 128;
WIDTH = 24;
ADDRESS_RADIX = HEX;
DATA_RADIX = DEC;
CONTENT
BEGIN
00 : 1453995;
01 : -407270;
02 : -1036098;
03 : 611439;
04 : 758496;
05 : -898662;
06 : -290369;
07 : 952990;
08 : -273384;
09 : -645373;
0A : 674711;
0B : 44172;
0C : -795250;
0D : 732454;
0E : 131981;
0F : -676438;
10 : 244137;
11 : 426225;
12 : -442342;
13 : -7580;
14 : 237441;
15 : -116884;
16 : 109939;
17 : -244708;
18 : 62768;
19 : 326625;
1A : -295678;
1B : -348030;
1C : 632600;
1D : -22360;
1E : -761058;
1F : 600332;
20 : 386669;
21 : -693439;
22 : 94945;
23 : 462130;
24 : -309804;
25 : -112644;
26 : 115880;
27 : 108653;
28 : -11007;
29 : -253252;
2A : 151222;
2B : 291637;
2C : -412082;
2D : -53376;
2E : 420135;
2F : -184003;
30 : -207262;
31 : 137134;
32 : 118460;
33 : -60077;
34 : -20043;
35 : 12417;
36 : -4027;
37 : 4579;
38 : -3210;
39 : 4502;
3A : -1979;
3B : 3468;
3C : -1226;
3D : 1857;
3E : -2058;
3F : 1855;
40 : 333;
41 : 1855;
42 : -2058;
43 : 1857;
44 : -1226;
45 : 3468;
46 : -1979;
47 : 4502;
48 : -3210;
49 : 4579;
4A : -4027;
4B : 12417;
4C : -20043;
4D : -60077;
4E : 118460;
4F : 137134;
50 : -207262;
51 : -184003;
52 : 420135;
53 : -53376;
54 : -412082;
55 : 291637;
56 : 151222;
57 : -253252;
58 : -11007;
59 : 108653;
5A : 115880;
5B : -112644;
5C : -309804;
5D : 462130;
5E : 94945;
5F : -693439;
60 : 386669;
61 : 600332;
62 : -761058;
63 : -22360;
64 : 632600;
65 : -348030;
66 : -295678;
67 : 326625;
68 : 62768;
69 : -244708;
6A : 109939;
6B : -116884;
6C : 237441;
6D : -7580;
6E : -442342;
6F : 426225;
70 : 244137;
71 : -676438;
72 : 131981;
73 : 732454;
74 : -795250;
75 : 44172;
76 : 674711;
77 : -645373;
78 : -273384;
79 : 952990;
7A : -290369;
7B : -898662;
7C : 758496;
7D : 611439;
7E : -1036098;
7F : -407270;
END; It would be a real help if anyone knew a solution, since I'm not able to continue working without any data in the ROM...