eerimoq / bincopy

Mangling of various file formats that conveys binary information (Motorola S-Record, Intel HEX, TI-TXT, Verilog VMEM, ELF and binary files).
MIT License
109 stars 38 forks source link

Enhancement: support full Verilog hex format #29

Closed shareefj closed 1 year ago

shareefj commented 1 year ago

Hi,

you seem to only support the specialised TI Verilog hex format and I'd like to see support for the base format. I've recently had to implement my own package as I couldn't find anything outside of srec_cat that could read/write this format.

Did you have any plans to add support for Verilog hex? I think it would be fairly easy move your TI specific loading/dumping as wrappers around a Verilog hex loader/dumper.

My implementation is here: https://github.com/idex-biometrics/veriloghex/blob/main/veriloghex/veriloghex.py

eerimoq commented 1 year ago

Thanks. I implemented some support for Verilog VMEM in bincopy as well. It should be possible to parse any vmem-file, but it can only be dumped as 8 bit as of now.

shareefj commented 1 year ago

Thanks, I'll try it out and report any issues.