Skip to content

Add processes variable to main_runner #763

Open
@cyber-murmel

Description

@cyber-murmel

It would be nice to pass processes for simulation to the main runner.
Maybe change the function signature to

def main_runner(parser, args, design, platform=None, name="top", ports=(), ports=(), processes=()):
    ...

and add to the main runner

        ...
        for process in processes:
            sim.add_sync_process(process)
        ...

This should add the functionality without breaking changes.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions