Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

image to .coe file conversion

Status
Not open for further replies.

sabazeshan

Newbie level 1
Joined
Apr 17, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,286
hi i want to know that how to convert an image into .coe file then i will load this in block rom for my project.my project is FPGA based slot machine game.
 

A = imread(filename, fmt) use this command to get a vector A ...


The return value A is an array containing the image data. If the file contains a grayscale image, A is an M-by-N array. If the file contains a truecolor image, A is an M-by-N-by-3 array. For TIFF files containing color images that use the CMYK color space, A is an M-by-N-by-4 array Then Manipulate the A matrix to generate a .COE file


here is an example

with a Matlab code

h**p://www.lbebooks.com/downloads/exportal/VHDL_NEXYS_Example24.pdf
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top