Mohitkalra0207
Newbie level 3
I am doing image processing and for that I have converted my image to text file using matlab and now I want to load this file containing text for the image in model sim using the following code
but I am getting that it is not loading any file and hence in mem register I am getting "XX " repeatedly
Please provide me the wayout of this problem.
I have tried the code on Xilinx as well but again the same result.
Code Verilog - [expand] 1 2 3 4 5 6 7 module iprocess(); reg [2:0]mem[2:0]; initial begin $readmemh ("C:\Users\mohit kalra\Documents\image_process\New_Text_Document0.txt",mem); end endmodule
but I am getting that it is not loading any file and hence in mem register I am getting "XX " repeatedly
Please provide me the wayout of this problem.
I have tried the code on Xilinx as well but again the same result.