I'll need to look into how these are wrapped in Chisel. My best guess is the struct has to be parsed and its total width tallied. The following looks to have made progress on the hdlparse side of things for this: https://github.com/michaldorsett/hdlparse/commit/e16f0d905e8da2eb51e0587b33f30d9555b7a306