mrflibble
Advanced Member level 5
- Joined
- Apr 19, 2010
- Messages
- 2,720
- Helped
- 679
- Reputation
- 1,360
- Reaction score
- 652
- Trophy points
- 1,393
- Activity points
- 19,551
Do you know how to convert any given binary file to a .coe file? Excellent, now you can convert your .jpg to a .coe file, because a jpg or gif or whatever is just binary data like any other file.
What, you mean you don't know how to convert a binary to .coe? Google not working today? No worries. https://sourceforge.net/projects/bin2coe/files/
If you're a windoze monkey ... win32 binary included. If you're a unix monkey ... comment out the #include <conio.h> on line 2 of bin2coe.c and then compile. You need to do that because the bin2coe author is a bit silly.
Personally I just use a perl script I made eons ago. Or matlab script. or any other rather trivial thingy that does the job of the day.
Hell, you can probably write some verilog to read binary file and spit out a .coe. But that's left as exercise for the reader.
Anyways, use that bin2coe.exe thingy and you should do just fine.
Just google on something like "binary to .coe file" to find other relevant material...
What, you mean you don't know how to convert a binary to .coe? Google not working today? No worries. https://sourceforge.net/projects/bin2coe/files/
If you're a windoze monkey ... win32 binary included. If you're a unix monkey ... comment out the #include <conio.h> on line 2 of bin2coe.c and then compile. You need to do that because the bin2coe author is a bit silly.
Personally I just use a perl script I made eons ago. Or matlab script. or any other rather trivial thingy that does the job of the day.
Hell, you can probably write some verilog to read binary file and spit out a .coe. But that's left as exercise for the reader.
Anyways, use that bin2coe.exe thingy and you should do just fine.
Just google on something like "binary to .coe file" to find other relevant material...