From 9baf91033902edb69ccc0302cd942cd89e9a4786 Mon Sep 17 00:00:00 2001 From: Adrian Costina Date: Wed, 7 Feb 2018 11:11:27 +0200 Subject: [PATCH] axi_logic_analyzer: Fix push-pull/open-drain selection --- library/axi_logic_analyzer/axi_logic_analyzer.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/axi_logic_analyzer/axi_logic_analyzer.v b/library/axi_logic_analyzer/axi_logic_analyzer.v index c57fe3b1e..3b58ab893 100644 --- a/library/axi_logic_analyzer/axi_logic_analyzer.v +++ b/library/axi_logic_analyzer/axi_logic_analyzer.v @@ -192,7 +192,7 @@ module axi_logic_analyzer ( generate for (i = 0 ; i < 16; i = i + 1) begin - assign data_t[i] = od_pp_n[i] ? io_selection[i] & !data_o[i] : io_selection[i]; + assign data_t[i] = od_pp_n[i] ? io_selection[i] | data_o[i] : io_selection[i]; always @(posedge clk_out) begin data_o[i] <= overwrite_enable[i] ? overwrite_data[i] : data_r[i]; end