Skip to content

[SystemC] SCModuleOp::getPortsOfDirection(direction) only returns first occurence #3810

Open
@maerhart

Description

Above mentioned member function seems to only return the first port of the given direction for some reason.
There is no regression test with more than one output port, thus at least one should be added.
Observed in the hw.output lowering in HWToSystemC at 9384dcc

Metadata

Assignees

No one assigned

    Labels

    SystemCRelated to the 'systemc' dialectbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions