Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Creating an array of large size in VHDL

I need to process a frame of video that has been acquired from a TRDB D5m camera.I tried creating an array of size 640X 480 and the quartus compilation halted when compiling that particular module and it crashed. Is it not possible to create an array type of size 640X480 directly in the vhdl?? I tried using the on-board sram and the response time is too slow for the Sram and in case if i utilize the array I could easily access them as frame(125,250) and i could perform real time morphological operations more easily.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    How did you use the array? did you follow the coding guidelines to infer a ram? if you did not, then synthesis will take a very very long time for such a large array.

    640x480 is a very very large array to have inside an FPGA, and would use a significant portion of the internal ram (or all of it, depending on the device). So post your code, and give us more details about the device you are using.