summaryrefslogtreecommitdiffstats
path: root/usrp2
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-11-04 12:09:04 -0700
committerMatt Ettus <matt@ettus.com>2011-05-26 17:31:20 -0700
commite7e51ee81e6f4ee5e556c3d7fc2845ab261c7af3 (patch)
tree080b5aa6a5a98ede5ddf2b66d07d131ab1a407f0 /usrp2
parent65ee9c7ad33de945461e30f7423f25a5afa3299c (diff)
downloaduhd-e7e51ee81e6f4ee5e556c3d7fc2845ab261c7af3.tar.gz
uhd-e7e51ee81e6f4ee5e556c3d7fc2845ab261c7af3.tar.bz2
uhd-e7e51ee81e6f4ee5e556c3d7fc2845ab261c7af3.zip
I2C slave address decoding for 16-bit dw instead of 32-bit
Diffstat (limited to 'usrp2')
-rw-r--r--usrp2/top/u1plus/u1plus_core.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp2/top/u1plus/u1plus_core.v b/usrp2/top/u1plus/u1plus_core.v
index b408b04b6..03318563f 100644
--- a/usrp2/top/u1plus/u1plus_core.v
+++ b/usrp2/top/u1plus/u1plus_core.v
@@ -342,7 +342,7 @@ module u1plus_core
wire scl_pad_i, scl_pad_o, scl_pad_oen_o, sda_pad_i, sda_pad_o, sda_pad_oen_o;
i2c_master_top #(.ARST_LVL(1)) i2c
(.wb_clk_i(wb_clk),.wb_rst_i(wb_rst),.arst_i(1'b0),
- .wb_adr_i(s3_adr[4:2]),.wb_dat_i(s3_dat_mosi[7:0]),.wb_dat_o(s3_dat_miso[7:0]),
+ .wb_adr_i(s3_adr[3:1]),.wb_dat_i(s3_dat_mosi[7:0]),.wb_dat_o(s3_dat_miso[7:0]),
.wb_we_i(s3_we),.wb_stb_i(s3_stb),.wb_cyc_i(s3_cyc),
.wb_ack_o(s3_ack),.wb_inta_o(),
.scl_pad_i(scl_pad_i),.scl_pad_o(scl_pad_o),.scl_padoen_o(scl_pad_oen_o),