my program is reading and writing text file or image in vhdl/quartus prime, but i have problem in reading text file. when i read the text, the reading delayed by on clock and the writing also delayed by another clock so as result the output delayed by two clock.
how can i solve this problem?