Home > Community > Forums > Hardware/Software Co-Development, Verification and Integration > Tip of the Week: Script to convert Intel SREC format to PD memory format

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Tip of the Week: Script to convert Intel SREC format to PD memory format 

Last post Fri, Sep 22 2006 8:09 AM by archive. 0 replies.
Started by archive 22 Sep 2006 08:09 AM. Topic has 0 replies and 1528 views
Page 1 of 1 (1 items)
Sort Posts:
  • Fri, Sep 22 2006 8:09 AM

    • archive
    • Top 75 Contributor
    • Joined on Fri, Jul 4 2008
    • Posts 88
    • Points 4,930
    Tip of the Week: Script to convert Intel SREC format to PD memory format Reply

    Tip of the Week:

    Here's something that converts Intel srec (ihex) to Verilog memh file.

    I provided an example srec file ihex.dat and example output file ram32.dat

    This is software for an ARM cpu compiled with a cross gcc for ARM.

    Run it like:

    % hex2v.pl < ihex.dat > ram32.dat

    It has some hardcoded assumptions about the memory width, in this case the

    memory is 32-bits wide, so you will probably need some minor changes for other memory configurations.

    Credit goes to Jason Rothfuss who first gave me a version of this.

     


    Originally posted in cdnusers.org by ashvarma
    • Post Points: 0
Page 1 of 1 (1 items)
Sort Posts:
Started by archive at 22 Sep 2006 08:09 AM. Topic has 0 replies.