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
This code
coreir/src/ir/module.cpp
Lines 54 to 59 in b167247
import coreir def test_directed_upsample(): c = coreir.Context() context = coreir.Context() context.load_library('commonlib') top_module = context.load_from_file('./tests/upsample.json') print(len(top_module.definition.instances)) print(len(top_module.directed_module.connections)) context.run_passes(['rungenerators', 'removebulkconnections', 'flattentypes', 'flatten']) top_def = top_module.definition print(len(top_def.instances)) print(len(top_module.directed_module.connections)) for con in top_module.directed_module.connections: print(1) src = con.source print(2) dst = con.sink print(3) size = con.size print(4)
upsample.json.txt
Notice that directed module is invoked before running passes, then invoked after (operating on a stale copy which causes a segfault).
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This code
coreir/src/ir/module.cpp
Lines 54 to 59 in b167247
upsample.json.txt
Notice that directed module is invoked before running passes, then invoked after (operating on a stale copy which causes a segfault).
The text was updated successfully, but these errors were encountered: