Chisel 6.4.0 and new hierarchy API?

56 views
Skip to first unread message

Øyvind Harboe

unread,
Jul 5, 2024, 5:47:57 AM7/5/24
to chisel-users

Øyvind Harboe

unread,
Jul 7, 2024, 2:43:40 AM7/7/24
to chisel-users
Add -Ymacro-annotations to build.sbt...

Øyvind Harboe

unread,
Jul 7, 2024, 2:51:07 AM7/7/24
to chisel-users
Created a quick pull request, but my CLA isn't in order(looking into that... but could take a while...).


https://github.com/chipsalliance/chisel/pull/4245/commits/39ba1d54f5d8fde6c720c3c2c1c66eced5bcc295

Øyvind Harboe

unread,
Jul 7, 2024, 3:12:33 AM7/7/24
to chisel-users
Followup question. After discovering -Ymacro-annotations, I'm starting to run into problems with BoringUtils.

I'm wondering if BoringUtils and the new hierarchy API is not going to work together because I the hierarchy API is supposed to lock down the module so that it doesn't have to be de-duplicated and the BoringUtils API is trying to modify the module definition to inject new input/output ports to bore down to signals.

Thoughts?

On Friday, July 5, 2024 at 11:47:57 AM UTC+2 Øyvind Harboe wrote:

Øyvind Harboe

unread,
Jul 7, 2024, 3:30:28 AM7/7/24
to chisel-users
My PEBCAK.

Seems to work, I think I was having problems with some files not being rebuilt in vscode/bloop, etc.

It does seem like if I start with the Hierarchy API at some point in my modules, then I have to use it all the way down to the modules that I'm using BoringUtils into because everything is not public by default anymore.

Øyvind Harboe

unread,
Jul 7, 2024, 11:33:53 AM7/7/24
to chisel-users
On Sunday, July 7, 2024 at 9:12:33 AM UTC+2 Øyvind Harboe wrote:
Followup question. After discovering -Ymacro-annotations, I'm starting to run into problems with BoringUtils.

I'm wondering if BoringUtils and the new hierarchy API is not going to work together because I the hierarchy API is supposed to lock down the module so that it doesn't have to be de-duplicated and the BoringUtils API is trying to modify the module definition to inject new input/output ports to bore down to signals.

The computer said no...

"Cannot bore across a Definition/Instance boundary:"
Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages