Hi, I'm trying to add some optimization information in Chisel, which will eventually become the attr-dict for operators in CIRCT IR. This way, a custom pass can use this information to transform the circuit.
I found that firrtl.annotations.SingleTargetAnnotation can achieve this if I add a LowerAnnotations function in CIRCT. However, it seems that SingleTargetAnnotation is deprecated, with the message: "All APIs in the firrtl package are deprecated."
Is there a replacement for firrtl.annotations? Or a way to directly add the attribute into the CIRCT IR?