axi_logic_analyzer: Fix direction change in non-streaming mode
In non-streaming mode we want direction changes to be applied immediately. The current code has a typo and checks the wrong signal. overwrite_data holds the configured output value of the pin, whereas overwrite_enable configures whether the pin is in streaming or manual mode. For correct operation the later signal should be used to decide whether a direction change should be applied. Otherwise the direction change will only be applied if the output value of the pin is set to logic high. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
121e04e94e
commit
8755e6da44
|
@ -155,7 +155,7 @@ module axi_logic_analyzer (
|
|||
if (io_selection_s[i] == 1'b1) begin
|
||||
io_selection[i] <= 1'b1;
|
||||
end else begin
|
||||
if(dac_valid == 1'b1 || overwrite_data[i] == 1'b1) begin
|
||||
if(dac_valid == 1'b1 || overwrite_enable[i] == 1'b1) begin
|
||||
io_selection[i] <= 1'b0;
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue