Skip to content

Adding custom information to Chisel for CIRCT Passes #5078

@liuyic00

Description

@liuyic00

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions