Athena wrote:
> Hi All,
>
> I have writen an IP core which is used for implementing an algorithm. Now I have to write the driver for my IP core which mainly transfers the data between the ip core and the plb bus.
>
> But I don't know how to write a driver for an IP CORE. I don't have any related materials.
>
> Who has the experiences of writing the drivers for your own IP core or has some documents about it?
>
> Please help me.
>
> Thank you very much.
Well, since you are going to write drivers for cores connected to the
PLB I suspect that you do have the EDK. There is a 'Device Driver
Programming Guide' in the Processor IP Reference Guide which gives you
the basic knowledge. You also have quite a few drivers in the
../EDK/sw/XilinxProcessorIPLib/drivers catalog of your EDK installation.
I've used them as examples when I have learned to write device drivers
for EDK. The included drivers in the EDK also gives you an idea on how
to write the .mdd and .tcl files.
Good luck.
cheers!
--
-----------------------------------------------
Johan Bernspång,
[email protected]
Research engineer
Swedish Defence Research Agency - FOI
Division of Command & Control Systems
Department of Electronic Warfare Systems
www.foi.se
Please remove the x's in the email address if
replying to me personally.
-----------------------------------------------