axi_logic_analyzer: Fix push-pull/open-drain selection
parent
a740b6012f
commit
9baf910339
|
@ -192,7 +192,7 @@ module axi_logic_analyzer (
|
||||||
|
|
||||||
generate
|
generate
|
||||||
for (i = 0 ; i < 16; i = i + 1) begin
|
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
|
always @(posedge clk_out) begin
|
||||||
data_o[i] <= overwrite_enable[i] ? overwrite_data[i] : data_r[i];
|
data_o[i] <= overwrite_enable[i] ? overwrite_data[i] : data_r[i];
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue