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

repetitive sets of items #90

Open
drom opened this issue Sep 16, 2023 · 0 comments
Open

repetitive sets of items #90

drom opened this issue Sep 16, 2023 · 0 comments

Comments

@drom
Copy link
Member

drom commented Sep 16, 2023

way to declare a repetitive sets of items.

Example 1:

busInterfaces: [
  {
    name: 'target_${index}_ifs',
    array: 4,
    ...
  }
]

should produce 4 bus interfaces named: target_0_ifs, target_1_ifs, target_2_ifs, target_3_ifs

Example 2:

busInterfaces: [
  {
    name: 'target_${item}_ifs',
    array:  ['A', 'B', 'C'],
    ...
  }
]

should produce 3 bus interfaces named: target_A_ifs, target_B_ifs, target_C_ifs

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

1 participant