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
I would expect the following code to raise an error or warning trying to poke a bad port. When you try to peek a bad port, it does error.
tester = Tester(my_circuit) tester.circuit.NON_EXISTANT_PORT = 5 test.eval() tester.compile_and_run("verilator")
The text was updated successfully, but these errors were encountered:
Technically this is valid default Python behavior (you can set new attributes on an object), but we can make it an error
Sorry, something went wrong.
Confirmed, this does work with normal objects (but not when you do object()) E.g.
object()
>>> class A: ... pass ... >>> a = A() >>> a.x = 3
No branches or pull requests
I would expect the following code to raise an error or warning trying to poke a bad port. When you try to peek a bad port, it does error.
The text was updated successfully, but these errors were encountered: