( ESNUG 286 Item 9 ) ---------------------------------------------- [4/13/98]
Subject: A Verilog Reader for Intel HEXfiles
> Does anybody have a verilog reader for Intel hexfiles or do you have
> any idea, where I can find such a reader?
>
> - Reichert Ulrich
> Siemens AG Munich
From: Thomas.Coonan@Sciatl.com (Thomas A. Coonan)
Hi,
I have a Verilog PIC core that needed such a beast. I initially went from
Intel HEX to a particular VHDL look-up-table implementation, and then wrote
another program that went to the simpler ascii hex file for use with
$readmemh. Careful -- I was dealing with a PIC with a 12-bit program code
width word, so, watch any truncation that might be there. Can you poke
around my WWW site first, and see if you find what you need? Look on my
page under Synthetic PIC (check ether VHDL or Verilog version. File should
be something like HEX2ROM.CPP or HEX2VHDL.CPP. It's a fairly generic C
program.)
- Thomas A. Coonan
http://www.mindspring.com/~tcoonan
|
|