From 34bc6162edd9e3b1a438ef58cf5fcfa8f20f5174 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Wed, 31 Jan 2024 13:16:09 +0100 Subject: [PATCH] Not driving multiple ports now --- src/cpu16.vhd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/cpu16.vhd b/src/cpu16.vhd index b2380cb..a3b2f2c 100644 --- a/src/cpu16.vhd +++ b/src/cpu16.vhd @@ -45,6 +45,7 @@ architecture Implementation of Cpu16 is signal PcEnable : std_logic := '0'; signal Jump : std_logic := '0'; signal I2CClient : std_logic_vector(15 downto 0) := (others => '0'); + signal I2CClientOut : std_logic_vector(15 downto 0) := (others => '0'); signal I2CServer : std_logic_vector(15 downto 0) := (others => '0'); begin @@ -125,8 +126,8 @@ begin ClientR => I2CClient, ServerR => I2CServer, SDA_Out => SDA, - SDL_Out => SDA, - ClientW => I2CClient + SDL_Out => SDL, + ClientW => I2CClientOut ); AluSetInput : process(ImmediateValue, InstructionCounter, RegisterDataOut1,