Skip to content

[feature request] Hierarchical Targets #362

Description

@Steampunkery

First let me say that I love what you guys are doing here with Bender and the PULP Platform as a whole!

One thing that I think would be really useful is allowing targets to imply or activate other targets. As an example of how this would work, consider the following mockup of a manifest:

package: mock

sources:
  - target: axi_register
    files:
      - hdl/axi_register.sv

  - target: axi_mux
      - implies_targets: axi_register
    files:
      - hdl/axi_mux.sv

...

  - target: large_ip_example
      - implies_targets: [axi_mux, axi_demux, ...]
    files:
      - hdl/large_ip_example.sv

This would be particularly useful for repositories that contain many small IPs that may be used in number of configurations, so you don't have to list the full file list for each target, or have really long any(...) target specs. It would also help prevent manual replication of file lists and manual updates when a new file is added near the bottom of the hierarchy (which would then need to be included in every file list upward in the hierarchy).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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