This function maps a module's outpout port to another module's input port.

map_ports(
  leftModule = NULL,
  leftPort = 1,
  rightModule = NULL,
  rightPort = 1,
  reverse = FALSE
)

Arguments

leftModule

The left module object

leftPort

Port name or Id of the left module's output port

rightModule

The right module object

rightPort

Port name or Id of the right module's input port

reverse

ligical value indicating which module to return. Default to FALSE, the right module

Details

connect ports from two different modules