Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add customizable standalone user port data widths #229

Merged
merged 1 commit into from Jan 30, 2021

Conversation

craigjb
Copy link
Contributor

@craigjb craigjb commented Jan 25, 2021

Adds data_width parameter in the yml configuration for user ports of types native, AXI, and Wishbone. The parameter is optional, defaulting to previous behavior.

Generation of data width converters is handled by existing functionality in crossbar.py

    "user_ports": {
        "native" : {
            "type": "native",
            "data_width": 32,
        },
        "axi" : {
            "type": "axi",
            "id_width": 3,
            "data_width": 32,
        },
        "wishbone" : {
            "type": "wishbone",
            "data_width": 32,
        }
    },

@enjoy-digital
Copy link
Owner

Thanks @craigjb, this was not yet integrated since I first wanted to do more tests on this. Have you been able to use it successfully? I would be OK merging it but maybe not using it in the examples for now until this is fully validated.

@enjoy-digital enjoy-digital merged commit 17db757 into enjoy-digital:master Jan 30, 2021
@enjoy-digital
Copy link
Owner

This has been merged but we'll wait to do more testing before integrating it in the examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants