From 351811e13fb2a8dc3538363c40f38cce054f763c Mon Sep 17 00:00:00 2001 From: Rejeesh Kutty Date: Mon, 5 Dec 2016 10:18:40 -0500 Subject: [PATCH] pzsdrx/ccbox- imu intr on gpio --- projects/pzsdr1/ccbox_lvds/system_top.v | 6 ++++-- projects/pzsdr2/ccbox_lvds/system_top.v | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/projects/pzsdr1/ccbox_lvds/system_top.v b/projects/pzsdr1/ccbox_lvds/system_top.v index 30c536868..2c806a77e 100644 --- a/projects/pzsdr1/ccbox_lvds/system_top.v +++ b/projects/pzsdr1/ccbox_lvds/system_top.v @@ -150,7 +150,9 @@ module system_top ( // gpio[31:20] controls misc stuff (keep as io) - assign gpio_i[31:24] = gpio_o[31:24]; + assign gpio_i[31:29] = gpio_o[31:29]; + assign gpio_i[28:28] = imu_ready; + assign gpio_i[27:24] = gpio_o[27:24]; ad_iobuf #(.DATA_WIDTH(4)) i_iobuf_misc ( .dio_t (gpio_t[23:20]), @@ -261,7 +263,7 @@ module system_top ( .iic_main_scl_io (iic_scl), .iic_main_sda_io (iic_sda), .otg_vbusoc (1'b0), - .ps_intr_00 (imu_ready), + .ps_intr_00 (1'b0), .ps_intr_01 (1'b0), .ps_intr_02 (1'b0), .ps_intr_03 (1'b0), diff --git a/projects/pzsdr2/ccbox_lvds/system_top.v b/projects/pzsdr2/ccbox_lvds/system_top.v index 6f1245eae..a7b3de9b7 100644 --- a/projects/pzsdr2/ccbox_lvds/system_top.v +++ b/projects/pzsdr2/ccbox_lvds/system_top.v @@ -152,7 +152,9 @@ module system_top ( // gpio[31:20] controls misc stuff (keep as io) - assign gpio_i[31:26] = gpio_o[31:26]; + assign gpio_i[31:29] = gpio_o[31:29]; + assign gpio_i[28:28] = imu_ready; + assign gpio_i[27:26] = gpio_o[27:26]; ad_iobuf #(.DATA_WIDTH(6)) i_iobuf_misc ( .dio_t (gpio_t[25:20]),