From d7a0f1ffe3ff4796dfb71b28299eb316ff803e06 Mon Sep 17 00:00:00 2001 From: dbogdan Date: Thu, 7 May 2015 15:17:16 +0300 Subject: [PATCH] projects/imageon_loopback: Add the option of setting hdmi_iic_rstn externally. --- projects/imageon_loopback/zed/system_top.v | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/projects/imageon_loopback/zed/system_top.v b/projects/imageon_loopback/zed/system_top.v index c35678837..44a51b6ab 100644 --- a/projects/imageon_loopback/zed/system_top.v +++ b/projects/imageon_loopback/zed/system_top.v @@ -143,7 +143,7 @@ module system_top ( inout [ 1:0] iic_mux_scl; inout [ 1:0] iic_mux_sda; - output hdmi_iic_rstn; + inout hdmi_iic_rstn; inout hdmi_iic_scl; inout hdmi_iic_sda; @@ -183,8 +183,6 @@ module system_top ( hdmi_tx_data <= hdmi_rx_data_in; end - assign hdmi_iic_rstn = 1'b1; - // instantiations ODDR #(.INIT(1'b0)) i_clk_oddr ( @@ -202,6 +200,12 @@ module system_top ( .do (gpio_i[32]), .dio (hdmiio_int)); + ad_iobuf #(.DATA_WIDTH(1)) i_gpio_hdmi_iic_rstn ( + .dt (gpio_t[33]), + .di (gpio_o[33]), + .do (gpio_i[33]), + .dio (hdmi_iic_rstn)); + ad_iobuf #( .DATA_WIDTH(32) ) i_iobuf (