Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Newbie
carlo_viejo
Posts: 1
Registered: ‎10-13-2008
0

hex to coe

Hi,

I need a *.hex to *.coe converter.

I thank any help.

regards

Carlos

 

Xilinx Employee
kpatel
Posts: 471
Registered: ‎07-30-2007
0

Re: hex to coe

A google search turned up another forum:

http://www.edaboard.com/ftopic314072.html

 

It looks like you have to register to get the file attached to the post, but it sounds like what you want.

Visitor
j1s1e1
Posts: 7
Registered: ‎03-05-2010
0

Re: hex to coe

The above referenced post is followed by a couple of other posts that indicate that program may not always work.  Attached is c++ code to convert a hex file to a coe file.  It should compile as a console application in codeblocks on Linux.  It will also work in visual c++.  You may need to reference some libraries if using command line.  The file name and memory size are hard coded in the file, so these should be changed to match your input file and memory size.  It is set up for 64kB of 8 bit.  It shouldn't be too difficult to change the radix or memory size.