projects/imageon_loopback: Add the option of setting hdmi_iic_rstn externally.

main
dbogdan 2015-05-07 15:17:16 +03:00
parent 176a4a4b76
commit d7a0f1ffe3
1 changed files with 7 additions and 3 deletions

View File

@ -143,7 +143,7 @@ module system_top (
inout [ 1:0] iic_mux_scl; inout [ 1:0] iic_mux_scl;
inout [ 1:0] iic_mux_sda; inout [ 1:0] iic_mux_sda;
output hdmi_iic_rstn; inout hdmi_iic_rstn;
inout hdmi_iic_scl; inout hdmi_iic_scl;
inout hdmi_iic_sda; inout hdmi_iic_sda;
@ -183,8 +183,6 @@ module system_top (
hdmi_tx_data <= hdmi_rx_data_in; hdmi_tx_data <= hdmi_rx_data_in;
end end
assign hdmi_iic_rstn = 1'b1;
// instantiations // instantiations
ODDR #(.INIT(1'b0)) i_clk_oddr ( ODDR #(.INIT(1'b0)) i_clk_oddr (
@ -202,6 +200,12 @@ module system_top (
.do (gpio_i[32]), .do (gpio_i[32]),
.dio (hdmiio_int)); .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 #( ad_iobuf #(
.DATA_WIDTH(32) .DATA_WIDTH(32)
) i_iobuf ( ) i_iobuf (