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.