ImportedDefinitionExtModule does not include secret ports (bores)

Open
#4,963 1 comment 1 reaction 1 assignee View on GitHub

Maintainers usually reply within 1 day

@azidar is already working on this.

Since Jul 1, 2025.

Assessment

This issue has not been assessed yet.

Description

Type of issue: Bug Report

Please provide the steps to reproduce the problem:

What is the current behavior?

If I have a module which has bored (secret) ports, and I create an ImportedDefinitionExtModule from it, those ports are not included in the extmodule

What is the expected behavior?

Those bored ports should be included in the extmodule .fir. Note that since it might be hard to actually drive them since they can't really be marked @public, this might just mean you get firrtl error about invalid / undriven ports.

Please tell us about your environment:

Other Information

What is the use case for changing the behavior?

Should realize before .sv simulation time that some ports are undriven

Dominant language
Scala
Stars
4.8k
Forks
669
Avg merge
1d 12h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from chipsalliance/chisel

All issues in chipsalliance/chisel

Similar issues

More Scala issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.