Software accessible register

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Software accessible register

Re: Software accessible register

Post by support »

Hello,

Yes, Xillybus offers seekable streams, which have address lines on the FPGA side. These can be seamlessly connected to synchronous RAMs on the FPGA, or to anything that emulates a synchronous RAM -- in particular a register/data interface with wr_en, rd_en address, data and clock.

Please refer to the examples for memread and memwrite in the documentation. The FPGA demo bundle includes such a memory interface already (xillybus_mem_8).

Regards,
Eli

Software accessible register

Post by Cristian8 »

Hi Eli and all,
Is it possible to create a software accessible register using Xillybus? I am successfully transferring data from my C++ program to a FIFO using the respective device file's name /dev/xillybus/write_32. In a similar manner, could I use Xillybus to pass an integer variable in my C++ program to a register in my verilog code? If this is possible, what changes would need to be made in verilog code associated with the Xillybus demo bundle that I am using? Thank you very much

Top