Skip to content

Conversation

@seldridge
Copy link
Member

@seldridge seldridge commented Jul 17, 2025

The forthcoming FIRRTL 6.0.0 makes some changes to the ABI for inline layers [1]. Specifically, the module name was dropped and the delimiter after "layer" was changed from '_' to '$'. E.g., what was previously:

layer_Foo$A

Is now:

layer$A

Propagate this change into Chisel by updating the way that inline layers self-report their ABI. This is needed to keep Chisel compatible with CIRCT 1.126.0.

Note: this needs a nightly which has the CIRCT changes here [2] and this is currently not available.

The forthcoming FIRRTL 6.0.0 makes some changes to the ABI for inline
layers [[1]].  Specifically, the module name was dropped and the delimiter
_after_ "layer" was changed from '_' to '$'.  E.g., what was previously:

```
layer_Foo$A
```

Is now:

```
layer$A
```

Propagate this change into Chisel by updating the way that inline layers
self-report their ABI.  This is needed to keep Chisel compatible with
CIRCT 1.126.0.

[1]: chipsalliance/firrtl-spec@b88817b

Signed-off-by: Schuyler Eldridge <[email protected]>
@seldridge seldridge requested a review from rwy7 July 17, 2025 18:45
@seldridge seldridge marked this pull request as ready for review July 18, 2025 14:57
@seldridge seldridge force-pushed the dev/seldridge/new-inline-layer-abi branch from 586a287 to 6f06a77 Compare July 18, 2025 14:58
@seldridge
Copy link
Member Author

I amended (without editing) the last commit in this PR in order to refresh CI. Now that a nightly is available, this should fix the nightly failure observed here: https://github.com/chipsalliance/chisel/actions/runs/16369009004

@seldridge seldridge merged commit 78c8ac1 into ci/ci-circt-nightly Jul 18, 2025
13 checks passed
@seldridge seldridge deleted the dev/seldridge/new-inline-layer-abi branch July 18, 2025 16:05
github-actions bot pushed a commit that referenced this pull request Jul 22, 2025
The forthcoming FIRRTL 6.0.0 makes some changes to the ABI for inline
layers [[1]].  Specifically, the module name was dropped and the delimiter
_after_ "layer" was changed from '_' to '$'.  E.g., what was previously:

```
layer_Foo$A
```

Is now:

```
layer$A
```

Propagate this change into Chisel by updating the way that inline layers
self-report their ABI.  This is needed to keep Chisel compatible with
CIRCT 1.126.0.

[1]: chipsalliance/firrtl-spec@b88817b

Signed-off-by: Schuyler Eldridge <[email protected]>
chiselbot pushed a commit that referenced this pull request Jul 25, 2025
The forthcoming FIRRTL 6.0.0 makes some changes to the ABI for inline
layers [[1]].  Specifically, the module name was dropped and the delimiter
_after_ "layer" was changed from '_' to '$'.  E.g., what was previously:

```
layer_Foo$A
```

Is now:

```
layer$A
```

Propagate this change into Chisel by updating the way that inline layers
self-report their ABI.  This is needed to keep Chisel compatible with
CIRCT 1.126.0.

[1]: chipsalliance/firrtl-spec@b88817b

Signed-off-by: Schuyler Eldridge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants