Skip to content

p_clk should be shareable between RMII interfaces #201

@henkmuller

Description

@henkmuller

On the dual Ethernet board we have a single p_clk pin for both PHYs.

The present interface does not cater for this

One way around this is to extract the setup code for the ports, so that the code can be invoked as follows::

on tile[0]: {
    rmii_setup(p_clk, read/write ports 0);
    rmii_setup(p_clk, read/write ports 1);
    par {
        rmii_interface(read/write ports 0);
        rmii_interface(read/write ports 1);
    }
}

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