parameters: (self, c)
docstring: Init input ports
docstring_summary: Init input ports
docstring_tokens: Init input ports
function: def initInputPorts(self, c):
          """
          Init input ports
          """
          # All input ports
          c.input_ports = [
              (instance, type, sync, priority, full, role, max_num)
              for (
                  instance,
                  type,
                  direction,
                  sync,
                  priority,
                  full,
                  role,
                  max_num,
              ) in c.ports_all
              if direction == "Input"
          ]
          # User input ports
          c.user_input_ports = [
              (instance, type, sync, priority, full, role, max_num)
              for (instance, type, sync, priority, full, role, max_num) in c.input_ports
              if role is None
          ]
          # Serial input ports
          c.serial_input_ports = [
              (instance, sync, priority, full, max_num)
              for (instance, type, sync, priority, full, role, max_num) in c.input_ports
              if type == "Serial"
          ]
          # Typed input ports
          c.typed_input_ports = [
              (instance, type, sync, priority, full, role, max_num)
              for (instance, type, sync, priority, full, role, max_num) in c.input_ports
              if type != "Serial"
          ]
          # Typed user input ports
          c.typed_user_input_ports = [
              (instance, type, sync, priority, full, role, max_num)
              for (
                  instance,
                  type,
                  sync,
                  priority,
                  full,
                  role,
                  max_num,
              ) in c.typed_input_ports
              if role is None
          ]
function_tokens: def initInputPorts ( self , c ) : # All input ports c . input_ports = [ ( instance , type , sync , priority , full , role , max_num ) for ( instance , type , direction , sync , priority , full , role , max_num , ) in c . ports_all if direction == "Input" ] # User input ports c . user_input_ports = [ ( instance , type , sync , priority , full , role , max_num ) for ( instance , type , sync , priority , full , role , max_num ) in c . input_ports if role is None ] # Serial input ports c . serial_input_ports = [ ( instance , sync , priority , full , max_num ) for ( instance , type , sync , priority , full , role , max_num ) in c . input_ports if type == "Serial" ] # Typed input ports c . typed_input_ports = [ ( instance , type , sync , priority , full , role , max_num ) for ( instance , type , sync , priority , full , role , max_num ) in c . input_ports if type != "Serial" ] # Typed user input ports c . typed_user_input_ports = [ ( instance , type , sync , priority , full , role , max_num ) for ( instance , type , sync , priority , full , role , max_num , ) in c . typed_input_ports if role is None ]