Open dmlockhart opened 9 years ago
Code that has two subscript operators like so:
s.mod[0].port_list[0]
Fails if port_list is a list of ports.
Note that the following scenario (bit slicing a port that is not in a port list) works fine:
s.mod[0].single_port[0]
Things that fail:
mod[i].port_list[j]
Things to check:
mod.port_list[i][j]
mod[i].port_list[j][k]
mod.port_list[i][j][k]
mod[i][j].port
mod[i][j].port[k]
Things that work:
mod[i].single_port[j]
Code that has two subscript operators like so:
Fails if port_list is a list of ports.
Note that the following scenario (bit slicing a port that is not in a port list) works fine:
Things that fail:
mod[i].port_list[j]
)Things to check:
mod.port_list[i][j]
)mod[i].port_list[j][k]
)mod.port_list[i][j]
)mod.port_list[i][j][k]
)mod[i][j].port
)mod[i][j].port[k]
)Things that work:
mod[i].single_port[j]
)