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.

How to simple convert a hex or mif file to .coe file?

Status
Not open for further replies.

lts85

Newbie level 3
Joined
Apr 13, 2007
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,307
hex to coe convert

How to simple convert a .hex or .mif file from Altera to Xilinx .coe file? Because I need to load a initial file into ROM (From IP Core Generate of ISE).
Do you know any little software?
Please help me!
Thanks so much.
:cry:
 

mif to coe

Hi Its85
Here is file ..... MAKEXCOE for Hex to Coe with XILINX and MAKEMIF to MIF for altera..... I ever to use makexcoe only... and not yet in makemif

Regards,
 
  • Like
Reactions: bugme and blooz

    blooz

    Points: 2
    Helpful Answer Positive Rating

    bugme

    Points: 2
    Helpful Answer Positive Rating
hex to coe

i just need it, tks a lot
 

Re: mif to coe

Hi Its85
Here is file ..... MAKEXCOE for Hex to Coe with XILINX and MAKEMIF to MIF for altera..... I ever to use makexcoe only... and not yet in makemif

Regards,

Hi, I just tried your MAKEXCOE
I create a memory file (32 x 16 bits) mif in Altera Quartus, and then, save as hex in Quartus.
The looks is this
:02000000FFFA05
:02000100406459
:02000200905517
...
Data is FFFA,4064,9055,...
After I ran your program makexcoe xxx.hex
the coe looks like this
MEMORY_INITIALIZATION_RADIX=16;
MEMORY_INITIALIZATION_VECTOR=
6440,
22D,
BFB0,
...

It doesn't look right. Any comment? Or I did anything wrong? Thx
 

Attachments

  • TXMIXER0.rar
    1.2 KB · Views: 158

    V

    Points: 2
    Helpful Answer Positive Rating
Re: mif to coe

I have a question next to your request !!

Is there any solution to convert .bit to .coe file ?

I have to initialise a single port RAM (create with Block Memory Generator) with a bitstream in a FPGA virtex5 (Xilinx)
So, I'm looking for any soft to convert my .bit file.

I try to convert it to .hex file with BIN2HEX.EXE available here :

File Utilities

And try to convert .hex file to .coe. with MAKEXCOE available here :

https://www.edaboard.com/threads/126942/

But the file is huge and the out file is fail (write 000000....). :sad:


Do you know any others solution, please ?

Best Regards

Dayn
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top