gmk3
Newbie level 5
Heya everyone..
I have stored the image in BRAM by .coe file now, i just want to read the stored data from BRAM and display it on PC using VERTEX ML403,
i have verilog code where i am reading the image from stored bram.
Can i know the steps from my code to the output on the PC.
Please help me.
Thankyou in advance.
I have stored the image in BRAM by .coe file now, i just want to read the stored data from BRAM and display it on PC using VERTEX ML403,
i have verilog code where i am reading the image from stored bram.
Code Verilog - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 module readimage(clka,clkb,addrb,addra,wea,dina,doutb); input clka,clkb; input [15:0] addra,addrb; input [7:0] dina; output [7:0] doutb; reg [7:0]memory[55680:0]; input wea; reg [7:0]doutb; reg [7:0]pipe; imgmem mem ( .clka(clka), // input clka .wea(wea), // input [0 : 0] wea .addra(addra), // input [15 : 0] addra .dina(dina), // input [7 : 0] dina .clkb(clkb), // input clkb .addrb(addrb), // input [15 : 0] addrb .doutb(doutb) // output [7 : 0] doutb ); always @ (posedge clka) begin if(wea) memory[addra] <= dina; else pipe <= memory[addra]; doutb <= pipe; end endmodule
Can i know the steps from my code to the output on the PC.
Please help me.
Thankyou in advance.
Last edited by a moderator: