Forum Discussion
Altera_Forum
Honored Contributor
10 years agofile read and write function fails to execute in functions
Working on migrating old code into the next FPGA generation. That means the code worked fine over the last twenty years and had a few migration since utilizing non Altera FPGAs and tools. Now I am tr...
Altera_Forum
Honored Contributor
10 years agoPS. This gives you a 13 bit address:
signal Addr : integer range 0 to 4096; -- 4kByte address space (12 bit addressing) Because 4096 = 1000000000000 You need to declare signal addr : integer range 0 to 4095;