Here's another snippet of Chisel code. It was well worth the (ashamed to admit) 4+ hrs to write. Admittedly, I am still getting a hand of functional programming. I am particularly proud of the recursive function call to populate an immutable val. The function's use case is to return Chisel circuit level information from an Annotation object. It is necessary because Annotation does not contain (do best of my knowledge) a reference to a Data object.