Forum Discussion
Compilation freezes at 2% when compiling verilog code
Intel Quartus 18.1 Build 625 compilation freezes at 2% when code snippet below is present in the Verilog code.
bgr_data[23:16]<=data_ROM[count];I have modified the code VGA_Pattern project provided with DE10-Lite to load hex RGB data from a file and during the display interval it shall access the data_ROM at a dynamic index that incrments on every horizontal synch interval.
The Array has been defined as per below.
reg [7:0] data_ROM [0:(3*640*480)-1];
initial begin
$readmemh("vgah.mem", data_ROM);
endI tried several variants to access to access the data form the data_ROM but the compiler keeps looping at 2%.
11 Replies
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Can you provide the design.qar for investigation?
Thanks.
Best regards,
KhaiY
- ABoel
New Contributor
- KhaiChein_Y_Intel
Regular Contributor
Hi,
I see error below:
Error (10054): Verilog HDL File I/O error at vga_controller.v(51): can't open Verilog Design File "vgah.mem"
The vgah.mem file is missing. Could you provide this file?
Thanks.
Best regards,
KhaiY
- ABoel
New Contributor
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Upon checking, this is caused by the .mem file where the Intel Quartus Prime software cannot read the information in this file. Could you recreate the memory initialization (.mif) file for the ROM? Please let me know if the problem persists.
Thanks.
Best regards,
KhaiY
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Do you have any updates?
Thanks.
Best regards,
KhaiY
- ABoel
New Contributor
Hello Khai,
I will need to convert the Intel data format into a .mif fornat? Ler me update the script for the conversion and i will get back to you..
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Sure. Please keep me updated.
Thanks.
Best regards,
KhaiY
- ABoel
New Contributor
KhaiY,
I think the size of the memory may not be appropriate for the MAX 10 FPGA. I will change the project to use the SDRAM then I can initialize it with the RGB. That should hopefully work.
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Sure. Please let me know if you have any question.
Thanks.
Best regards,
KhaiY
- KhaiChein_Y_Intel
Regular Contributor
Hi,
Do you have any updates?
Thanks.
Best regards,
KhaiY