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
InlineModules pass currently strips inner symbols so it could break design.
$ cat test.mlir hw.hierpath @hier [@Foo::@bar, @Bar::@a] hw.module private @Bar(in %a : i1 {hw.exportPort = #hw<innerSym@a>}, out b : i1) { hw.output %a : i1 } hw.module @Foo(in %a : i1, out b : i1) { %bar.b = hw.instance "bar" sym @bar @Bar(a: %a: i1) -> (b: i1) hw.output %bar.b : i1 } $ circt-opt test.mlir -hw-flatten-modules -hw-verify-irn test.mlir:1:3: error: 'hw.hierpath' op module: "Foo" does not contain any instance with symbol: "bar" hw.hierpath @hier [@Foo::@bar, @Bar::@a] ^ test.mlir:1:3: note: see current operation: "hw.hierpath"() {namepath = [#hw.innerNameRef<@Foo::@bar>, #hw.innerN
The text was updated successfully, but these errors were encountered:
No branches or pull requests
InlineModules pass currently strips inner symbols so it could break design.
The text was updated successfully, but these errors were encountered: