Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21604 Discussions

Convert txt file to mif file

Altera_Forum
Honored Contributor II
4,240 Views

Hi guys. 

 

I would like to ask is it possible to convert txt file mif file? Thanks for your attention.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
3,151 Views

Yes it is. A .mif file is just a text file with a specified format  

http://quartushelp.altera.com/15.0/mergedprojects/reference/glossary/def_mif.htm
0 Kudos
Altera_Forum
Honored Contributor II
3,151 Views

Thanks Tricky. 

 

I would like to ask your opinion regarding my problem. I have a file which is txt file. It contains number. I attach my txt file. I already create the mif file based on my txt file. Is it my mif file is correct? Because the result I get seems something wrong.
0 Kudos
Altera_Forum
Honored Contributor II
3,151 Views

I have no idea what you're trying to do with it. But from the look of it the the values are quite simple.  

Something like this could easily be defined in HDL.
0 Kudos
Reply