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 associations schema #23

Open
drom opened this issue Nov 12, 2020 · 2 comments
Open

add associations schema #23

drom opened this issue Nov 12, 2020 · 2 comments

Comments

@drom
Copy link
Member

drom commented Nov 12, 2020

associations: {
  type: 'object',
  properties: {
    clock: {type: 'string'}, // clock busInterface name
    reset: {type: 'string'}  // reset busInterface name
  }
},

here: https://github.com/sifive/duh-schema/blob/master/lib/busInterface.js#L22

@mwachs5 mwachs5 changed the title add assotiations schema add associations schema Nov 12, 2020
@mwachs5
Copy link

mwachs5 commented Nov 12, 2020

can this be applied to individual wires/ports, or only for full bus types?

@drom
Copy link
Member Author

drom commented Nov 12, 2020

You can bundle one or more ports and add assotiations.

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