Skip to content

[Seq] Merge seq lowerings #5639

Open
Open
@mortbopet

Description

We currently have a lot of seq dialect lowerings. Some of these are probably warranted (i.e. targets different lower-level abstractions than the others), some can probably be merged.

      --lower-seq-fifo                                             -   Lower seq.fifo ops
      --lower-seq-firmem                                           -   Lower seq.firmem ops to instances of hw.module.generated ops
      --lower-seq-firrtl-init-to-sv                                -   Prep the module with macro definitions for firrtl registers.
      --lower-seq-firrtl-to-sv                                     -   Lower sequential firrtl ops to SV.
      --lower-seq-hlmem                                            -   Lowers seq.hlmem operations.
      --lower-seq-to-sv                                            -   Lower sequential ops to SV.

I'd expect a merging of:

  • lower-seq-fifo, lower-seq-hlmem, lower-seq-firmem - either lowers Seq ops to other seq ops or hw ops
  • lower-seq-to-sv, lower-seq-firrtl-to-sv, lower-seq-firrtl-init-to-sv - lowers (presumably) as low-level-as-possible-seq to sv.

Somewhat also pertains to #5463 (@fabianschuiki).

Metadata

Assignees

No one assigned

    Labels

    SeqInvolving the `seq` dialect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions