hdf2arch.pl: initial commit (processor, memory)
authorSebastian <basti@sraa.de>
Tue, 3 Sep 2013 19:46:47 +0000 (21:46 +0200)
committerSebastian <basti@sraa.de>
Tue, 3 Sep 2013 19:46:47 +0000 (21:46 +0200)
commitf07525840dd7aa46b11deabcba53ab3428a383aa
tree54cc3bfadec721254dabe8cb22a4a4e2d8727f1e
parent38ee53ed1ec62a145b7c90e91118ea0d33edc6bc
hdf2arch.pl: initial commit (processor, memory)

The utility hdf2arch.pl read the Hardware Description File from the
Epiphany SDK and generates a DOL architecture specification in XML format.

example:
$ ./hdf2arch.pl zed_E16G3_512mb.hdf epiphany.xml

This specifies the <processor> and <memory> elements for every eCore in the
Epiphany (called "core_row_col" and "mem_row_col") as well as for the
host cpu and the shared DRAM (called "arm_0" and "shm_0") and includes
some basic sanity checking of the HDF.

The generated file does not specify any <hw_channel>, <writepath> or
<readpath> tags and does not need any flattening.

Since the HDF file does not contain any information about the amount
of local SRAM or even the number of cores in the Epiphany, new chips
will need to be added to this utility. The ARM (with 2 cores) is hard coded,
though.
hdf2arch/hdf2arch.pl [new file with mode: 0755]