diff --git a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala index ff21d4057..f64816cde 100644 --- a/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala +++ b/compiler/lib/src/main/scala/codegen/CppWriter/ComponentCppWriter/ComponentPorts.scala @@ -32,7 +32,6 @@ case class ComponentPorts( inputPortWriter.getGetters(serialInputPorts), outputPortWriter.getTypedConnectors(specialOutputPorts), outputPortWriter.getTypedConnectors(typedOutputPorts), - outputPortWriter.getTypedConnectors(serialOutputPorts), outputPortWriter.getSerialConnectors(specialOutputPorts), outputPortWriter.getSerialConnectors(typedOutputPorts), outputPortWriter.getSerialConnectors(serialOutputPorts), diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp index a265a212f..d07047541 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.cpp @@ -1282,24 +1282,6 @@ void ActiveSerialComponentBase :: this->m_typedReturnOut_OutputPort[portNum].addCallPort(port); } -// ---------------------------------------------------------------------- -// Connect serial input ports to serial output ports -// ---------------------------------------------------------------------- - -void ActiveSerialComponentBase :: - set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, - Fw::InputSerializePort* port - ) -{ - FW_ASSERT( - portNum < this->getNum_serialOut_OutputPorts(), - static_cast(portNum) - ); - - this->m_serialOut_OutputPort[portNum].registerSerialPort(port); -} - #if FW_PORT_SERIALIZATION // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp index d51df8649..4068d833f 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/ActiveSerialComponentAc.ref.hpp @@ -441,18 +441,6 @@ class ActiveSerialComponentBase : InputTypedReturnPort* port //!< The input port ); - public: - - // ---------------------------------------------------------------------- - // Connect serial input ports to serial output ports - // ---------------------------------------------------------------------- - - //! Connect port to serialOut[portNum] - void set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number - Fw::InputSerializePort* port //!< The input port - ); - #if FW_PORT_SERIALIZATION public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp index ce0baa6de..3bca2cd99 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.cpp @@ -876,24 +876,6 @@ void PassiveSerialComponentBase :: this->m_typedReturnOut_OutputPort[portNum].addCallPort(port); } -// ---------------------------------------------------------------------- -// Connect serial input ports to serial output ports -// ---------------------------------------------------------------------- - -void PassiveSerialComponentBase :: - set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, - Fw::InputSerializePort* port - ) -{ - FW_ASSERT( - portNum < this->getNum_serialOut_OutputPorts(), - static_cast(portNum) - ); - - this->m_serialOut_OutputPort[portNum].registerSerialPort(port); -} - #if FW_PORT_SERIALIZATION // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp index c2bfde262..8f8009d5c 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/PassiveSerialComponentAc.ref.hpp @@ -361,18 +361,6 @@ class PassiveSerialComponentBase : InputTypedReturnPort* port //!< The input port ); - public: - - // ---------------------------------------------------------------------- - // Connect serial input ports to serial output ports - // ---------------------------------------------------------------------- - - //! Connect port to serialOut[portNum] - void set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number - Fw::InputSerializePort* port //!< The input port - ); - #if FW_PORT_SERIALIZATION public: diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp index 53076f653..1e2aae1e7 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.cpp @@ -1282,24 +1282,6 @@ void QueuedSerialComponentBase :: this->m_typedReturnOut_OutputPort[portNum].addCallPort(port); } -// ---------------------------------------------------------------------- -// Connect serial input ports to serial output ports -// ---------------------------------------------------------------------- - -void QueuedSerialComponentBase :: - set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, - Fw::InputSerializePort* port - ) -{ - FW_ASSERT( - portNum < this->getNum_serialOut_OutputPorts(), - static_cast(portNum) - ); - - this->m_serialOut_OutputPort[portNum].registerSerialPort(port); -} - #if FW_PORT_SERIALIZATION // ---------------------------------------------------------------------- diff --git a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp index 10778c3f2..3f80f81a8 100644 --- a/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp +++ b/compiler/tools/fpp-to-cpp/test/component/base/QueuedSerialComponentAc.ref.hpp @@ -441,18 +441,6 @@ class QueuedSerialComponentBase : InputTypedReturnPort* port //!< The input port ); - public: - - // ---------------------------------------------------------------------- - // Connect serial input ports to serial output ports - // ---------------------------------------------------------------------- - - //! Connect port to serialOut[portNum] - void set_serialOut_OutputPort( - NATIVE_INT_TYPE portNum, //!< The port number - Fw::InputSerializePort* port //!< The input port - ); - #if FW_PORT_SERIALIZATION public: