Skip to content

Provide generators more information and allow them to modify core data #359

@GCHQDeveloper560

Description

@GCHQDeveloper560

Generators are currently provided very little information, primarily their own parameters and files_root for their core. As discussed in fusesoc/fusesoc-generators#2 generators could benefit from having access to and potentially modifying much more information about the target. There appear to be several other similar issues including #250, #251, and lowRISC/opentitan#79.

Given the diverse use cases and the potential of generators to change the core data (e.g. changing toplevel for the #250 use case) it seems difficult to just add a few items to the YAML passed to the generator. Does it make sense to just present generators with the (current) full set of data being developed for passing to Edalize, or is this too much? Is there a simpler approach? Are generators being used outside FuseSoC where this close connection would be a problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions