On Mon, Jan 3, 2011 at 3:00 PM, Philip Downer p...@pjd.me.uk wrote:
On 03/01/11 12:47, Kfir Lavi wrote:
I have a FPGA that is constantly changing (its on development phase).
I want to let userspace app to update those registers, but don't want to
create an API yet.
What is the best way to
I thought about using 3 files in sysfs.
1. address of the register
2. data to write to the register
3. trigger that do the write
The most effective solution would be to
have one file per register.
Writing register:
# echo value /sys/path/to/file
Reading register:
# cat /sys/path/to/file