Obtain#

Obtain One#

port = module.ports.obtain(idx)

Obtain Multiple#

port_list = module.ports.obtain_multiple(*[idx_a, idx_b, idx_c ...])