Forum: GNU Radio Readback Registers

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2bba490f3cdba9178645e1ff4652ba8d?d=identicon&s=25 amit malani (Guest)
on 2006-05-11 06:39
(Received via mailing list)
Hi!

actually I want to use a readback registers. But i could not find any
example to use it.

I looked into the serial_io.v and the setting_reg.v file. but could
not make out how exactly it could be used.

the serial_io module has a input [31:0] readback. Can that be the
output wires 'out' of the setting_reg module with setting the addr as
the Reg number.

for eg.

setting_reg #(`FR_USER_1) read_back(.clock(clk),
.reset(reset),
.strobe(strobe),
.addr(serial_addr),
.in(serial_data),
.out(read_back));// this read_back is connectedt o read_back_0 of
serial_io module

Please let me know,
thanks in advance,

amit.
3596cfe1d579c65b9babd35e8787977c?d=identicon&s=25 Matt Ettus (Guest)
on 2006-05-12 01:46
(Received via mailing list)
In the main module, usrp_std.v you can see where we instantiate
serial_io.  There are 4 inputs on that which are the readback registers.
They are distinct from the setting registers.  If you want to readback a
setting register, just store the set value in software instead.

Matt



On Thu, 2006-05-11 at 00:39 -0400, amit malani wrote:
> the Reg number.
>
>
--
Matt Ettus <matt@ettus.com>
This topic is locked and can not be replied to.