Access from user space

Questions and discussions about the Xillybus IP core and drivers

Access from user space

Postby Guest »

In the example of sec 2.2 of the following document, you suggest user using the mmap via Linux UIO device for register and data access from linux user space.
http://xillybus.com/downloads/doc/xillybus_lite.pdf

However, in the sec 6 of the following document, you also suggest using the seekable stream for register and data access from linux user space.
http://xillybus.com/downloads/doc/xilly ... _linux.pdf

I''m got confused and would like to ask the following questions in host programming when use of Xillybus IPs.

Q1: What's the best use scenario for each method if any ?
Guest
 

Re: Access from user space

Postby support »

Hello,

If you're already using non-lite Xillybus in your project, it's probably better not to use Xillybus Lite. No point having two different interfaces.

On the other hand, if Xillybus Lite covers your needs well, no points using non-Lite Xillybus.

Regards,
Eli
support
 
Posts: 777
Joined:

Re: Access from user space

Postby Guest »

Hello,

Thanks. According to your explanation, for xillybus-lite, it uses mmap for register access. For xillybus, it suggests using seekable stream for access.
Guest
 


Return to Xillybus

cron