P
psihodelia
I have only one SRAM IC and one FPGA.
Low addresses of SRAM are used to keep video buffer that should be
updated very rapidly, but the same IC has to keep also CPU
instructions in the area of the upper addresses. Global clock of FPGA
is 50 MHz. VGA Controller reads video buffer on 25 MHz. At the same
time, CPU has to have enough time to fetch instructions, process
program's memory, and update video memory - without big lag.
VGA Controller reads hole video buffer 60 times per sec. It remains a
bit time for CPU on back/front vertical porch+sync and very short time
on back/front horizontal porch+sync.
What could be the smartest solution in such situation?
Low addresses of SRAM are used to keep video buffer that should be
updated very rapidly, but the same IC has to keep also CPU
instructions in the area of the upper addresses. Global clock of FPGA
is 50 MHz. VGA Controller reads video buffer on 25 MHz. At the same
time, CPU has to have enough time to fetch instructions, process
program's memory, and update video memory - without big lag.
VGA Controller reads hole video buffer 60 times per sec. It remains a
bit time for CPU on back/front vertical porch+sync and very short time
on back/front horizontal porch+sync.
What could be the smartest solution in such situation?