I am trying to synthesize an IP Core from OpenCores.Org website written in verilog language which is AmberCPU. This project is just an implementation of a version of ARM Instruction Set Architecture. However, when I gradually add source files to my project tree and check whether there is a problem or not, at some point at a specific header file I get errors. The error reads like this "expecting 'EOF', found 'localparam'" and the file starts like below
// e.g. 24 for 32MBytes, 26 for 128MBytes
localparam MAIN_MSB = 26;
// e.g. 13 for 4k words
localparam BOOT_MSB = 13;
...
The file is not included in "automatic includes" neither it is defined as "global header".
So my question is that how can I solve this problem. Is that related to some kind of settings of Xilinx ISE that I could not realize yet or is it related to character encoding?