From 83810d3df03d7aa618451ede026ac726be030d64 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 27 Dec 2024 22:51:33 +0100 Subject: [PATCH] fix: do not pass rx_serial_o from spi_multiplexor when not enabled --- hdl_spi/src/spi_multiplexor.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hdl_spi/src/spi_multiplexor.vhd b/hdl_spi/src/spi_multiplexor.vhd index ac85d1a..c2d3a01 100644 --- a/hdl_spi/src/spi_multiplexor.vhd +++ b/hdl_spi/src/spi_multiplexor.vhd @@ -58,6 +58,6 @@ begin -- architecture a1 latch_tx_data_o <= latch_tx_data_i when en_i = '1' else'Z'; latch_sample_data_o <= latch_sample_data_i when en_i = '1' else'Z'; latch_change_data_o <= latch_change_data_i when en_i = '1' else'Z'; - rx_serial_o <= rx_serial_i; + rx_serial_o <= rx_serial_i when en_i = '1' else 'Z'; end architecture a1; -- 2.48.1