[ImportVerilog] Unknown module instantiation fails even with `--ignore-unknown-modules`
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 524
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 46
Description
```sv
module test( // bar.mlir:2:1
input [1:0] a, // bar.mlir:2:20
input [2:0] b, // bar.mlir:2:31
output [3:0] c, // bar.mlir:2:43
output [4:0] d // bar.mlir:2:54
);
ext e ( // bar.mlir:3:12
.a (a),
.b (b),
.c (c),
.d (d)
); // bar.mlir:3:12
endmodule
```
```bash
$ circt-verilog %s --ignore-unknown-modules
foo.sv:9:7: error: unsupported module member: UninstantiatedDef
ext e ( // bar.mlir:3:12
^
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the shown circt-verilog command with --ignore-unknown-modules and trace the import path handling the UninstantiatedDef diagnostic. Done means the unknown ext instantiation no longer produces this error when the flag is enabled; the payload names no source files or tests to start from.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100