Kaleb Barrett

Results 630 comments of Kaleb Barrett

If you write up a test you can open a PR with the test and run it against all the simulators? Even if we have to merge it with everything...

https://github.com/cocotb/cocotb/pull/615 introduced this. It sets the program name to the path of the python executable, which is not done when Python is embedded, so that `sys.path` is populated using paths...

I think we are going to leave `First` and `Combine` the same in 2.0 and introduce something newer that works better. xref #2659. xref #3583.

You can use the following as of #3931. ```python3 trigger = await First(task1.join(), task2.join()) first_task = trigger.task # work out which one if trigger is task1.join(): ... ```

The reason I deleted my comment was that I realized I was incorrect. It was too early in the morning to respond.

With a more regular execution flow in cocotb, it is certainly possible to more gracefully end cocotb and signal the simulator to shut down.

What's the argument for a single scheduler instance and running the test runner inside the scheduler vs running the test runner and having the scheduler as a test fixture? Cleaning...