We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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]
The text was updated successfully, but these errors were encountered:
[pymtl.tools.transl] add hacky support for nested indexing, #137
983461a
45c8a1d
e366718
ae48552
No branches or pull requests
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]
)The text was updated successfully, but these errors were encountered: