Saturday, March 17, 2018

Intel HEX file to Verilog MEM file

This application is made to convert from Intel hex format to Verilog memory file format and is intended to be call by the compiler after HEX file was generated.
You need to put the EXE in your Debug directory.
Down is an example of usage from Atmel Studio on Post build command line:

IntelHexToVerilogMem.exe -i "$(OutputFileName).hex" -o "C:\GitHub\XMEGA-CORE-IP-TST\core1ROM.mem" -g 2

the -g argument is optional (default is 2) and indicate the length in bytes on a row, values supported are 1, 2 or 4.

Download application.
Post a Comment