Skip to contentSkip to conversation

Location of headers for IP blocks

U-Boot Scott McNutt 2 participants 2 messages Mar 19, 2010 – Mar 22, 2010

lore
Share & tools
lore
#0 lore raw

Hi All,

When an IP block can be shared among several different architectures, where should the _header_ files be located?

Examples of such blocks would be OpenCores peripherals, Altera peripherals, etc.

Some peripherals may not need to export any interfaces, so no header file is necessary. But this certainly is not the case for all peripherals.

Any precedents, comments, suggestions?

Regards,
--Scott

#1 lore raw

Hi Scott,

Quoted 11 lines

When an IP block can be shared among several different architectures, where should the _header_ files be located?

Examples of such blocks would be OpenCores peripherals, Altera peripherals, etc.

Some peripherals may not need to export any interfaces, so no header file is necessary. But this certainly is not the case for all peripherals.

Any precedents, comments, suggestions?

Linux is always a good precedent, so checking there should give us a clue.

Apart from that I'd go for include/device-type/... Names of
manufacturers change _way_ too often :)

Cheers
Detlev

Signature · 7 lines
Another helpful hint for successful MIME processing:

application/msword; rm -f %s; description="MS Word Text";
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de