The tools available here are coded in shell scripting.

In order to use them, you will need a shell interpreter, such as bash, which comes as default along with all Linux flavors, or, install cygwin. You can find cygwin here:  http://www.cygwin.com/

hex2rom.sh

This script will convert a text file, containing hex codes, in a ROM vhdl file. 

How to use:

1. Create and compile you assembly program

2. Copy the ascii hexadecimal codes to a text file

3. Convert the hexadecimal codes to rom using hex2rom.sh: 

hex2rom.sh myfile.hex > rom.vhd 

The generated file, rom.vhd, is ready to use, and is sintesized as block ram by both Altera Quartus and Xilinx ISE. I use this tool to generate the rom for my Z80SoC project, which you can find here: http://ronivon.costa.googlepages.com/z80computer and here: http://opencores.org/projects.cgi/web/z80soc/


psf2mif.sh

This tool will convert psf fonts into Altera MIF format.  These fonts are part of all Linux distributions, into the package kbd. when extracted, the font files can be found in the kbd<version>\data\consolefonts directory.

How to use:

psf2mif.sh myfile.psf > myfile.mif


mif2coe.sh

This tool will convert an Altera MIF file into a Xilinx COE file.

You can shift the pixels in the fonts if you want. To do that, edit the mif2coe.sh and change the line:

shift="0"   to one of: shift="+1"  or shift="+2" or shift="-1" or shift="-2"

How to use:

mif2coe.sh myfile.mif > myfile.coe