axi_ad7616: Add a new register for IF_TYPE
Add an additional new read only register at 0x03 address for the interface type. This way the software can verify the actual interface mode.main
parent
160d54f311
commit
583bafd17a
|
@ -182,6 +182,7 @@ module axi_ad7616_control (
|
||||||
8'h00 : up_rdata = PCORE_VERSION;
|
8'h00 : up_rdata = PCORE_VERSION;
|
||||||
8'h01 : up_rdata = ID;
|
8'h01 : up_rdata = ID;
|
||||||
8'h02 : up_rdata = up_scratch;
|
8'h02 : up_rdata = up_scratch;
|
||||||
|
8'h03 : up_rdata = IF_TYPE;
|
||||||
8'h10 : up_rdata = {29'b0, up_cnvst_en, up_resetn};
|
8'h10 : up_rdata = {29'b0, up_cnvst_en, up_resetn};
|
||||||
8'h11 : up_rdata = up_conv_rate;
|
8'h11 : up_rdata = up_conv_rate;
|
||||||
8'h12 : up_rdata = up_read_data_s;
|
8'h12 : up_rdata = up_read_data_s;
|
||||||
|
|
Loading…
Reference in New Issue