Open
Description
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.