]> rtime.felk.cvut.cz Git - fpga/zynq/canbench-sw.git/blobdiff - system/ip/spi_leds_and_enc_1.0/hdl/spi_leds_and_enc_v1_0.vhd
Merge remote-tracking branch 'origin/microzed_apo' into microzed_apo
[fpga/zynq/canbench-sw.git] / system / ip / spi_leds_and_enc_1.0 / hdl / spi_leds_and_enc_v1_0.vhd
index aca0a685971f2db6ec1ac5d318f37cc8bb05d0d5..1dec7fa7a2cb98f528417995816e766095053e0f 100644 (file)
@@ -394,17 +394,17 @@ data_logic_process :process
        spi_tx_data(6 downto 3) <= not output_kbd_direct;
        spi_tx_data(2 downto 0) <= spi_out_rgb2;
 
-       enc_cha(1) <= not spi_rx_data(4);
+       enc_chb(1) <= not spi_rx_data(4);
        enc_sw(1) <= not spi_rx_data(5);
-       enc_chb(1) <= not spi_rx_data(6);
+       enc_cha(1) <= not spi_rx_data(6);
 
-       enc_cha(2) <= not spi_rx_data(11);
+       enc_chb(2) <= not spi_rx_data(11);
        enc_sw(2) <= not spi_rx_data(12);
-       enc_chb(2) <= not spi_rx_data(13);
+       enc_cha(2) <= not spi_rx_data(13);
 
-       enc_cha(3) <= not spi_rx_data(8);
+       enc_chb(3) <= not spi_rx_data(8);
        enc_sw(3) <= not spi_rx_data(9);
-       enc_chb(3) <= not spi_rx_data(10);
+       enc_cha(3) <= not spi_rx_data(10);
 
        in_kbd_direct <= not spi_rx_data(3 downto 0);