This java program takes the image and converts it to a long string of 1's and 0's. It then passes this string to a method that converts it to 12-bit hexadecimal. This string of 12-bit hexadecimal values is sent to a final method that converts it to a .mif file in the correct format to be used for digital design to initialize a ROM with data. It writes two .coe files during the first two stages and the .mif in the final stage.

My target users are those who need image date to initialize ROM for digital design. There are very little tools to create .mif files from images without using MatLab. Hopefully, after some future improvements, this could be a neat and useful tool for anyone interested in this technology area.

Built With

Share this project: