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

structured wire types #16

Open
albertchen-sifive opened this issue Mar 18, 2020 · 1 comment
Open

structured wire types #16

albertchen-sifive opened this issue Mar 18, 2020 · 1 comment
Assignees

Comments

@albertchen-sifive
Copy link
Contributor

the current schema https://github.com/sifive/duh-schema/blob/master/lib/component.js#L8-L35 only allows flat wires. It would be great if there was a way to describe struct or array wires. A schema for this would also require a schema for indexing into wires in expressions.

This would enable representing verilog structs and arrays.

@drom
Copy link
Member

drom commented Mar 19, 2020

We allow busInterface.portMaps to be an object or array
https://github.com/sifive/block-ark#group-remaining-ports-into-bundles
Will that be sufficient?

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

No branches or pull requests

2 participants