From 583bafd17a0821c2fa92207e91a5f9c7c3b5fd34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Csomort=C3=A1ni?= Date: Wed, 4 May 2016 16:14:29 +0300 Subject: [PATCH] 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. --- library/axi_ad7616/axi_ad7616_control.v | 1 + 1 file changed, 1 insertion(+) diff --git a/library/axi_ad7616/axi_ad7616_control.v b/library/axi_ad7616/axi_ad7616_control.v index 50450023e..22198be1f 100644 --- a/library/axi_ad7616/axi_ad7616_control.v +++ b/library/axi_ad7616/axi_ad7616_control.v @@ -182,6 +182,7 @@ module axi_ad7616_control ( 8'h00 : up_rdata = PCORE_VERSION; 8'h01 : up_rdata = ID; 8'h02 : up_rdata = up_scratch; + 8'h03 : up_rdata = IF_TYPE; 8'h10 : up_rdata = {29'b0, up_cnvst_en, up_resetn}; 8'h11 : up_rdata = up_conv_rate; 8'h12 : up_rdata = up_read_data_s;